Closed FDiskas closed 5 years ago
Is centos 6 ?
In what php version get error ?
This error happens in all versions. CentOS release 6.10 works only on PHP Version 5.5.28
Can you try change version to some web and check if fcgi-starter was create and what have inside ?
/home/admin/web/DOMAIN.COM/cgi-bin/fcgi-starter
Should look like this:
#!/bin/sh
PHPRC=/usr/local/lib
export PHPRC
export PHP_FCGI_MAX_REQUESTS=500
export PHP_FCGI_CHILDREN=10
exec /usr/bin/php73-cgi
Also check if template for example sk-php73 is in httpd dir and have conntent
/usr/local/vesta/data/templates/web/httpd/
sk-php73.sh check if this isnt empty sk-php73.stpl this is a symlink sk-php73.tpl this is a symlink
Of course you can try with any orther version.
Also check if from your server you can download templates:
http://mirror.skamasle.com/vestacp/PHP/sk-php70-centos.sh
I forget upload it to github so maybe you expect some conection problem if *.sh is empty in your server.
This template works: http://c.vestacp.com/0.9.8/rhel/templates/web/httpd/phpcgi.tpl
All your provided templates are not empty
I reinstalled vesta and tried again. This time I got error starting httpd
Invalid command 'php_admin_value', perhaps misspelled or defined by a module not included in the server configuration
I commented out all thous php_admin_value in all templates and the result is the same
Connection reset by peer: mod_fcgid: error reading data from FastCGI server
:shipit:
Compleatly wiped out server, installed centos 7 and vesta. And before everything else installed your beta 0.4 version, then restored users from backup and everything works. Changing php version also works. Thanks for the script :baggage_claim:
All websites shows
Logs:
httpd -V
rpm httpd -V