I have virtualmin installed with centos7
Somehow I installed php version 5.6.25 and php 5.6.30. Some extensions where installed for 5.6.25 yet some other apps needed 5.6.30. I was getting frustrated and finally found a way to properly remove php 5.6.25, so I could install the needed extensions for 5.6.30 and stop getting confused.
I believe I screwed something up after removing 5.6.25 because in the virtualmin, one of my sites for php versions was pointed to 5.6.25 that is no longer in the system. now I have sites (from what I can recall) that were on php 5.6.30 and working fine, but one site that was pointed to 5.6.25 has internet server error.
error log in the virtual server container says:
[Wed Jul 05 15:28:41.227442 2017] [fcgid:warn] [pid 3476] (104)Connection reset by peer: [client 184.108.40.206:43049] mod_fcgid: error reading data from FastCGI server
[Wed Jul 05 15:28:41.227486 2017] [core:error] [pid 3476] [client 220.127.116.11:43049] End of script output before headers: info.php
error log in /var/log/error says:
php5.6.fcgi: line 10: /opt/rh/rh-php56/root/usr/bin/php-cgi: No such file or directory
I’m thinking this is just a matter of linking this site to the other verions of php 5.6.30 that is installed. But I don’t know how or where I could do that?