Control Web Panel

WebPanel => PHP => Topic started by: n8v8r on January 29, 2018, 05:02:48 PM

Title: suphp removal script
Post by: n8v8r on January 29, 2018, 05:02:48 PM
Suppose suphp is no longer required once php=fpm is installed and since suphp is not a yum package it presumably got installed by CWP as a script. Thus the request for script to safely remove suphp from the system.
Title: Re: suphp removal script
Post by: bullten on January 29, 2018, 10:31:46 PM
mv /usr/local/apache/conf.d/suphp.conf /usr/local/apache/conf/suphp.conf
server httpd restart
Title: Re: suphp removal script
Post by: n8v8r on January 30, 2018, 05:48:14 AM
Hmm, could thus have caused some issue with the port httpd is listening on? With Nginx listening on 80/443 the httpd is set to listen on 8181, both specified in /usr/local/apache/conf.d/vhosts.conf and /usr/local/apache/conf/httpd.conf.

Yet it would not start with this error

Quote
(98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:80
Title: Re: suphp removal script
Post by: bullten on January 30, 2018, 05:14:44 PM
No this would never effect.