You are not logged in.
Hi
Now I have to save my files in /srv/http directory if I wanna display page. I would like change this directory to /home/rlk120/php/. Changed line
open_basedir=/srv/http/:/home/:/tmp/:/usr/share/pear/:/path/to/documentroot didn't result.
Any ideas how to do it?
Last edited by xorgx3 (2012-06-02 13:26:31)
Offline
That only tells php what to do. You still have to setup apache (or whatever you are using) to use the new document root. Or set up a new virtualhost for that purpose. BTW since /home is already in open_basedir you need not change that line.
Offline
BTW since /home is already in open_basedir you need not change that line.
Hmmm - OOTH I think that '/home/' means that it is not recursive. If you want to allow PHP to have acces to /home/ recursively (I would not recommend this), then you should use '/home' without the trailing slash.
As the above post suggests: edit the configfile for your virtualhost-app (or subfolder-app), move the files and double check the permissions.
Zl.
Offline