I can’t get Apache to run PHP 7.1; it seems to be stuck on 5.5.3. From the command line, php -v reports the correct PHP version.

This is a MacOS Server X.10.5. And here is the Apache PHP info page:
http://mint322.com/GD.php

The install of “curl -s http://php-osx.liip.ch/install.sh | bash -s 7.1” looks like it ran just fine. /usr/local got the directory “php5-7.1.13-20180201-134129” and the /usr/local/php5 link points to “php5-7.1.13-20180201-134129”.

There is a /etc/apache2/other/+php-osx.conf link going to /usr/local/php5-7.1.13-20180201-134129/entropy-php.conf file. Inside entropy-php.conf is “LoadModule php7_module /usr/local/php5/libphp7.so”.

/private/etc/apache2/httpd.conf has “LoadModule php5_module libexec/apache2/libphp5.so” properly commented out with a #.

Everything makes sense and looks right but my Apache still serves up php v5.5.3!

I tried putting “LoadModule php7_module /usr/local/php5/libphp7.so” in /private/etc/apache2/httpd.conf but that didn’t make a difference.

I tried putting “LoadModule php7_module libexec/apache2/libphp7.so” in /private/etc/apache2/httpd.conf, copying libphp7.so into libexec/apache2, setting the correct privileges on libphp7.so, but that didn’t make a difference either.

Anyone have a suggestion about how I can get version 7.1 to activate in Apache?

Rob