Hi Jose,

if it shows the plain PHP code then the PHP Apache module is not activated.
Please check if it is installed and configured for httpd.

/etc/httpd/conf.modules.d


Best regards

Roland


On 26.02.19 22:15, Gomez-Rubio, J L. via Lam-public wrote:
> I’m decommissioning CentOS 6 server running LAM Pro 5.5 and moving it to 
> CentOS 7.
> 
> I will upgrade to LAM Pro 6.x in the future. For now, just want to get LAM 
> Pro 5.5 up and running on CentOS 7.
> 
> Doing http://localhost/lam on CentOS 6 works fine.
> 
> However, doing http://localhost/lam on CentOS 7 just shows a PHP code:
> 
> <?php
> /*
> $Id$
> …
> 
> ?>
> 
> Here’s is the PHP RPMs installed on the CentOS 6 machine:
> 
> php-5.4.45-15.el6.remi.x86_64
> php-cli-5.4.45-15.el6.remi.x86_64
> php-common-5.4.45-15.el6.remi.x86_64
> php-ldap-5.4.45-15.el6.remi.x86_64
> php-mcrypt-5.4.45-15.el6.remi.x86_64
> php-pdo-5.4.45-15.el6.remi.x86_64
> php-xml-5.4.45-15.el6.remi.x86_64
> 
> Here is what is installed on CentOS 7:
> 
> php-5.4.16-46.el7.x86_64
> php-cli-5.4.16-46.el7.x86_64
> php-common-5.4.16-46.el7.x86_64
> php-ldap-5.4.16-46.el7.x86_64
> php-mcrypt-5.4.16-7.el7.x86_64
> php-pdo-5.4.16-46.el7.x86_64
> php-xml-5.4.16-46.el7.x86_64
> 
> I’m obviously missing something trivial here to make it work.
> 
> Anyone else using PHP 5.4.x with LAM Pro 5.x on CentOS 7?
> 
> Jose
> 
> 
> 
> _______________________________________________
> Lam-public mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/lam-public
> 


_______________________________________________
Lam-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lam-public

Reply via email to