Operating system CentOS Linux 6.9 Webmin version 1.851 Usermin version 1.720 Virtualmin version 6.00
I followed the official guide https://www.virtualmin.com/documentation/web/multiplephp and I've installed PHP 5.6 on CentOS Linux 6.9 and as expected I can now select php5.6 for a host or folder, however, I have an issue with MySQL where the mysqli extension doesn't seem to be available for php5.6, I tried to install php-mysqli however it's alreay there for the original php-5.3 see:
yum install php-mysqli Loaded plugins: fastestmirror Setting up Install Process Loading mirror speeds from cached hostfile * rpmforge: ftp.nluug.nl drivesrvr | 2.9 kB 00:00 Package php-mysql-5.3.3-49.el6.x86_64 already installed and latest version Nothing to do
How do I set-up/install for PHP 5.6 ?
Hello All, can anyone help me with this?
I only see mysqlnd packages for that version of PHP. I would think that would work.
Package name is
rh-php56-php-mysqlnd
--
Check out the forum guidelines!
Using Virtualmin I've enabled PHP5.6 and tried to run a page I get a 500 error and the apache error log is showing:
[Fri Sep 29 18:40:03 2017] [error] [client MYIPHERE] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/calendar.so' - /usr/lib64/php/modules/calendar.so: cannot open shared object file: No such file or directory in Unknown on line 0
[Fri Sep 29 18:40:03 2017] [error] [client MYIPHERE] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/ctype.so' - /usr/lib64/php/modules/ctype.so: cannot open shared object file: No such file or directory in Unknown on line 0
[Fri Sep 29 18:40:03 2017] [error] [client MYIPHERE] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/curl.so' - /usr/lib64/php/modules/curl.so: undefined symbol: php_checkuid in Unknown on line 0
[Fri Sep 29 18:40:03 2017] [error] [client MYIPHERE] PHP Warning: PHP Startup: dom: Unable to initialize module
[Fri Sep 29 18:40:03 2017] [error] [client MYIPHERE] Module compiled with module API=20090626
[Fri Sep 29 18:40:03 2017] [error] [client MYIPHERE] PHP compiled with module API=20131226
[Fri Sep 29 18:40:03 2017] [error] [client MYIPHERE] These options need to match
[Fri Sep 29 18:40:03 2017] [error] [client MYIPHERE] in Unknown on line 0
[Fri Sep 29 18:40:03 2017] [error] [client MYIPHERE] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/exif.so' - /usr/lib64/php/modules/exif.so: cannot open shared object file: No such file or directory in Unknown on line 0
[Fri Sep 29 18:40:03 2017] [error] [client MYIPHERE] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/fileinfo.so' - /usr/lib64/php/modules/fileinfo.so: undefined symbol: php_checkuid in Unknown on line 0
[Fri Sep 29 18:40:03 2017] [error] [client MYIPHERE] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/ftp.so' - /usr/lib64/php/modules/ftp.so: cannot open shared object file: No such file or directory in Unknown on line 0
[Fri Sep 29 18:40:03 2017] [error] [client MYIPHERE] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/gettext.so' - /usr/lib64/php/modules/gettext.so: cannot open shared object file: No such file or directory in Unknown on line 0
[Fri Sep 29 18:40:03 2017] [error] [client MYIPHERE] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/iconv.so' - /usr/lib64/php/modules/iconv.so: cannot open shared object file: No such file or directory in Unknown on line 0
[Fri Sep 29 18:40:03 2017] [error] [client MYIPHERE] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/mysqlnd.so' - /usr/lib64/php/modules/mysqlnd.so: cannot open shared object file: No such file or directory in Unknown on line 0
[Fri Sep 29 18:40:03 2017] [error] [client MYIPHERE] PHP Warning: PHP Startup: PDO: Unable to initialize module
[Fri Sep 29 18:40:03 2017] [error] [client MYIPHERE] Module compiled with module API=20090626
[Fri Sep 29 18:40:03 2017] [error] [client MYIPHERE] PHP compiled with module API=20131226
[Fri Sep 29 18:40:03 2017] [error] [client MYIPHERE] These options need to match
[Fri Sep 29 18:40:03 2017] [error] [client MYIPHERE] in Unknown on line 0
What is wrong?