How to change the php file location to other place?
Posted: Sat Apr 22, 2006 2:33 am
I use MySQl 5.0, PHP 5.12, Apache 2.055, Dreamweaver MX 2004, Windows XP+SP2 and use localhost to programme PHP.
I put all the php files under apache installnation directory "D:\Apache Group\Apache2\htdocs", and the project folder is Learn, so all the files are under "D:\Apache Group\Apache2\htdocs\Learn", and use Dreamweaver MX 2004 to set up the Local Server, Remote Server and Testing Server. But for Testing Server, I don't know what should I put under URL prefix? Because currently it is under "http://localhost:8080/Learn/Testing/"
Just wonder how do I change the php.ini or httpd.conf to let me change the php file location to other places?
I heard from my friend, something like VirtualHost is the place I need to modify.
Thank you.
I put all the php files under apache installnation directory "D:\Apache Group\Apache2\htdocs", and the project folder is Learn, so all the files are under "D:\Apache Group\Apache2\htdocs\Learn", and use Dreamweaver MX 2004 to set up the Local Server, Remote Server and Testing Server. But for Testing Server, I don't know what should I put under URL prefix? Because currently it is under "http://localhost:8080/Learn/Testing/"
Just wonder how do I change the php.ini or httpd.conf to let me change the php file location to other places?
I heard from my friend, something like VirtualHost is the place I need to modify.
Thank you.