lightpace Posted September 16, 2007 Share Posted September 16, 2007 hi, when i am trying to run http://10.10.10.102/phpinfo.php instead of details about php on system, the out it show in web broswer is as under: <?php // Show all information, defaults to INFO_ALL phpinfo(); // Show just the module information. // phpinfo( yields identical results. phpinfo(INFO_MODULES); ?> Here's my some info about my system [root@anaconda html]# rpm - aq | grep httpd httpd-devel-2.2.4-2.1.fc6 system-config-httpd-1.4.1-1.fc6 httpd-2.2.4-2.1.fc6 [root@anaconda html]# rpm - aq | grep mysql mysql-server-5.0.27-1.fc6 mysql-5.0.27-1.fc6 mysql-devel-5.0.27-1.fc6 [root@anaconda html]# rpm - aq | grep php php-cli-5.1.6-3.6.fc6 php-common-5.1.6-3.6.fc6 [root@anaconda html]# rpm - aq | grep perl perl-Archive-Tar-1.30-1.fc6 perl-IO-Socket-SSL-1.01-1.fc6 perl-IO-Zlib-1.04-4.2.1 perl-5.8.8-10 perl-Compress-Zlib-1.42-1.fc6 perl-HTML-Tagset-3.10-2.1.1 perl-String-CRC32-1.4-2.fc6 perl-Digest-HMAC-1.01-15 perl-Socket6-0.19-3.fc6 perl-URI-1.35-3 perl-Net-IP-1.25-2.fc6 perl-IO-Socket-INET6-2.51-2.fc6 perl-Net-DNS-0.60-1.fc6 perl-DBI-1.52-1.fc6 perl-HTML-Parser-3.55-1.fc6 perl-libwww-perl-5.805-1.1.1 perl-Digest-SHA1-2.11-1.2.1 perl-Net-SSLeay-1.30-4.fc6 perl-DBD-MySQL-3.0007-1.fc6 [root@anaconda html]# uname -a Linux anaconda 2.6.20-1.3001.fc6xen #1 SMP Thu Aug 9 16:18:09 EDT 2007 i686 i686 i386 GNU/Linux Link to comment https://forums.phpfreaks.com/topic/69605-solved-apache-is-showing-content-of-php-files-in-browser/ Share on other sites More sharing options...
effigy Posted September 17, 2007 Share Posted September 17, 2007 See steps 14 and 15 here. Link to comment https://forums.phpfreaks.com/topic/69605-solved-apache-is-showing-content-of-php-files-in-browser/#findComment-349812 Share on other sites More sharing options...
lightpace Posted September 17, 2007 Author Share Posted September 17, 2007 cool. case closed.. step 15 did the trick, thanks for your help. Link to comment https://forums.phpfreaks.com/topic/69605-solved-apache-is-showing-content-of-php-files-in-browser/#findComment-349890 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.