[rhn-users] phpinfo no display in firefox

Robert Saylor robert at techknow.com
Wed Oct 26 18:01:23 UTC 2005


Try your code like this:

<?php
phpinfo();
?>

Make sure you upload it in ASCII and that the correct owner.group is on the 
file. Also, if you are running in a phpSuexec invoroment make sure the 
directory hosting the file is no grater then 755 and the same for the php 
file.


================================
Robert Saylor
robert at blurstorm.com
rsaylor_emiv (Yahoo)
================================
----- Original Message ----- 
From: "jack craig" <jackc at imageintegration.com>
To: "Red Hat Network Users List" <rhn-users at redhat.com>
Sent: Wednesday, October 26, 2005 1:41 PM
Subject: Re: [rhn-users] phpinfo no display in firefox


> sadly this doesnt work.
>
> however, i have this file...
>
> /var/www/cgi-bin/try.php
>
> whose content is just
>
> <? php phpinfo(); ?>
>
> the error i get is ...
>
> [Wed Oct 26 10:40:09 2005] [error] [client 192.168.2.10] (8)Exec format 
> error: exec of '/var/www/cgi-bin/try.php' failed
> [Wed Oct 26 10:40:09 2005] [error] [client 192.168.2.10] Premature end of 
> script headers: try.php
>
> this error in httpd's error_log, does this ring any bells? tia,jackc...
>
>
> Riley, Liz (ACHE) wrote:
>
>>Php errors don't get written to that error log.
>>
>>Find php.ini check error display is set to on /etc/php.ini look for
>>error_reporting have it set to E_ALL for now..
>>Also, I would advise making error_log = /var/log/php
>>
>>So you can see any reported errors by php
>>
>>******************************************
>>The information contained in, or attached to, this e-mail, may contain 
>>confidential information and is intended solely for the use of the 
>>individual or entity to whom they are addressed and may be subject to 
>>legal privilege.  If you have received this e-mail in error you should 
>>notify the sender immediately by reply e-mail, delete the message from 
>>your system and notify your system manager.  Please do not copy it for any 
>>purpose, or disclose its contents to any other person.  The views or 
>>opinions presented in this e-mail are solely those of the author and do 
>>not necessarily represent those of the company.  The recipient should 
>>check this e-mail and any attachments for the presence of viruses.  The 
>>company accepts no liability for any damage caused, directly or 
>>indirectly, by any virus transmitted in this email.
>>******************************************
>>
>>_______________________________________________
>>rhn-users mailing list
>>rhn-users at redhat.com
>>https://www.redhat.com/mailman/listinfo/rhn-users
>>
>>
>
> -- 
> Jack Craig          jackc at imageintegration.com          831-684-1375
>              -------------------------------------
>      `We're in the hands of crooks and christians.  gawd help Us...`
>
> _______________________________________________
> rhn-users mailing list
> rhn-users at redhat.com
> https://www.redhat.com/mailman/listinfo/rhn-users
> 




More information about the rhn-users mailing list