System information
Operating system CentOS Linux 6.7
Kernel and CPU Linux 2.6.32-042stab108.1 on x86_64
yum repolist enabled
only ones i added manually
- base - CentOS-6 -
- Base epel - Extra Packages for Enterprise Linux 6 - x86_64
- extras - CentOS-6 - Extras
- ius - IUS Community Packages for Enterprise Linux 6 - x86_64
- mod-pagespeed - mod-pagespeed
- remi-safe - Safe Remi's RPM repository for Enterprise Linux 6 - x86_64
- rhscl-php55-epel-6-x86_64 - PHP 5.5.21 -
- epel-6-x86_64 updates - CentOS-6 - Updates
- virtualmin - RHEL/CentOS/Scientific 6 - x86_64 -
- Virtualmin virtualmin-universal - Virtualmin Distribution Neutral
- Packages vz-base - vz-base vz-updates - vz-updates
available installed versions
- /usr/bin/php 5.3.3
- /usr/bin/php55 5.5.30
i tried the following (using virtualmin)
- enabled 5.5.30 for a specific directory and that didn't worked out got this error from virtualmin This virtual server is using the mod_php execution mode for PHP, such does not allow per-directory version selection.
- enabled the directory specific version
home/<domain>/domains/<subdomain>.<domain>.com/public_html/public
, andphpinfo(); returns 5.3.3 version
- tried
yum replace php-common --replace-with=php55-php-common
got too many packages inWARNING: Unable to resolve all providers
and didn't proceed. - tried to remove version 5.3 but other php code breaks that's why i hesitate replacing that version
- Browsed the web for answers only to find out that more than half of the things i read are broken, repositories outdated or conflicting with other packages when i try to
yum upgrade php
Can someone please help with this frustrating situtation? i really thought that installing another version and enabling it for a directory would solve this problem.