I installed using -wpfc
and everything was ok until I transferred files (uploads and themes).
Nginx stopped and the log returned: FastCGI sent in stderr: "PHP message: PHP Parse error: syntax error, unexpected end of file in (...)
the header.php
file of my site's folder.
After some research, I realized that it can be because of tags like <?php } ?>
, so I just have to turn short_open_tag = O
in my php.ini file, that is located in /etc/php/5.6/fpm/php.ini
.
I did it, but just restarting nginx do not updated the file, so I tried to restart php-fpm
... without success.
I tried everything, even service php5-fpm reload
(found in EasyEngine docs). I always receive 'php-fpm: unrecognized service '.
Ps: wp-admin is fine, just the website (that uses the theme) is not woking.