Mac OS X 64bit PHP 5.3 MySQL + Apache2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



I'm trying to install PHP 5.3, Apache2 and MySQL5 in 64bit on Mac OS X 10.5.8 with the following extensions:

  curl @7.19.4_0+universal (active)
  expat @2.0.1_0+universal (active)
  freetds @0.82_0+darwin_9+universal (active)
  freetype @2.3.9_0+macosx+universal (active)
  gdbm @1.8.3_1+universal (active)
  gettext @0.17_4+universal (active)
  jpeg @6b_3+universal (active)
  libiconv @1.12_2+universal (active)
  libmcrypt @2.5.8_1+universal (active)
  libpng @1.2.35_0+universal (active)
  memcached @1.2.6_0+universal (active)
  openssl @0.9.8k_0+universal (active)
  zlib @1.2.3_2+universal (active)

I've tried using Macports with the pre-installed apache2 server on Leopard (which is x86_64)
and the MySQL 5 x86_64 binary and haven't had any luck.

I get an error stating that the mysql client libraries are missing.

Using these flags:

MACOSX_DEPLOYMENT_TARGET=10.5 \
CFLAGS="-arch x86_64 -g -Os -pipe -no-cpp-precomp" \
CCFLAGS="-arch x86_64 -g -Os -pipe" \
CXXFLAGS="-arch x86_64 -g -Os -pipe" \
LDFLAGS="-arch x86_64 -bind_at_load" \
export CFLAGS CXXFLAGS LDFLAGS CCFLAGS MACOSX_DEPLOYMENT_TARGET

'./configure' \
'--disable-all' \
'--with-apxs2=/usr/sbin/apxs' \
'--with-mysql=/usr/local/mysql' \
'--with-mysqli=/usr/local/mysql/bin/mysql_config' \
'--prefix=/usr/local/php' \
'--with-config-file-path=/usr/local/php' \
'--with-zlib' \
'--with-gettext=/opt/local' \
'--with-gdbm=/opt/local' \
'--with-mcrypt=/opt/local' \
'--with-curl=/opt/local' \
'--with-openssl' \
'--with-sqlite' \
'--enable-sqlite-utf8' \
'--enable-libxml' \
'--enable-simplexml' \
'--enable-xml' \
'--enable-xmlreader' \
'--enable-xmlwriter' \
'--enable-dom' \
'--with-pcre-regex' \
'--enable-session' \
'--enable-spl' \
'--with-gd' \
'--with-jpeg-dir=/opt/local' \
'--with-png-dir=/opt/local' \
'--with-freetype-dir=/opt/local' \
'--enable-ctype' \
'--with-iconv=/opt/local' \
'--with-xsl' \
'--with-pear' \
'--enable-hash' \
'--enable-json' \
'--enable-mbstring' \
'--enable-pdo' \
'--with-pdo-sqlite' \
'--enable-ftp' \
'--with-pdo-dblib=/opt/local' \
'--enable-shmop' \
'--enable-pcntl' \
'--enable-posix'

Any ideas?

Thanks,
Juan



[Index of Archives]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [Postgresql]     [PHP Books]     [PHP Databases]     [PHP SOAP]
  Powered by Linux