Hi all, I too new to php and mysql, trying to get things works. I installed Redhat 7.2, Apache, mysql and php. I copied a sample php script from the internet and save it as phptest.php in my cgi-bin. When calling it from my browser, I got Format error. Did I not do it right? Should I put it in my cgi-bin? Could some one send me a working php script and instruct me how to test it? Thanks
>From: "Todd Williamsen" <[EMAIL PROTECTED]> >To: "'Andrew Hazen'" <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]> >Subject: RE: mysql/php on linux >Date: Mon, 18 Mar 2002 08:50:28 -0600 > >PHP > >http://www.php.net/manual/en/install.linux.php > >mySQL > >http://www.mysql.com/doc/L/i/Linux.html > >I never had any problems with mysql and PHP talking to each other on >Linux, and I am very wet behind the ears with Linux. Maybe you can give >us an error messages you are receiving, and that will give all of us a >better understanding of what is going on. If it’s the OS or Glib >libraries, you will get the same error over and over again. > >I don't use RedHat, so I don't know what they have in it, I use Caldera >OpenLinux 3.1 which is much better(from what I hear). I have heard that >RedHat 7.2 is a bit quirky. > >Again, its all hear say. > >-----Original Message----- >From: Andrew Hazen [mailto:[EMAIL PROTECTED]] >Sent: Monday, March 18, 2002 8:31 AM >To: [EMAIL PROTECTED] >Subject: mysql/php on linux > > >Hi all, > >This is probably a boring repeat question, so maybe someone can just >point us to an existing response or file on the web: > >We are trying to set up a webserver with the following: > > >Linux Red Hat 7.2 >MySQL – newest >PHP 4.1 – newest > >We can’t seem to get them all talking to each other, so we will just >start over from scratch. Can someone provide a step-by-step?? > >Andrew Hazen >Database Developer >Jatech Solutions Inc. >160 Bartley Drive >Toronto, ON >M4A 1E1 >www.jatech.ca >416-288-9833 > > > > > >--------------------------------------------------------------------- >Before posting, please check: > http://www.mysql.com/manual.php (the manual) > http://lists.mysql.com/ (the list archive) > >To request this thread, e-mail <[EMAIL PROTECTED]> >To unsubscribe, e-mail ><[EMAIL PROTECTED]> >Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php > > >--------------------------------------------------------------------- >Before posting, please check: > http://www.mysql.com/manual.php (the manual) > http://lists.mysql.com/ (the list archive) > >To request this thread, e-mail <[EMAIL PROTECTED]> >To unsubscribe, e-mail ><[EMAIL PROTECTED]> >Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php > _________________________________________________________________ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php