Hello all, Can anybody tell me the best way to install PHP 5.3 (currently in development) alongside a MacPorts install of PHP 5.2 on Apache? I'm having two problems in particular.
1) I tried downloading and installing the PHP 5.3 snapshot to /usr/local using the following ./configure: ./configure --prefix=/usr/local --enable-calendar --with-iconv=/opt/local --enable-exif --enable-ftp --enable-wddx --with-zlib=/opt/local --with-libxml-dir=/opt/local --with-gettext=/opt/local --with-xml --with-expat-dir=/opt/local --with-xmlrpc --enable-soap --enable-filepro --enable-bcmath --enable-trans-sid --enable-mbstring --enable-dbx --enable-dba --with-openssl=/opt/local --with-mhash=/opt/local --with-mcrypt=/opt/local --with-xsl=/opt/local --with-curl=/opt/local --with-pcre-regex=/opt/local --with-gd --with-jpeg-dir=/opt/local --with-png-dir=/opt/local --enable-gd-native-ttf --without-pear --with-freetype-dir=/opt/local --with-ldap=/usr --with-kerberos=/usr --with-iodbc=/usr --with-apxs2=/opt/local/apache2/bin/apxs --with-mysql=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_php5/work/mysql5 --with-pdo-mysql=/opt/local/bin/mysql_config5 --with-mysql-sock=/opt/local/var/run/mysql5/mysqld.sock --with-mysqli=/opt/local/bin/mysql_config5 --with-sqlite --with-pdo-sqlite=/opt/local --enable-sqlite-utf8 This is basically the same ./configure my MacPorts install uses, but with a different prefix. However, I get the following error during configure: checking for specified location of the MySQL UNIX socket... /opt/local/var/run/mysql5/mysqld.sock checking for MySQL UNIX socket location... /opt/local/var/run/mysql5/mysqld.sock configure: error: Cannot find MySQL header files under /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_php5/work/mysql5. Note that the MySQL client library is not bundled anymore! So when I take out --with-mysql, it compiles and installs fine, but I don't have the MySQL library. 2) Using the above method, the new Apache module overwrites the old module (/opt/local/apache2/modules/libphp5.so). This is just fine for running just 5.3, but I don't want to use it all the time! I only want 5.3 as a development version. Any help? Is there any way that I can install 5.3 so that I can just put a different extension on files that I'd like to use it for? .php53 maybe? Thanks, Michael
_______________________________________________ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users