Re: phpinfo problem
| From: | Stut | Date: | Mon, 13 Aug 2007 15:29:02 +0000 |
| Subject: | Re: phpinfo problem | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-260771@lists.php.net to get a copy of this message | ||
Rick Knight wrote:
Thanks Chris, That was the problem. Is this new php5? I've used 3 prior php4 version and didn't have this problem.The default value for short_open_tags was flipped a while back. Might I suggest you read the changelog next time you upgrade to a newer version - it tells you important stuff like that. -Stut -- http://stut.net/ > Chris wrote: >> You probably just have short_open_tags set to Off in your php.ini >> file. If so, either turn it On, or change the file to be: >> >> <?php phpinfo(); ?> >> >> Chris >> >> Rick Knight wrote: >>> I have just installed PHP-5.2.3 on my Kubuntu Feisty box. I removed >>> all the debian php first and then compiled php with the options I >>> needed. Now everything seems to be working except phpinfo.php which >>> consists of one line. >>> >>> <? phpinfo(); ?> >>> >>> >>> I get a blank screen. >>> >>> If I delete the php.ini file it get the usual phpinfo output. >>> >>> php -r "phpinfo();" works as does php -i and my php scripts run fine. >>> What would cause phpinfo.php to not work? It's set rw for the apache2 >>> user so I think the permissions are right. Is there a phpinfo >>> enable/disable in the php.ini? Or in ./configure? >>> >>> Thanks. >>> Rick Knight >>> >> >