Hello - I am attempting to upgrade one of our older PHP servers
(4.0.1pl2) to PHP 4.3.0.  We are running a fairly old version of apache
(1.3.12) and MySQL (3.22.32).  My question is - does PHP 4.3.0 support
older versions of MySQL?  When I go to configure PHP 4.3.0 it works
fine, but during compile I get the following errors:

lmysqlclient -lpng -lz -ljpeg -lz -lcrypt -lresolv -lm -ldl -lnsl
-lcrypt  -o sapi/cli/php
ext/mysql/php_mysql.o: In function `zif_mysql_client_encoding':
/home/aplocher/php-4.3.0/ext/mysql/php_mysql.c:1077: undefined reference
to `mysql_character_set_name'
ext/mysql/php_mysql.o: In function `zif_mysql_real_escape_string':
/home/aplocher/php-4.3.0/ext/mysql/php_mysql.c:1671: undefined reference
to `mysql_real_escape_string'
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1

My configure string looks like this - the MySQL directory should be fine
because this configure string is exactly the same as the one used for
4.0.1pl2 (minus the GD/graphics stuff):

'./configure' '--with-mysql=/usr/local/mysql'
'--with-apache=../apache_1.3.12' '--enable-track-vars' '--with-gd'
'--with-jpeg-dir=/usr/lib' '--with-zlib-dir=/usr/local/lib'


Any help would be really great.
Thanks
-Adam

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

Reply via email to