If anyone knows how to get over this next hurdle, please let me know. I've spent a day so far trying to get PHP 3.2.2 installed in my current XAMPP environment.
I've downloaded the latest PHP source and from its directory, I run the command:
- Code: Select all
'./configure' '--prefix=/Applications/XAMPP/xamppfiles' '--program-suffix=-5.3.2' '--libdir=/Applications/XAMPP/xamppfiles/lib/php/php-5.3.2' '--includedir=/Applications/XAMPP/xamppfiles/include/php/php-5.3.2' '--with-apxs2=/Applications/XAMPP/xamppfiles/bin/apxs' '--with-config-file-path=/Applications/XAMPP/xamppfiles/etc' '--with-mysql=/Applications/XAMPP/xamppfiles' '--disable-debug' '--enable-cli' '--enable-cgi' '--enable-bcmath' '--enable-calendar' '--enable-ctype' '--enable-discard-path' '--enable-filepro' '--enable-filter' '--enable-force-cgi-redirect' '--enable-fastcgi' '--enable-ftp' '--enable-hash' '--enable-ipv6' '--enable-json' '--enable-odbc' '--enable-path-info-check' '--enable-gd-imgstrttf' '--enable-gd-native-ttf' '--with-ttf' '--enable-magic-quotes' '--enable-memory-limit' '--enable-safe-mode' '--enable-shmop' '--enable-sysvsem' '--enable-sysvshm' '--enable-track-vars' '--enable-trans-sid' '--enable-reflection' '--enable-session' '--enable-spl' '--enable-tokenizer' '--enable-wddx' '--enable-yp' '--enable-xmlreader' '--enable-xmlwriter' '--enable-zlib' '--enable-zts' '--with-simplexml' '--with-iconv' '--with-libxml' '--with-wddx' '--with-xml' '--with-ftp' '--with-ncurses=/Applications/XAMPP/xamppfiles' '--with-gdbm=/Applications/XAMPP/xamppfiles' '--with-jpeg-dir=/Applications/XAMPP/xamppfiles' '--with-png-dir=/Applications/XAMPP/xamppfiles' '--with-freetype-dir=/Applications/XAMPP/xamppfiles' '--without-xpm' '--with-zlib=shared' '--with-zlib-dir=/Applications/XAMPP/xamppfiles' '--with-openssl=/Applications/XAMPP/xamppfiles' '--with-expat-dir=/Applications/XAMPP/xamppfiles' '--enable-xslt=shared,/Applications/XAMPP/xamppfiles' '--with-xsl=shared,/Applications/XAMPP/xamppfiles' '--with-dom=shared,/Applications/XAMPP/xamppfiles' '--with-ldap=shared,/Applications/XAMPP/xamppfiles' '--with-gd=shared' '--with-mysql-sock=/Applications/XAMPP/xamppfiles/var/mysql/mysql.sock' '--with-mcrypt=/Applications/XAMPP/xamppfiles' '--with-mhash=/Applications/XAMPP/xamppfiles' '--enable-sockets' '--enable-zend-multibyte' '--with-libxml-dir=/Applications/XAMPP/xamppfiles' '--enable-pcntl' '--enable-dbx=shared' '--with-mysqli=shared,/Applications/XAMPP/xamppfiles/bin/mysql_config' '--with-pear=/Applications/XAMPP/xamppfiles/lib/php/pear' '--with-mssql=/Applications/XAMPP/xamppfiles' '--with-imap-dir=/Applications/XAMPP/xamppfiles' '--with-imap=shared,/Applications/XAMPP/xamppfiles' '--enable-mbstring=shared,all' '--with-pgsql=shared,/Applications/XAMPP/xamppfiles' '--with-gettext=/Applications/XAMPP/xamppfiles' '--enable-apache2-2filter=shared' '--enable-apache2-2handler=shared' '--with-bz2=shared' '--with-curl=shared' '--with-dba=shared' '--enable-dbase=shared' '--with-fdf=shared' '--enable-mbregex' '--enable-mbregex-backtrack' '--with-mime-magic=shared' '--with-mysql=shared,/Applications/XAMPP/xamppfiles' '--enable-shmop=shared' '--with-snmp=shared' '--enable-sockets=shared' '--enable-pdo' '--with-sqlite=shared' '--enable-zip=shared,/Applications/XAMPP/xamppfiles' '--enable-exif=shared' '--with-pdo-mssql=shared,/Applications/XAMPP/xamppfiles' '--with-pdo-mysql=shared,/Applications/XAMPP/xamppfiles/bin/mysql_config' '--with-pdo-pgsql=shared,/Applications/XAMPP/xamppfiles' '--with-pdo-sqlite=shared' '--with-pdo-sqlite-external=shared' '--enable-soap=shared' '--with-xmlrpc=shared' '--with-oracle=shared' '--with-pdf=shared' '--with-sqlite3=shared,/Applications/XAMPP/xamppfiles' '--with-apxs2=/Applications/XAMPP/xamppfiles/bin/apxs'
the resulting error message is:
- Code: Select all
loading cache ./config.cache
checking for Cygwin environment... (cached) no
checking for mingw32 environment... (cached) no
checking for egrep... (cached) grep -E
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking host system type... i386-apple-darwin9.8.0
checking target system type... i386-apple-darwin9.8.0
checking for gcc... (cached) gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking how to run the C preprocessor... (cached) gcc -E
checking for icc... no
checking for suncc... no
checking whether gcc and cc understand -c and -o together... (cached) yes
checking how to run the C preprocessor... gcc -E
checking for AIX... no
checking whether ln -s works... (cached) yes
checking for system library directory... lib
checking whether to enable runpaths... yes
checking if compiler supports -R... (cached) no
checking if compiler supports -Wl,-rpath,... (cached) yes
checking for gawk... (cached) awk
checking if awk is broken... no
checking for bison... (cached) bison -y
checking for bison version... (cached) 2.3 (ok)
checking for re2c... no
configure: warning: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers.
checking whether to enable computed goto gcc extension with re2c... no
checking whether gcc supports -no-cpp-precomp... (cached) yes
checking whether to force non-PIC code in shared modules... no
checking whether /dev/urandom exists... yes
checking for pthreads_cflags... (cached)
checking for pthreads_lib... (cached)
Configuring SAPI modules
checking for AOLserver support... no
checking for Apache 1.x module support via DSO through APXS... no
checking for Apache 1.x module support... no
checking whether to enable Apache charset compatibility option... no
checking for Apache 2.0 filter-module support via DSO through APXS... no
checking for Apache 2.0 handler-module support via DSO through APXS...
Sorry, I cannot run apxs. Possible reasons follow:
1. Perl is not installed
2. apxs was not found. Try to pass the path using --with-apxs2=/path/to/apxs
3. Apache was not built using --enable-so (the apxs usage page is displayed)
The output of /Applications/XAMPP/xamppfiles/bin/apxs follows:
cannot open /Applications/XAMPP/xamppfiles/build/config_vars.mk: No such file or directory at /Applications/XAMPP/xamppfiles/bin/apxs line 218.
configure: error: Aborting
Anyone? Apparently there's a bug in this version of PHP with SOAP that I need to update around.