SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Wizard holmescreek's Avatar
    Join Date
    Mar 2001
    Location
    Northwest Florida
    Posts
    1,707
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I'm developing under Apache/MySql under Win2k. In my php library scripts that I write I do my include paths like :

    /apache/phplib/whatever.php.

    After I upload my scripts to my hosting services server, I have to kill the /apache. Does someone know a way to modify apache so on my system I can drop the /apache rather than having to change it before uploading to the hosting server or installing apache in the root dir on my windows machine?


    just curious

    thanks!

  2. #2
    SitePoint Wizard
    Join Date
    Mar 2001
    Posts
    3,537
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi,

    When you install apache you can set your document root to whatever you want. Mine is d:\phpscripts2. The installation process will automatically include that path in some spots in php.ini or httpd.conf. Then, you have to make sure you enter that path in the appropriate places as indicated in the installation instructions.


Bookmarks

Posting Permissions

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