sk-php-selector
sk-php-selector copied to clipboard
phpmyadmin use php 5.6.40
I installed the latest version of centos 7. After which I ran your script, I got the templates, but the version that uses the West became 5.6.40 because of which I can’t get into phpMyAdmin. Tell me how can I fix this?
Well, I deleted the php * .conf files according to the instructions, but instead of getting a working server, it now does not work at all, that is, I just have a blank screen on any of the domains and php code on the phpmyadmin page
The same happens to me. I tried moving the conf files but apache doesn't start. Even if I change the names of the conf files in /etc/httpd/conf.modules.d/ like 15-php.conf to 10-php.conf apache doesn't start.
the solution that worked for me was edit the file:
nano /etc/httpd/conf.modules.d/10-php56-php.conf
and comment with # the uncommented lines, so your file will be as follows:
#<IfModule prefork.c>
# LoadModule php5_module modules/libphp56-php5.so
#</IfModule>
then restart the httpd service
systemctl restart httpd
i hope that this solution, be useful for you too
extra: i found that solution today, after 5 monthts, so now i want that apache serve the "server files (for example phpmyadmin)" using php-fpm. i installed php74-fpm module but i dont know how can i config httpd/conf.d/phpmyadmin.conf