I am trying to enable shorthand in PHP by setting this:
short_open_tag = 1
Then do:
service httpd reload
however, the changes do not take effect. Do I need to do an "apache2 reload service" instead? or does "service httpd reload" usually work to load new php.ini settings?
Thanks!
You need
service apache2 reload
as php.ini settings changes require apache / nginx or any other server to reboot
depends on distribution
Fedora-based "service httpd restart" Debian-based "restart apache2 service"
Not sure if on another distribution
Using CentOS and Apache 2.4, you can use the following command to reload apache configuration, including php.ini
apachectl graceful