On Thu, 2004-08-12 at 20:51, Martin, Stanley G [CGEY Contractor for Sprint] wrote: > I’m installing PHP 5.0 using the following command line: > > ./configure --with-mysql --with-apxs2=/usr/local/apache/bin/apxs > > and get this error: > > ext/mysql/php_mysql.lo(.text+0x2332): In function > `zif_mysql_create_db': > > /appsource/php/php-5.0.0/ext/mysql/php_mysql.c:1166: undefined > reference to `mysql_create_db' > > ext/mysql/php_mysql.lo(.text+0x2561): In function `zif_mysql_drop_db': > > /appsource/php/php-5.0.0/ext/mysql/php_mysql.c:1208: undefined > reference to `mysql_drop_db' > > collect2: ld returned 1 exit status > > make: *** [sapi/cli/php] Error 1
Silly question, but do you have mysql installed? I have PHP 5 installed on a Fedora Core 2 computer with mysql included. What OS is your computer using and is there a PHP already installed? Commonly a configure line would be much longer. HTH Chris