• This is a catch 22. I stopped using Centos 7 because it doesn’t support the version of PHP needed by some of WordPress’ plugins. The one I wanted to use needed 5.5. So I switched to Fedora 27 Server. But that gave me problems with missing items from WordPress. See my previous post. So back to Centos 7 and a fresh install, this time I changed repositories and installed the latest Apache, Mariadb and PHP 7.1. All went well until I did a php test (info.php in browser). Well all I got was the text of the code on the screen. So off to google and I found a few things to check and fix. Still get the text. So now I’m running out of “Altitude, Airspeed and Ideas”. I am going to try one more Centos clean install and see what happens. Any other ideas? Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    This is not a WordPress question. However…

    I use CentOS 7 with PHP 7.1. I obtain PHP from the IUS repo: https://ius.io/GettingStarted/

    Note that if you have a plugin that requires nothing newer than PHP 5.5, you should find another plugin!

    As long as you’re configuring, use php-fpm instead of mod_php

    https://wp-root.org/server/install-php-fpm-tcp-unix-sockets-centos/

    Thread Starter ov10fac

    (@ov10fac)

    Steve,
    Thanks. I know its off topic, but thought someone else might have a similar experience. Today I did a complete new install of Centos 7, Apache, Mysql, phpmyadmin, webmin and wordpress. Took some time and had to dig around for some things to get phpmyadmin running (had to modify the phpmyadmin.conf file to allow the local other ipaddresses to use it. But once everything was installed and running its pretty sweet. I did install php 7.1. This took a little doing since Centos repositories only support 5.4. But there is a good tutorial that can be found on google.
    All in all, it was time well spend. And now I can start building my web page on my local server and see what happens from there.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘CentOS question about PHP’ is closed to new replies.