Jump to content

change dir for php -forgot


jagguy

Recommended Posts

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
Share on other sites

 

 

 

 

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
Share on other sites

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
Share on other sites

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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.