Re: PHP 5.0 Install Problem
| From: | Chris Hewitt | Date: | Thu, 12 Aug 2004 21:06:35 +0000 |
| Subject: | Re: PHP 5.0 Install Problem | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-14103@lists.php.net to get a copy of this message | ||
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