Control Web Panel
WebPanel => PHP => Topic started by: wsmith13045 on December 24, 2019, 04:27:45 PM
-
So I have a issue that when I scan my webserver running CWP7 with a security compliance software it claims I have unsupported versions of php installed. I am currently running PHP 7.3.13 but the scanner shows 7.0.32. I assume its because its there an can be configured but how do I remove it?
I came across a post that said to delete the folders from /opt folder but I have nothing there. It was an older post and I assume that the location has changed but I haven't been able to locate the files.
What do I need to do to get these older versions removed?
-
Try /usr/local/php
Also what does "php -v" from a command line show, compared to a <?php phpinfo(); ?>
?
-
So I have a issue that when I scan my webserver running CWP7 with a security compliance software it claims I have unsupported versions of php installed. I am currently running PHP 7.3.13 but the scanner shows 7.0.32. I assume its because its there an can be configured but how do I remove it?
I came across a post that said to delete the folders from /opt folder but I have nothing there. It was an older post and I assume that the location has changed but I haven't been able to locate the files.
What do I need to do to get these older versions removed?
Hi, check what PHP version you have set in WebServer Settings => WebServer Main conf (or WebServer Domain conf). Probably for the website you have set the PHP 7.0 or PHP-FPM 7.0