Hello,
I have a Centos 7.4 system using Virtualmin 6.01 /Webmin 1.860
The system has only PHP 7.0.25 installed and is using Nginx with PHP-FPM.
I have been trying to update scripts to individual hosted domains on the server, to no effect. When I go to script installation, I get:
Found https://files.phpmyadmin.net:443/phpMyAdmin/4.7.5/phpMyAdmin-4.7.5-engli... in cache ..
PHP module mysql is required .. Installing package php5-mysql .. Installing package(s) with command /bin/yum -y install php5-mysql .. Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: mirror.softaculous.com * epel: mirror.wiuwiu.de * extras: mirror.daniel-jost.net * updates: mirror.softaculous.com * webtatic: uk.repo.webtatic.com No package php5-mysql available. Error: Nothing to do .. install failed! Installing package php-mysql .. Installing package(s) with command /bin/yum -y install php-mysql .. Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: centosmirror.netcup.net * epel: mirror.wiuwiu.de * extras: mirror.daniel-jost.net * updates: centos.schlundtech.de * webtatic: uk.repo.webtatic.com Resolving Dependencies --> Running transaction check ---> Package php-mysql.x86_64 0:5.4.16-43.el7_4 will be installed --> Processing Dependency: php-pdo(x86-64) = 5.4.16-43.el7_4 for package: php-mysql-5.4.16-43.el7_4.x86_64 --> Running transaction check ---> Package php-pdo.x86_64 0:5.4.16-43.el7_4 will be installed --> Processing Dependency: php-common(x86-64) = 5.4.16-43.el7_4 for package: php-pdo-5.4.16-43.el7_4.x86_64 --> Running transaction check ---> Package php-common.x86_64 0:5.4.16-43.el7_4 will be installed --> Processing Dependency: libzip.so.2()(64bit) for package: php-common-5.4.16-43.el7_4.x86_64 --> Running transaction check ---> Package libzip.x86_64 0:0.10.1-8.el7 will be installed --> Processing Conflict: php70w-common-7.0.25-1.w7.x86_64 conflicts php-common < 7.0 --> Finished Dependency Resolution Error: php70w-common conflicts with php-common-5.4.16-43.el7_4.x86_64 You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest .. install failed! .. failed to install! (see also screenshot)
When performing php –m, I get:
[PHP Modules] bz2 calendar Core ctype curl date dom exif fileinfo filter ftp gd gettext gmp hash iconv igbinary json libxml mbstring mcrypt memcached mysqli openssl pcntl pcre PDO pdo_mysql pdo_sqlite Phar posix readline Reflection session shmop SimpleXML sockets SPL sqlite3 standard sysvmsg sysvsem sysvshm tokenizer wddx xml xmlreader xmlwriter xsl Zend OPcache zip zlib
[Zend Modules] Zend OPcache
The php70w-mysql package installs pdo_mysql and not the mysql binary (it includes the mysqli binary).
Any idea how to perform roundcube/phpmydamin script upgrades as both stop at the php-mysql check (or disable this check somewhere as mysql is available within the system)?
Last but not least, even though I have enabled only php_fpm to all hosted domains, for one of which FPM AND the cgi php versions are loaded.. I cannot locate however where the cgi socket is defined in order to disable it, as nginx.conf has only php_fpm declared:
domain3 11445 0.0 0.2 463928 6088 ? S 13:39 0:00 /opt/rh/rh-php70/root/usr/bin/php-cgi -b /var/php-nginx/14224726995666.sock/socket domain3 11447 0.0 0.2 463928 6088 ? S 13:40 0:00 /opt/rh/rh-php70/root/usr/bin/php-cgi -b /var/php-nginx/14224726995666.sock/socket domain3 11457 0.0 0.2 463928 6088 ? S 13:40 0:00 /opt/rh/rh-php70/root/usr/bin/php-cgi -b /var/php-nginx/14224726995666.sock/socket domain3 11463 0.0 0.2 463928 6088 ? S 13:40 0:00 /opt/rh/rh-php70/root/usr/bin/php-cgi -b /var/php-nginx/14224726995666.sock/socket domain3 14232 0.0 0.2 567172 7216 ? S 14:01 0:00 php-fpm: pool 14224726995666