| Peer Allan 2005-11-17, 6:57 pm |
| Hi,
I am a compiliing PHP5 on a Linux box with MySQL 5 and Apache2. The goal =
is
to have both the mysqli and curl extensions enabled in PHP. This is the
configure command I used:
../configure --with-mysqli=3D/usr/local/mysql/bin/mysql_config
--with-apxs2=3D/usr/local/apache2/bin/apxs --with-gd --with-zlib=3D/usr
--enable-xslt --with-xslt-sablot --with-openssl --enable-mbstring
--with-curl
This compiles, installs and functions fine. This is where it gets =
strange.
When I do a phpinfo() on the server it shows the mysqli extension to be
4.1.x, where the mysql libraries I am linking against are 5.0.15. If I =
do a
"php -i" command from the command line it says I am running the mysqli
extension 5.0.15. As would be expected the mod_php5 module will not =
connect
to mysql, but the command line version will.
If I change the configure command and remove '--with-curl', then make =
and
install the phpinfo() shows the mysqli extension to be 5.0.15 (which is =
what
I need).
To summarize, i can't get PHP5 to link to the mysql 5 client libraries =
if I
try to build it with curl suppport. Anyone experiences something like =
this
before or have any ideas as to what to do about it?
Thanks
Peer
Peer Allan=20
Sr. Web Developer, e-Business
CanadaDrugs.com=20
24 Terracon Place=20
Winnipeg, MB, Canada
R2J 4G7=20
Phone: (204) 654-7951
Cell: (204) 781-8719
Fax: (204) 654-7910
www.canadadrugs.com
-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=
=3D-=3D-
CanadaDrugs.com
http://www.canadadrugs.com
Tollfree voice:1-800-CAN-DRUG
Tollfree fax: 1-888-DRUG-FAX
-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=
=3D-=3D-
|