Re: [PHP-DB] undefined function Mysql_connect()

2008-01-06 Thread Chris



I am running Windows XP PRO,

Appache 2.0

PHP 5.2.5 as a module,


Did you install the php-mysql module too ?

http://www.php.net/manual/en/ref.mysql.php

Look under the Installation on Windows Systems section.

--
Postgresql  php tutorials
http://www.designmagick.com/

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DB] Undefined function mysql_connect

2004-01-05 Thread Jason Wong
On Monday 05 January 2004 11:55, Richard Bewley wrote:

 I compiled mySQL 4.0.16 from source, and installed PHP 4 off the RH9 cd.
 I also have the php-mysql-4.2.2-17 rpm installed.  But for some reason, I
 keep getting call to undefined function mysql_connect, and it won't
 connect to the mysql database.  Any ideas?

Either install both from source or both from RPMs. The file locations and 
default configs used by RH can be different from the bog-standard mysql 
install so there lies your problem.

I recommend that you install mysql from the official rpms and apache/php from 
source. That way everything can be updated without relying on RH.

-- 
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source Software Systems Integrators
* Web Design  Hosting * Internet  Intranet Applications Development *
--
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-db
--
/*
Love sometimes expresses itself in sacrifice.
-- Kirk, Metamorphosis, stardate 3220.3
*/

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php