RE: [PHP-INSTALL] Using MySQL with PHP

2006-05-27 Thread Blanton, Bob
Donatas,   That was it.  Thanks so much.   Bob     From: Donatas Vyzas [mailto:[EMAIL PROTECTED] Sent: Saturday, May 27, 2006 3:03 PM To: php-install@lists.php.net Subject: Re: [PHP-INSTALL] Using MySQL with PHP   Take a look at the line: $link = mysql_connect('flms', 'us

Re: [PHP-INSTALL] Using MySQL with PHP

2006-05-27 Thread Donatas Vyzas
Take a look at the line: $link = mysql_connect('flms', 'userid', 'password')  //appears to stop here the first argument to mysql_connect is a host, where your mysql server is running. If your mysql server is the same computer where php is running, this might be 'localhost'. Otherwise, use IP n

RE: [PHP-INSTALL] Using MySQL with PHP

2006-05-27 Thread Blanton, Bob
Donatas,   When running the phpinfo() I get this below for the mysql section.   I copied the libmysql.dll to the windows directory as some of the instructions had said.  This is the library that is lets php talk to mysql.    I am running php 5, mysql 5, and apache 1.3.  I am successfull

Re: [PHP-INSTALL] Using MySQL with PHP

2006-05-27 Thread Donatas Vyzas
Hi, MySQL support might be already available in your PHP. You can check that using phpinfo ( http://www.php.net/manual/en/function.phpinfo.php ). If you see MySQL section in the output of phpinfo() -  you already have MySQL support, if no - you have to recompile PHP with the following parameter

[PHP-INSTALL] Using MySQL with PHP

2006-05-27 Thread Blanton, Bob
Hi,   If I want to use MySQL with PHP do I need to re-compile PHP or can I just adjust the php.ini file to use MySQL?    Thanks in advance. Bob