Posted by J.O. Aho on 10/13/48 11:37
Mike Wasilewski wrote:
> I have a virtual dedicated server on godaddy and am having trouble with the
> incude_path and open_basedir errors in php.
>
> The phpinfo() reports that it is using /etc/php.ini which has both the
> include_path and open_basedir commented out.
>
> the values that show in phpinfo() are .:/usr/share/pear and
> /home/httpd/vhosts/hostname/httpdocs:/tmp
> how can I tell where these values are being loaded from so that I can change
> them. is there a single file that can be changed to apply to all vhosts?
The path '/home/httpd/vhosts/hostname/httpdocs' comes from the webserver and
can be changed in the vhosts configurations 'DocumentRoot' option.
There are usually different php.ini depending on if it's php run from
webserver or from cli and I think you have been modifying the one for the cli.
You may have /etc/php/apache-php/php.ini or /etc/apache/conf/php.ini, much
depends on what os/distro you are using.
//Aho
[Back to original message]
|