View Full Version : Saving PHP file to apache root

03-11-2011, 02:35 AM
Hey Everyone,

I installed apache2 on my linux OS, as well as PHP5. I am using komodo edit as my text editor. Now if I write a php file using komodo, how do I save it so that I can run the PHP script on my browser?

Thanks so much!

03-11-2011, 04:00 PM
Usually the path is /var/www or /var/www/html, but you can find out for sure by checking the DocumentRoot directive in the httpd.conf file.