The most of these settings can be restricted to specific VirtualHosts. For details see http://www.php.net/manual/en/ini.list.php and http://php.net/manual/en/configuration.changes.modes.php.
You don’t need to reload lighty, you need to reload php-cgi or php-fpm.
When you reload Lighttpd it reload php-fastcgi too.
@vivek, do you personally use ‘vi’ to edit files ???? vi sucks. vim rocks.
BTW, isn’t this very basic ? Somebody who reads the manual well b4 setup, knows this. But its funny that there are ppl who don’t do that LOL.
@others, you may also be interested in this –Apache2, PHP, mod_fastcgi and SuExec
@Nilesh: vi is aliased to vim. On production server I do not install vim and just use whatever is shipped with distro. Less is better :)
@vivek, vi is ok for editing simple config files. but its WORST for editing config files like those of apache. vi cannot highlight whereas vim can.
vi is not always symlinked to vim. in my system (Arch) its linked to ex. and it sucks to core. I’ve removed it, and set $EDITOR globally to vim. even on my VPS I use vim instead of vi. :)
BTW, where’s the global comment feed ?
Leave a Comment
Next FAQ: Iptables Limits Connections Per IP
Previous FAQ: Unix / Linux: Save Output To File
Get nixCraft in your inbox. It’s free: