Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

Thanks!

like image 934
Rees Avatar asked Apr 25 '13 11:04

Rees


1 Answers

You need to

service apache2 reload

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

like image 52
chandresh_cool Avatar answered Oct 18 '22 01:10

chandresh_cool