0

Issue on Multiple php version when i hit test.php71.com/info.php or test.php56.com/info.php

Hi Sir,
I am following below documents link.
https://www.linuxhelp.com/how-to-install-apache-from-source-code-on-centos-7-6
https://www.linuxhelp.com/how-to-setup-multiple-php-versions-on-apache-using-fastcgi

I have install both versions on apache. But i am getting code: <?php phpinfo(); ?> on browser instead of php information.
I am using centos 7

Can you please assist on this.

CentOS Add a comment
muhammadimtiazahmed
asked Jan 29 2020

Answer

0

It sounds like you're encountering an issue with PHP not being executed properly on your Apache server. This often happens if the PHP handler isn't configured correctly in your Apache settings. I had a similar experience while setting up my environment, and it reminded me of the time I took the rice purity test, which was quite revealing! Make sure to check your Apache configuration files for the correct AddHandler directives for each PHP version. Good luck!

Add a comment
mariamartin
asked Jun 09 2025
edited Jul 09 2025
Post your Answer