jagguy Posted June 11, 2013 Share Posted June 11, 2013 Hi, I have installed easyPHP and it works fine on win7 I want to run php files from another folder other than the default. I NEED to know how I run php files from folder e:/webdesign/myfolder . Currently easyPHP set this folder to run php files from e:/program files/easyPHP/www What settings/files to I edit or change to achieve this. I have looked everywhere and I cant find the answer. I confused on what settings or files to change. Link to comment https://forums.phpfreaks.com/topic/279035-change-dir-for-php-forgot/ Share on other sites More sharing options...
DaveyK Posted June 11, 2013 Share Posted June 11, 2013 http://bit.ly/13xJUNS Link to comment https://forums.phpfreaks.com/topic/279035-change-dir-for-php-forgot/#findComment-1435348 Share on other sites More sharing options...
jagguy Posted June 11, 2013 Author Share Posted June 11, 2013 There is no VirtualHost document root uncommented in this file so what do I do here? DocumentRoot "D:/code" (...) # DocumentRootDirectory <Directory "D:\code"> Options Indexes FollowSymLinks AllowOverride All Order allow,deny Allow from all </Directory> (...) NameVirtualHost 127.0.0.1 <VirtualHost 127.0.0.1> DocumentRoot "D:/code/" ServerName localhost </VirtualHost> Link to comment https://forums.phpfreaks.com/topic/279035-change-dir-for-php-forgot/#findComment-1435358 Share on other sites More sharing options...
DaveyK Posted June 11, 2013 Share Posted June 11, 2013 Are you sure you are looking at the correct file? Its called httpd.conf. Also, even tho that exact string may not be in there, you should be creative enough to search if the current root location is in there and you should know what to do from there. Link to comment https://forums.phpfreaks.com/topic/279035-change-dir-for-php-forgot/#findComment-1435363 Share on other sites More sharing options...
jagguy Posted June 11, 2013 Author Share Posted June 11, 2013 Yes I am in the correct file but I dont see this as recommnded from the post NameVirtualHost 127.0.0.1 <VirtualHost 127.0.0.1> DocumentRoot "D:/code/" ServerName localhost </VirtualHost> I dont get creative about settings BTW Link to comment https://forums.phpfreaks.com/topic/279035-change-dir-for-php-forgot/#findComment-1435439 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.