Re: PHP 5.2.9 + Apache 1.3 Darwin 6.8 MAC OS X 10.2.8 + MYSQL
| From: | ruben | Date: | Mon, 31 Aug 2009 20:25:07 +0000 |
| Subject: | Re: PHP 5.2.9 + Apache 1.3 Darwin 6.8 MAC OS X 10.2.8 + MYSQL | ||
| References: | 1 2 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-19745@lists.php.net to get a copy of this message | ||
Ryan Schmidt escribió:
On Aug 31, 2009, at 05:47, ruben wrote:The OS is MAC OS X 10.2.8 regular client version. The PHP is in /user, up and running and I've been working with it for months without any trouble. The problem is to add the mysql support to the Apache's PHP module. Thank you very much, hope this info will help u to guess something I could do to solve this issue. Best regardsAfter been using PHP 5.2.9 on a MAC OS 10.2.8 with Apache 1.3 without problems, I decided to add support for MYSQL so I tried to re-compile the php module for apache with this configuration: ../configure --prefix=/user --sysconfdir=/etc --localstatedir=/var --mandir=/usr/share/man --with-apxs --without-sqlite --without-pdo-sqlite --with-zlib --without-iconv --enable-sockets --with-openssl --with-kerberos --with-mysql=/usr --with-mysql-sock The configure script runs with no problems, but then 'make' fails with this message: ld: Undefined symbols: _mysql_create_db _mysql_drop_db make: *** [libs/libphp5.bundle] Error 1What version of MySQL is installed, and where? Did you compile it yourself or install it from some binary distribution? Is this on Mac OS X Server or the regular Mac OS X client version? Are you really installing PHP in /user or was that a typo of /usr? This is mysql-standard-4.0.26-apple-darwin6.8-powerpc.pkg, binary dist.