Discussion: open_basedir problem
Afficher un message
Vieux 27/03/2008, 20h35   #3
rdlowrey
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: open_basedir problem

> And where did the "no value" come from? If that's in the line, then PHP
> may be taking the last directory as "/tmp no value".


Foiled by text formatting. Let me clarify ... the master value in my
phpinfo is empty so that when i call phpinfo() in a browser it just
shows "no value" in the master column. I've also tried and currently
have the master value for open_basedir as:

/var/www/vhosts/mysite.com:/tmp

BECAUSE ...
I've got files in subdomain A (/var/www/vhosts/mysite.com/subdomains/
intranet/httpdocs)

And I need to access these with a file_exists() from pages in
subdomain B (/var/www/vhosts/mysite.com/subdomains/clients/httpdocs)

SO ... /var/www/vhosts/mysite.com:/tmp should allow me to access
file_exists() calls between the two subdomains, right?


> How did you change it with SSH? And after changing it, did you
> stop/restart Apache?


I changed the open_basedir value in my php.ini file from the shell:
vi /etc/php.ini
Yes, I restarted apache.

  Réponse avec citation
 
Page generated in 0,04594 seconds with 9 queries