Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
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.

Re: php.ini

J Huntley Palmer wrote:
Quoted text here. Click to load it

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.

Site Timeline