Board index   FAQ   Search  
Register  Login
Board index PHP PHP Installation

phpinfo loading forever

Forum for you who has PHP installation issues

Moderators: macek, egami, gesf

phpinfo loading forever

Postby rgreiner » Tue Sep 11, 2012 5:25 am

Hi,

I've got a problem with my php install. I've put the following code in an info.php page:

<?php

// Show all information, defaults to INFO_ALL
phpinfo();

// Show just the module information.
// phpinfo(8) yields identical results.
phpinfo(INFO_MODULES);

?>

When I try to load the page, apache (2.2) indicates all is right with a 200 code in the logs, but the page keeps loading forever in the browser and nothing is ever shown. If I comment the first phpinfo, leaving the following code:

<?php

// Show all information, defaults to INFO_ALL
#phpinfo();

// Show just the module information.
// phpinfo(8) yields identical results.
phpinfo(INFO_MODULES);

?>

The page is loaded properly and almost instantly, but obviously without the information from the commented command. Any suggestion on what could be wrong?

I'm running a virtualized Debian 6.0.5, fully updated (virtualization host is Citrix-XenServer 6.0.2). It has apache 2.2.16 (Debian's 2.2.16-6+squeeze7), php 5.3.3 (Debian's 5.3.3-7+squeeze14), MySQL 5.1.63 (Debian's 5.1.63-0+squeeze1), and the following PHP packages, all from Debians repository: libapache2-mod-php5,php5-cli,php5-common,php5-curl,php5-gd,php5-intl,php5-mcrypt,php5-mysql,php5-suhosin, php5-xmlrpc

Tks,

Roberto
rgreiner
New php-forum User
New php-forum User
 
Posts: 1
Joined: Tue Sep 11, 2012 5:12 am

Return to PHP Installation

Who is online

Users browsing this forum: Exabot [Bot] and 1 guest

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.