Rees Rees - 9 months ago 40
Apache Configuration Question

will "service httpd reload" reload new php.ini settings?

I'm trying to enable shorthand in PHP via setting this:

short_open_tag = 1

I then execute:

service httpd reload

however the changes do not take effect. do I need to do "service apache2 reload" instead? or does "service httpd reload" normally work to load new php.ini settings?


Answer Source

You need to

service apache2 reload

as php.ini settings changes require apache/nginx or whatever server to be reloaded