Re: reload or restart for php.ini changes to take effect?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, December 21, 2006 10:46 am, Bing Du wrote:
> Apache/2.0.52
> PHP Version 4.3.9
>
> I changed safe_mode and safe_mode_exec_dir in my php.ini.  To make the
> changes take effect, should I reload or restart httpd?

Yes.

php.ini is read at startup when PHP is loaded as a Module.

For CGI, php.ini is read on each page hit, as well as all of PHP
getting loaded in.

I presume php.ini is read only once at the startup of FCGI, but am not
100% sure on that one.

You also want to check <?php phpinfo();?> to be certain your changes
have taken effect.

-- 
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some starving artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux