[PHP-DB] MySQL 4.1 and PHP4

2005-07-10 Thread Andre Matos
Hi,

It is possible to use mysqli_connect and the others mysqli functions in
PHP4? I have downloaded the PHP4 and compiled using these parameters on my
MacOSX:

./configure --prefix=/usr/local/php4compiled
--with-apxs=/usr/sbin/apxs
--enable-mbstring
--with-xml
--with-mysql=/usr/local/mysql
--with-mysqli=/usr/local/mysql/bin/mysql_config
--enable-soap
--with-pear

But when I try to use mysqli_connect it get an error saying that:

cannot load mysqli extension

Is there something wrong on the parameters to compile PHP4 using mysqli lib,
or because PHP4 does not accept mysqli lib, or because I am doing something
else wrong?

Does anyone have any idea to help me? Thanks in advance for any help!!!

Andre

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



RE: [PHP-DB] MySQL 4.1 and PHP4

2005-07-10 Thread Bastien Koert
4 does not come with the mysqli extension. You would need to download it 
(seprately or as part of the php5 module) and then move the extension 
aapropriate folder...


Bastien


From: Andre Matos [EMAIL PROTECTED]
To: 'PHP-mailist (PHP-mailist)' php-db@lists.php.net
Subject: [PHP-DB] MySQL 4.1 and PHP4
Date: Sun, 10 Jul 2005 11:56:32 -0400

Hi,

It is possible to use mysqli_connect and the others mysqli functions in
PHP4? I have downloaded the PHP4 and compiled using these parameters on my
MacOSX:

./configure --prefix=/usr/local/php4compiled
--with-apxs=/usr/sbin/apxs
--enable-mbstring
--with-xml
--with-mysql=/usr/local/mysql
--with-mysqli=/usr/local/mysql/bin/mysql_config
--enable-soap
--with-pear

But when I try to use mysqli_connect it get an error saying that:

cannot load mysqli extension

Is there something wrong on the parameters to compile PHP4 using mysqli 
lib,

or because PHP4 does not accept mysqli lib, or because I am doing something
else wrong?

Does anyone have any idea to help me? Thanks in advance for any help!!!

Andre

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



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