Comments on: Enable PHP short tags on nginx and apache https://nabtron.com/enable-php-short-tags-on-nginx-and-apache/ Technology & Programming Guide Thu, 01 Dec 2016 12:40:28 +0000 hourly 1 https://wordpress.org/?v=6.7.1 By: Nabtron https://nabtron.com/enable-php-short-tags-on-nginx-and-apache/#comment-19713 Thu, 01 Dec 2016 12:37:27 +0000 http://nabtron.com/?p=8491#comment-19713 In reply to Hari KT.

Thanks for updating. Yes probably we have to mention the version of the php we’re using too in the command.

]]>
By: Nabtron https://nabtron.com/enable-php-short-tags-on-nginx-and-apache/#comment-19712 Thu, 01 Dec 2016 12:36:30 +0000 http://nabtron.com/?p=8491#comment-19712 In reply to Luke West.

Thanks for updating Luke! I hope this really helps anyone else who’s unable to restart php-fpm via the above command as they’re using some specific version of it!

]]>
By: Luke West https://nabtron.com/enable-php-short-tags-on-nginx-and-apache/#comment-19707 Tue, 29 Nov 2016 16:54:17 +0000 http://nabtron.com/?p=8491#comment-19707 If you’re running php 7.0 and getting “php-fpm: unrecognized service”

Try running:

service php7.0-fpm restart

instead.

Had my stumped for a minute or so.

]]>
By: Hari KT https://nabtron.com/enable-php-short-tags-on-nginx-and-apache/#comment-19457 Sun, 12 Jun 2016 05:27:45 +0000 http://nabtron.com/?p=8491#comment-19457 In ubuntu 15.10 + I noticed it is `sudo service php5-fpm restart` .

Thank you.

]]>