Posted by Jerry Stuckle on 11/10/79 11:45
J Huntley Palmer wrote:
> My ISP runs php cli version as a cgi process in apache. So php.ini lives
> in my web directory and php cli is called for all accesses. This also
> allows people to d/l the php.ini.
>
> Also when php is run as a mod in apache it works well for the most part.
> Sometimes the mod will not process the php file or simply crashes
> because of a bug and the user is allowed to download the php source file
> to his desktop.. Ouch.
>
> How can both problems be solved? In both cases Apache and *nix are used.
Run PHP as a mod and keep the php.ini file in your /etc.
I haven't had problems with it not loading php.ini if it's in the correct place.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
Navigation:
[Reply to this message]
|