setup for localhost web (PHP) development

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

I'm interested what would be recommended way to configure my desktop
machine as localhost for web (PHP) development?

I've few entries like:

127.0.0.1 foo.local bar.local

in my /etc/hosts in order to be able to access development sites via
aliases, e.g. http://foo.local/

Moreover, I'd like to work on the sites under my regular user account
using my uid/gid and keep the development under VCS.

I admit I'm not overly familiar with Apache2 setup and certainly not on
Fedora (on Debian it is configured a bit different) to which I recently
migrated.

As a temporary workaround to make it somehow work I configured Apache to
run under my uid/gid, put my foo/bar sites under /var/www/html as
VirtualHosts, chown-ed them as uid/gid and chmod-ed to 775.

Finally, I symlinked them to ~/prj/www/{foo,bar}...

I have feeling it's pretty ugly setup, so I'm humbly looking for some
improvement tips how to configure Apache+PHP for working on several
web sites on localhost machine?


Sincerely,
Gour

-- 
Thus the wise living entity's pure consciousness becomes covered by
his eternal enemy in the form of lust, which is never satisfied and
which burns like fire.

_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]
  Powered by Linux