Hi Robert I have send a complete installation methods here, Use --aid --force if it asks for dependencies or disable dependencies with --nodeps option Installing Apache (httpd) # rpm -ivh httpd- # rpm -ivh httpd-devel- # rpm -ivh httpd-manual- Installing PHP # rpm -ivh php- # rpm -ivh php-mysql- # rpm -ivh php-odbc- Like this install all packages on by one, Now configure the httpd.conf file for apache # vi /etc/httpd/conf/httpd.conf Go to line 'AddType' and append this line there - dont use # at the beginning AddType application/x-httpd-phpd .php Go to line ' Directory Index ' and append as 'index.php' Directory Index index.php index.html index.var.html Save this file and come back to shell # service httpd start Now test your page in browser by typing http://127.0.0.1 or http://loopback you will see the apache test page. To get the test page of the php follow this steps cd /var/www/html # vi index.php # open file and add this code or you can test one more program --- rhn-users-request@redhat.com wrote: From: rhn-users-request@redhat.com Date: Wed, 26 Oct 2005 15:02:19 -0400 (EDT) To: rhn-users@redhat.com Subject: rhn-users Digest, Vol 20, Issue 30 Send rhn-users mailing list submissions to rhn-users@redhat.com To subscribe or unsubscribe via the World Wide Web, visit https://www.redhat.com/mailman/listinfo/rhn-users or, via email, send a message with subject or body 'help' to rhn-users-request@redhat.com You can reach the person managing the list at rhn-users-owner@redhat.com When replying, please edit your Subject line so it is more specific than "Re: Contents of rhn-users digest..." Today's Topics: 1. any lucky user got experience with this? (jack craig) 2. Re: phpinfo no display in firefox (jack craig) 3. RE: phpinfo no display in firefox (Riley, Liz (ACHE)) 4. Re: phpinfo no display in firefox (Robert Saylor) 5. Re: phpinfo no display in firefox (jack craig) 6. Re: phpinfo no display in firefox (jack craig) ---------------------------------------------------------------------- Message: 1 Date: Wed, 26 Oct 2005 10:09:13 -0700 From: jack craig Subject: [rhn-users] any lucky user got experience with this? To: Red Hat Network Users List Message-ID: <435FB839.6050709@imageintegration.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed hi RH folks, in making my xmas list, i was shopping for a new monitor. i do a lot of imaging work, i found the below widescreen unit. http://viewsonic.com/products/desktopdisplays/lcddisplays/proseries/vp231wb/ i wondered if any lucky soul has this monitor working on RH linux today? i am asking a compatbility query, probly xfree86 based, can i make use of the full wide screen for display, or would i just get a normal aspect ratio stretched to fix the widescreen? tia,jackc... -- Jack Craig jackc@imageintegration.com 831-684-1375 ------------------------------------- `We're in the hands of crooks and christians. gawd help Us...` ------------------------------ Message: 2 Date: Wed, 26 Oct 2005 10:41:57 -0700 From: jack craig Subject: Re: [rhn-users] phpinfo no display in firefox To: Red Hat Network Users List Message-ID: <435FBFE5.3050403@imageintegration.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed sadly this doesnt work. however, i have this file... /var/www/cgi-bin/try.php whose content is just 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@redhat.com >https://www.redhat.com/mailman/listinfo/rhn-users > > > -- Jack Craig jackc@imageintegration.com 831-684-1375 ------------------------------------- `We're in the hands of crooks and christians. gawd help Us...` ------------------------------ Message: 3 Date: Wed, 26 Oct 2005 11:49:30 -0600 From: "Riley, Liz (ACHE)" Subject: RE: [rhn-users] phpinfo no display in firefox To: "Red Hat Network Users List" Message-ID: Content-Type: text/plain; charset="iso-8859-1" 1 of 2 choices I guess 1. You wrote the script on windows and ftp'd it up and it will be in windows format not unix. 2. you need a #!/usr/local/bin/php (or whever php is) at the beginning of the file. That error implies it returned no code. _____ From: rhn-users-bounces@redhat.com on behalf of jack craig Sent: Wed 26/10/2005 18:41 To: Red Hat Network Users List 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 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@redhat.com >https://www.redhat.com/mailman/listinfo/rhn-users > > > -- Jack Craig jackc@imageintegration.com 831-684-1375 ------------------------------------- `We're in the hands of crooks and christians. gawd help Us...` _______________________________________________ rhn-users mailing list rhn-users@redhat.com https://www.redhat.com/mailman/listinfo/rhn-users ****************************************** 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. ****************************************** ------------------------------ Message: 4 Date: Wed, 26 Oct 2005 14:01:23 -0400 From: "Robert Saylor" Subject: Re: [rhn-users] phpinfo no display in firefox To: "Red Hat Network Users List" Message-ID: <003901c5da57$47c9bae0$0b01a8c0@RobertSaylor> Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=response Try your code like this: 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@blurstorm.com rsaylor_emiv (Yahoo) ================================ ----- Original Message ----- From: "jack craig" To: "Red Hat Network Users List" 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 > > > > 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@redhat.com >>https://www.redhat.com/mailman/listinfo/rhn-users >> >> > > -- > Jack Craig jackc@imageintegration.com 831-684-1375 > ------------------------------------- > `We're in the hands of crooks and christians. gawd help Us...` > > _______________________________________________ > rhn-users mailing list > rhn-users@redhat.com > https://www.redhat.com/mailman/listinfo/rhn-users > ------------------------------ Message: 5 Date: Wed, 26 Oct 2005 12:01:02 -0700 From: jack craig Subject: Re: [rhn-users] phpinfo no display in firefox To: Red Hat Network Users List Message-ID: <435FD26E.1020109@imageintegration.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed hi liz, your number 1 will never happen here, we don need no steekin Windoz! but when i tried your number 2, i got ... *Security Alert!* The PHP CGI cannot be accessed directly. This PHP CGI binary was compiled with force-cgi-redirect enabled. This means that a page will only be served up if the REDIRECT_STATUS CGI variable is set, e.g. via an Apache Action directive. For more information as to /why/ this behaviour exists, see the manual page for CGI security . For more information about changing this behaviour or re-enabling this webserver, consult the installation file that came with this distribution, or visit the manual page . kinky! maybe the why will give me a clue here, thx,jackc... Riley, Liz (ACHE) wrote: >1 of 2 choices I guess > >1. You wrote the script on windows and ftp'd it up and it will be in windows format not unix. > >2. you need a #!/usr/local/bin/php (or whever php is) at the beginning of the file. > >That error implies it returned no code. > > _____ > >From: rhn-users-bounces@redhat.com on behalf of jack craig >Sent: Wed 26/10/2005 18:41 >To: Red Hat Network Users List >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 > > > >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@redhat.com >>https://www.redhat.com/mailman/listinfo/rhn-users >> >> >> >> >> > >-- >Jack Craig jackc@imageintegration.com 831-684-1375 > ------------------------------------- > `We're in the hands of crooks and christians. gawd help Us...` > >_______________________________________________ >rhn-users mailing list >rhn-users@redhat.com >https://www.redhat.com/mailman/listinfo/rhn-users > > > >****************************************** >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@redhat.com >https://www.redhat.com/mailman/listinfo/rhn-users > > > -- Jack Craig jackc@imageintegration.com 831-684-1375 ------------------------------------- `We're in the hands of crooks and christians. gawd help Us...` ------------------------------ Message: 6 Date: Wed, 26 Oct 2005 12:02:00 -0700 From: jack craig Subject: Re: [rhn-users] phpinfo no display in firefox To: Red Hat Network Users List Message-ID: <435FD2A8.2060004@imageintegration.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed thx for your reply robert, but this wasnt it, i will keep trying and will get it, thx, jackc... Robert Saylor wrote: > Try your code like this: > > 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@blurstorm.com > rsaylor_emiv (Yahoo) > ================================ > ----- Original Message ----- From: "jack craig" > > To: "Red Hat Network Users List" > 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 >> >> >> >> 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@redhat.com >>> https://www.redhat.com/mailman/listinfo/rhn-users >>> >>> >> >> -- >> Jack Craig jackc@imageintegration.com 831-684-1375 >> ------------------------------------- >> `We're in the hands of crooks and christians. gawd help Us...` >> >> _______________________________________________ >> rhn-users mailing list >> rhn-users@redhat.com >> https://www.redhat.com/mailman/listinfo/rhn-users >> > > _______________________________________________ > rhn-users mailing list > rhn-users@redhat.com > https://www.redhat.com/mailman/listinfo/rhn-users > -- Jack Craig jackc@imageintegration.com 831-684-1375 ------------------------------------- `We're in the hands of crooks and christians. gawd help Us...` ------------------------------ _______________________________________________ rhn-users mailing list rhn-users@redhat.com https://www.redhat.com/mailman/listinfo/rhn-users End of rhn-users Digest, Vol 20, Issue 30 ***************************************** _____________________________________________________________ Sign up for FREE email from Linuxinfor.com - online linux resources at http://www.linuxinfor.com