Page 21 of 21

Re: VestaCP PHP Selector for Centos add php 7, 5.6 and 5.5.

Posted: Tue May 29, 2018 9:06 pm
by altayevrim
PHP codes not running. Including the phpinfo();

Firstly I used your codes. But then after, I realized that I couldn't install php 7.1 so I installed them from the github version.

Re: VestaCP PHP Selector for Centos add php 7, 5.6 and 5.5.

Posted: Mon Jun 04, 2018 9:46 pm
by altayevrim
Hi,

Still I have problems. I installed a fresh VestaCP too. I am using CentOS 7 and I can't use any php version that installed with this system.
The error is;

Code: Select all

[Mon Jun 04 21:24:57.183939 2018] [fcgid:warn] [pid 9390] (104)Connection reset by peer: [client xxxxx] mod_fcgid: error reading data from FastCGI server
[Mon Jun 04 21:24:57.184021 2018] [core:error] [pid 9390] [client xxxxx] End of script output before headers: info.php
[Mon Jun 04 21:33:53.821619 2018] [fcgid:warn] [pid 3981] (104)Connection reset by peer: [client xxxxx] mod_fcgid: error reading data from FastCGI server
[Mon Jun 04 21:33:53.822071 2018] [core:error] [pid 3981] [client xxxxx] End of script output before headers: info.php
I tried to change the fcgid.conf file to fix the issue but still the same.

Code: Select all

# This is the Apache server configuration file for providing FastCGI support
# through mod_fcgid
#
# Documentation is available at
# http://httpd.apache.org/mod_fcgid/mod/mod_fcgid.html

# Use FastCGI to process .fcg .fcgi & .fpl scripts
AddHandler fcgid-script fcg fcgi fpl

FcgidIdleTimeout 40
FcgidProcessLifeTime 30
FcgidMaxProcesses 20
FcgidMaxProcessesPerClass 8
FcgidMinProcessesPerClass 0
FcgidConnectTimeout 30
FcgidIOTimeout 3800
FcgidBusyTimeout 3600
FcgidIdleScanInterval 10

# Sane place to put sockets and shared memory file
FcgidIPCDir /run/mod_fcgid
FcgidProcessTableFile /run/mod_fcgid/fcgid_shm
I can't run any php code.

Code: Select all

<?php phpinfo();
too.

Re: VestaCP PHP Selector for Centos add php 7, 5.6 and 5.5.

Posted: Fri Jun 15, 2018 6:34 pm
by dpeca
This post is not related with this script.
I just want to inform people that I made a tutorial for PHP-switcher for Debian9.
viewtopic.php?f=41&t=17129

Re: VestaCP PHP Selector for Centos add php 7, 5.6 and 5.5.

Posted: Mon Sep 10, 2018 10:34 am
by Kumigy
Hello.
I've successfully installed this script.
I've changed web template to sk-php70.
Try to open http://site.ru/phpinfo.php and nothing (white screen).
/home/admin/web/site.ru/logs/site.ru.error.log - empty

Any ideas?

CentOS 7