Author Topic: Remove older versions of PHP  (Read 4402 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Remove older versions of PHP
« 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?

Re: Remove older versions of PHP
« Reply #1 on: December 24, 2019, 06:17:45 PM »
Try /usr/local/php

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

Offline
*****
Re: Remove older versions of PHP
« Reply #2 on: December 25, 2019, 06:25:38 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