We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
Multi PHP 500 Error
Multi PHP 500 Error
Hi Everyone
I encounter a 500 Internal server error whilest setting another php version.
Here is what i did I followed this tutorial viewtopic.php?t=17129
I can see the multiple php version in my server templates, but when i change or create a new domain with another php version i get a 500 internal server error.
I updated my system retsarted mysql, nginx and apache aswell rebooted my system.
Still not solved, so i found this post and try'd it viewtopic.php?t=15523
EVERYTHING WORKS FINE WHEN I USE THE DEFAULT PHP, wordpress telling me to upgrade php
My Config and grep is this,
root@vmi500767:~# apachectl configtest
Syntax OK
root@vmi500767:~# netstat -tulpn | grep apache
tcp 0 0 207.180.221.82:8080 0.0.0.0:* LISTEN 1008/apache2
tcp 0 0 161.97.125.156:8080 0.0.0.0:* LISTEN 1008/apache2
tcp 0 0 127.0.0.1:8081 0.0.0.0:* LISTEN 1008/apache2
tcp 0 0 207.180.221.82:8443 0.0.0.0:* LISTEN 1008/apache2
tcp 0 0 161.97.125.156:8443 0.0.0.0:* LISTEN 1008/apache2
root@vmi500767:~# netstat -tulpn | grep nginx
tcp 0 0 207.180.221.82:80 0.0.0.0:* LISTEN 2320/nginx: master
tcp 0 0 161.97.125.156:80 0.0.0.0:* LISTEN 2320/nginx: master
tcp 0 0 0.0.0.0:8083 0.0.0.0:* LISTEN 863/nginx: master p
tcp 0 0 127.0.0.1:8084 0.0.0.0:* LISTEN 2320/nginx: master
tcp 0 0 161.97.125.156:443 0.0.0.0:* LISTEN 2320/nginx: master
root@vmi500767:~#
Can someone please help me out to get multiphp working as i will be running several webscripts and each need different php
Thanks
I encounter a 500 Internal server error whilest setting another php version.
Here is what i did I followed this tutorial viewtopic.php?t=17129
I can see the multiple php version in my server templates, but when i change or create a new domain with another php version i get a 500 internal server error.
I updated my system retsarted mysql, nginx and apache aswell rebooted my system.
Still not solved, so i found this post and try'd it viewtopic.php?t=15523
EVERYTHING WORKS FINE WHEN I USE THE DEFAULT PHP, wordpress telling me to upgrade php
My Config and grep is this,
root@vmi500767:~# apachectl configtest
Syntax OK
root@vmi500767:~# netstat -tulpn | grep apache
tcp 0 0 207.180.221.82:8080 0.0.0.0:* LISTEN 1008/apache2
tcp 0 0 161.97.125.156:8080 0.0.0.0:* LISTEN 1008/apache2
tcp 0 0 127.0.0.1:8081 0.0.0.0:* LISTEN 1008/apache2
tcp 0 0 207.180.221.82:8443 0.0.0.0:* LISTEN 1008/apache2
tcp 0 0 161.97.125.156:8443 0.0.0.0:* LISTEN 1008/apache2
root@vmi500767:~# netstat -tulpn | grep nginx
tcp 0 0 207.180.221.82:80 0.0.0.0:* LISTEN 2320/nginx: master
tcp 0 0 161.97.125.156:80 0.0.0.0:* LISTEN 2320/nginx: master
tcp 0 0 0.0.0.0:8083 0.0.0.0:* LISTEN 863/nginx: master p
tcp 0 0 127.0.0.1:8084 0.0.0.0:* LISTEN 2320/nginx: master
tcp 0 0 161.97.125.156:443 0.0.0.0:* LISTEN 2320/nginx: master
root@vmi500767:~#
Can someone please help me out to get multiphp working as i will be running several webscripts and each need different php
Thanks
-
- Support team
- Posts: 1111
- Joined: Tue Jul 30, 2013 10:18 pm
- Contact:
- Os: CentOS 6x
- Web: nginx + php-fpm
Re: Multi PHP 500 Error
See logs.
Re: Multi PHP 500 Error
Hi GrayFolk
thanks fro your reply. I did see my log for the domain. this is the log output
[Mon Jan 25 08:45:57.091355 2021] [proxy:error] [pid 20520] (2)No such file or directory: AH02454: FCGI: attempt to connect to Unix domain socket /run/php/php7.4-fpm-johnsnels.com.sock (*)$
[Mon Jan 25 08:45:57.112324 2021] [proxy_fcgi:error] [pid 20520] [client 128.78.228.243:56920] AH01079: failed to make connection to backend: httpd-UDS, referer: https://www.johnsnels.com/$
[Mon Jan 25 08:45:58.530484 2021] [proxy:error] [pid 20518] (2)No such file or directory: AH02454: FCGI: attempt to connect to Unix domain socket /run/php/php7.4-fpm-johnsnels.com.sock (*)$
[Mon Jan 25 08:45:58.530534 2021] [proxy_fcgi:error] [pid 20518] [client 128.78.228.243:56926] AH01079: failed to make connection to backend: httpd-UDS, referer: https://www.johnsnels.com/$
but what does it means....????
My php -v output is
php -v
PHP 7.4.14 (cli) (built: Jan 12 2021 14:00:40) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
with Zend OPcache v7.4.14, Copyright (c), by Zend Technologies
root@vmi500767:~# ps aux | grep php*
root 958 0.0 0.0 167624 10016 ? Ss Jan22 0:08 php-fpm: master process (/usr/local/vesta/php/etc/php-fpm.conf)
admin 959 0.0 0.0 168496 13276 ? S Jan22 0:03 php-fpm: pool www
admin 960 0.0 0.0 168484 13092 ? S Jan22 0:02 php-fpm: pool www
root 24224 0.0 0.0 12776 924 pts/0 S+ 09:01 0:00 grep php*
thanks fro your reply. I did see my log for the domain. this is the log output
[Mon Jan 25 08:45:57.091355 2021] [proxy:error] [pid 20520] (2)No such file or directory: AH02454: FCGI: attempt to connect to Unix domain socket /run/php/php7.4-fpm-johnsnels.com.sock (*)$
[Mon Jan 25 08:45:57.112324 2021] [proxy_fcgi:error] [pid 20520] [client 128.78.228.243:56920] AH01079: failed to make connection to backend: httpd-UDS, referer: https://www.johnsnels.com/$
[Mon Jan 25 08:45:58.530484 2021] [proxy:error] [pid 20518] (2)No such file or directory: AH02454: FCGI: attempt to connect to Unix domain socket /run/php/php7.4-fpm-johnsnels.com.sock (*)$
[Mon Jan 25 08:45:58.530534 2021] [proxy_fcgi:error] [pid 20518] [client 128.78.228.243:56926] AH01079: failed to make connection to backend: httpd-UDS, referer: https://www.johnsnels.com/$
but what does it means....????
My php -v output is
php -v
PHP 7.4.14 (cli) (built: Jan 12 2021 14:00:40) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
with Zend OPcache v7.4.14, Copyright (c), by Zend Technologies
root@vmi500767:~# ps aux | grep php*
root 958 0.0 0.0 167624 10016 ? Ss Jan22 0:08 php-fpm: master process (/usr/local/vesta/php/etc/php-fpm.conf)
admin 959 0.0 0.0 168496 13276 ? S Jan22 0:03 php-fpm: pool www
admin 960 0.0 0.0 168484 13092 ? S Jan22 0:02 php-fpm: pool www
root 24224 0.0 0.0 12776 924 pts/0 S+ 09:01 0:00 grep php*