Re: Installing PHP3 with mysql support on MOSXS
| From: | Jeff Grossman | Date: | Mon, 09 Jul 2001 01:55:43 +0000 |
| Subject: | Re: Installing PHP3 with mysql support on MOSXS | ||
| References: | 1 | Groups: | php.db php.install |
| Request: | Send a blank email to php-db+get-10167@lists.php.net to get a copy of this message | ||
fpichler@wpis.ch (Fabian Pichler) wrote:
>Hello together
>
>I'm a real newbie on PHP/Mysql.
>I'm trying to get PHP/mysql to work together on my MOSXS 1.0-2 Server.
>Has anyone done this before?
>
>My problem is the mysql support (--with-mysql=/usr/local/mysql) in PHP.
>If I compile the PHP with this configure option apache 1.3.12 (or 1.3.9)
>doesn't start anymore.
>
>I get the following error entry in the error_log of apache eache time I
>try to start apache.
>with apache 1.3.12:
>>dyld: /usr/local/sbin/httpd Undefined symbols:
>>_strtol
>with apache 1.3.9:
>> [Mon Sep 25 07:49:35 2000] [emerg] dyld found undefined symbol: _strtol
>> Aborting.
>
>Has anyone an idea what's going wrong?
Try running the configure with --with-mysql and not including the
path. That will use the internal mysql libraries that PHP has. It
worked for me.
Jeff