On Sun, August 12, 2007 10:32 pm, 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? You probably have short_open_tags OFF and so you need <?php phpinfo();?> instead of just <? ... ?> You'd know for sure if you looked at "View Source" and saw <? phpinfo();?> for the short-tag version, but the <?php version worked. -- Some people have a "gift" link here. Know what I want? I want you to buy a CD from some indie artist. http://cdbaby.com/browse/from/lynch Yeah, I get a buck. So? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php