Remove older versions of PHP

Started by wsmith13045, December 24, 2019, 04:27:45 PM

Previous topic - Next topic

wsmith13045

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?

ejsolutions

Try /usr/local/php

Also what does "php -v" from a command line show, compared to a <?php phpinfo(); ?>?

Igor S.

Quote from: 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?

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



You can ask me to solve any problem with your server for some money in pm  ;)






Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor


Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp

Installation Instructions
http://centos-webpanel.com/installation-instructions

Get Fast Support Here
http://centos-webpanel.com/support-services