Re: [PHP] Re: Need help with PHP / MySQL connect problem

2005-07-18 Thread Mark Rees
Linda H [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I added the following to the top of my script: ?php echo phpinfo(); ? Got all sorts of environment and path info. Not anything about MySQL, but I didn't see anything that looked obviously wrong, though I don't understand

Re: [PHP] Re: Need help with PHP / MySQL connect problem

2005-07-18 Thread kalinga
i recently met samekind of problem, could you pls specify the OS, Apache, Php and MySQL vesrions you are using? vk On 7/18/05, Mark Rees [EMAIL PROTECTED] wrote: Linda H [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I added the following to the top of my script: ?php

Re: [PHP] Re: Need help with PHP / MySQL connect problem

2005-07-18 Thread Rick Emery
Quoting Linda H [EMAIL PROTECTED]: I added the following to the top of my script: ?php echo phpinfo(); ? Got all sorts of environment and path info. In addition to the other excellent suggestions so far, make sure (looking at the phpinfo page, under Configuration File Path) that your

Re: [PHP] Re: Need help with PHP / MySQL connect problem

2005-07-18 Thread Linda H
For those who didn't join this thread at the beginning, I'm running MySQL 4.0.21, Apache 2.0.52 and PHP 5.0.2 on a Windows XP system. I installed in the sequence - MySQL, then Apache, then PHP. MySQL was running when the others were installed (which is what the book I am using seemed to

Re: [PHP] Re: Need help with PHP / MySQL connect problem

2005-07-18 Thread Mark Rees
Linda H [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] For those who didn't join this thread at the beginning, I'm running MySQL 4.0.21, Apache 2.0.52 and PHP 5.0.2 on a Windows XP system. I installed in the sequence - MySQL, then Apache, then PHP. MySQL was running when the others

[PHP] Re: Need help with PHP / MySQL connect problem

2005-07-17 Thread Linda H
Thanks for the advice, Matt, but it doesn't seem to solve my problem. php.ini is in the C:Program Files/WINDOWS directory and error_reporting was set to E_ALL. I found php5ts.dll in the WINDOWS/system32 directory. I copied it to WINDOWS/system, just in case. My install instructions said to

Re: [PHP] Re: Need help with PHP / MySQL connect problem

2005-07-17 Thread Matt Darby
Try this just for kicks: ? aslkdjfalsd; ? See if this will output errors. It's rather hard to debug without error messages ;) If I remember correctly, isn't php.ini supposed to be in c:/PHP? Linda H wrote: Thanks for the advice, Matt, but it doesn't seem to solve my problem. php.ini is

Re: [PHP] Re: Need help with PHP / MySQL connect problem

2005-07-17 Thread Linda H
Try this just for kicks: ? aslkdjfalsd; ? Nope - nothing :-( See if this will output errors. It's rather hard to debug without error messages ;) No kidding! If I remember correctly, isn't php.ini supposed to be in c:/PHP? It came in c:/php5 as php.ini-recommended. My instructions

Re: [PHP] Re: Need help with PHP / MySQL connect problem

2005-07-17 Thread Linda H
I added the following to the top of my script: ?php echo phpinfo(); ? Got all sorts of environment and path info. Not anything about MySQL, but I didn't see anything that looked obviously wrong, though I don't understand a lot of it. I ried reinstalling MySQL, Apache, and PHP. No change.

Re: [PHP] Re: Need help with PHP / MySQL connect problem

2005-07-17 Thread Matt Darby
You should definitely see a listing for MySQL in phpinfo()... What order did you install MySQL/PHP/Apache? Linda H wrote: I added the following to the top of my script: ?php echo phpinfo(); ? Got all sorts of environment and path info. Not anything about MySQL, but I didn't see anything