Page 1 of 1

Any Idea how to fix this!

Posted: Tue Jun 28, 2016 12:27 pm
by Madcoe
Im using Ubuntu 14.04.2 LTS (GNU/Linux 3.13.0-48-generic x86_64)

I installed VESTACP without problems but when I try to start VESTA service I am getting an error :

Code: Select all

root@52:/usr/local/vesta/php/sbin# service vesta restart
 * Restarting vesta-nginx vesta-nginx                                                                                                        [ OK ]
 * Restarting vesta-php vesta-php                                                                                                                   PHP:  syntax error, unexpected $end, expecting TC_DOLLAR_CURLY or TC_QUOTED_STRING or '"' in Unknown on line 2
[28-Jun-2016 12:20:56] ERROR: failed to load configuration file '/usr/local/vesta/php/etc/php-fpm.conf'
[28-Jun-2016 12:20:56] ERROR: FPM initialization failed
Do you have any idea how to handle this issue.

Thanks for help.

Re: Any Idea how to fix this!

Posted: Tue Jun 28, 2016 1:12 pm
by imperio

Code: Select all

sed -i 's/sessions"/sessions/g' /usr/local/vesta/php/etc/php-fpm.conf
service vesta restart

Re: Any Idea how to fix this!

Posted: Tue Jun 28, 2016 1:25 pm
by Madcoe
Worked perfectly.

Thanks a lot.

Re: Any Idea how to fix this!

Posted: Tue Jun 28, 2016 2:02 pm
by skurudo
It's fixed for newer updates: debian/ubuntu
CentOS works just fine.