Control Web Panel

WebPanel => CentOS 7 Problems => Topic started by: bowes on January 01, 2020, 09:47:01 PM

Title: "/opt/alt/php72/usr/bin/php-cgi" failed: No such file or directory
Post by: bowes on January 01, 2020, 09:47:01 PM
Hi, I'm new to Web Control Panel.

Two clean installs and I can't this solved. I keep getting 500 errors and this is what I'm seeing in the apache error log:

"/opt/alt/php72/usr/bin/php-cgi" failed: No such file or directory

During the install, I noticed an error about something in /opt not existing but it flies by so quickly it's hard to catch the exact error. Post-install, the /opt directory is indeed empty.

Any ideas?

Thanks
Title: Re: "/opt/alt/php72/usr/bin/php-cgi" failed: No such file or directory
Post by: Igor S. on January 10, 2020, 01:02:26 PM
You need to have CWPpro and install PHP 7.2 via PHP Selector or delete the line from your .htaccess
Title: Re: "/opt/alt/php72/usr/bin/php-cgi" failed: No such file or directory
Post by: bowes on January 11, 2020, 01:23:47 AM
Thank you Igor. Once I upgraded to Pro and set up the PHP switcher, the problem went away. Much appreciated.
Title: Re: "/opt/alt/php72/usr/bin/php-cgi" failed: No such file or directory
Post by: Igor S. on January 12, 2020, 10:41:29 AM
You are welcome.