I installed the apm on my Linux (Centos7) and i think i installed the php again with yum.
I have two php.ini file in the paths below.
/usr/loacal/php/bin/php.ini (v5.3)
/etc/php.ini (v5.4)
php -v
PHP 5.4.16 (cli) (built: Jun 23 2015 21:17:27)
/usr/local/php/bin/php -v
PHP 5.3.27 (cli) (built: Mar 3 2016 11:17:12)
I have two versions of php on one server right now.
rpm -qa | grep php
php-pdo-5.4.16-36.el7_1.x86_64
php-tcpdf-6.2.11-1.el7.noarch
php-tidy-5.4.16-3.el7.x86_64
php-xml-5.4.16-36.el7_1.x86_64
php-mbstring-5.4.16-36.el7_1.x86_64
php-cli-5.4.16-36.el7_1.x86_64
php-php-gettext-1.0.11-12.el7.noarch
php-bcmath-5.4.16-36.el7_1.x86_64
php-gd-5.4.16-36.el7_1.x86_64
php-process-5.4.16-36.el7_1.x86_64
php-common-5.4.16-36.el7_1.x86_64
php-mysql-5.4.16-36.el7_1.x86_64
php-tcpdf-dejavu-sans-fonts-6.2.11-1.el7.noarch
I think this all files are installed with php(v5.4) I can I remove these?
Can i just use the yum command again like below?
yum remove php
I'm so afraid that something happens when i do that. Please let me know how to deal with this situation... Thanks