Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Sep 2010
    Location
    The Twilight Zone
    Posts
    86
    Thanks
    17
    Thanked 2 Times in 2 Posts

    Saving PHP file to apache root

    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!

  • #2
    Super Moderator Inigoesdr's Avatar
    Join Date
    Mar 2007
    Location
    Florida, USA
    Posts
    3,642
    Thanks
    2
    Thanked 405 Times in 397 Posts
    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.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •