Quantcast
Channel: Active questions tagged ubuntu - Stack Overflow
Viewing all articles
Browse latest Browse all 7074

phpinfo() not working in apache2 [duplicate]

$
0
0

I wanted to install php5.3 on ubuntu 14.04(its not natively available as ubuntu pkg), so I installed each apache2, mysql5.6 and php5.3 separately.

PHP5.3 is utmost important for my project.

Now i wanted to test if each of them was working fine together.

I created a info.php file in /var/www/html/ containing code as <?php phpinfo(); ?> but the output showed an output like an HTML rendered page.

enter image description here

Can anyone please tell me how to test/check if all three of them are working together fine?

I would be very thankful, if anyone can please give a link or detailed-description where I can read instructions on how to integrate all three of them together while not uninstalling any of them.


Viewing all articles
Browse latest Browse all 7074

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>