Re: Re: how to load extensions outside the extension_dir
| From: | Jasper Howard | Date: | Tue, 14 Sep 2004 20:06:40 +0000 |
| Subject: | Re: Re: how to load extensions outside the extension_dir | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-196656@lists.php.net to get a copy of this message | ||
when I did this in a shared hosting environment, I looked at phpinfo()
running on the server in question, then changed all values in my new php.ini
to be the same as the one on the server. You get most of what you need
changed by doing that. Plus its almost always a standard install with shared
hosting services (in my experience) so its hard to really mess up.
--
-------------------------------------------------------------->>
Jasper Howard :: Database Administration
ApexEleven Web Design
1.530.559.0107
http://www.ApexEleven.com/
<<--------------------------------------------------------------
"Marten Lehmann" <lehmann@cnm.de> wrote in message
news:4144A3C2.2080405@cnm.de...
> Hello,
>
> > You can't,
> > It's a security thing.
>
> this doesn't make sense. When PHP is running as CGI, everyone can put
> it's own php.ini in the same directory as the PHP-script. This will
> overwrite all settings of the main php.ini. This works as described, but
> I don't want to put my own php.ini for that, because changes in the
> master php.ini will not affect my local one, and the changes in the
> master file might be important.
>
> Regards
> Marten