Hallo zusammen,
Ich versuche cURL zu installieren, aber irgendwie geht es nicht. Es wird, wenn ich mir die Module in einem Array anzeigen lasse, nur mit /usr/bin/php5 angezeigt, aber mit /usr/bin/php nicht:
Server:/tmp/php # /usr/bin/php -v
PHP 5.2.5 (cli) (built: Oct 29 2009 11:05:53)
Copyright (c) 1997-2007 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
Server:/tmp/php # /usr/bin/php module-test.php
Array
(
[0] => libxml
[1] => xsl
[2] => xmlwriter
[3] => dom
[4] => xmlreader
[5] => xml
[6] => tokenizer
[7] => session
[8] => pcre
[9] => SimpleXML
[10] => SPL
[11] => PDO
[12] => soap
[13] => SQLite
[14] => standard
[15] => Reflection
[16] => posix
[17] => pdo_sqlite
[18] => pdo_mysql
[19] => mysqli
[20] => mysql
[21] => mcrypt
[22] => mbstring
[23] => json
[24] => interbase
[25] => iconv
[26] => hash
[27] => gd
[28] => ftp
[29] => filter
[30] => date
[31] => curl
[32] => ctype
[33] => calendar
[34] => bz2
[35] => bcmath
[36] => zlib
[37] => openssl
)
Server:/tmp/php # /usr/bin/php5 -v
PHP 5.1.2 with Suhosin-Patch 0.9.6 (cli) (built: May 18 2007 12:14:11)
Copyright (c) 1997-2006 The PHP Group
Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies
Server:/tmp/php # /usr/bin/php5 module-test.php
Array
(
[0] => libxml
[1] => xml
[2] => standard
[3] => SimpleXML
[4] => SPL
[5] => session
[6] => Reflection
[7] => hash
[8] => date
[9] => pcre
[10] => curl
[11] => mcrypt
[12] => mysql
[13] => openssl
[14] => PDO
[15] => pdo_mysql
)
Eigentlich kompiliere ich mit PHP 5.2.5.
Hier der configure-Befehl:
#! /bin/sh
./configure --prefix=/usr \
--bindir=/usr/bin \
--with-apxs2=/usr/sbin/apxs2-prefork \
--includedir=/usr/include \
--with-config-file-path=/etc/php \
--enable-mbstring \
--enable-mbregex \
--with-mysql \
--with-mysqli \
--with-mcrypt=/usr/lib \
--with-curl=/usr/include/curl \
--with-gd \
--enable-gd-native-ttf \
--with-zlib-dir=/usr/lib \
--with-png-dir=/usr/lib \
--with-jpeg-dir=/usr/lib \
--with-ttf=/usr/lib \
--with-freetype-dir=/usr/lib \
--enable-ftp \
--enable-safe-mode \
--enable-bcmath \
--enable-calendar \
--enable-ctype \
--with-bz2 \
--enable-inline-optimization \
--with-iconv \
--with-libxml-dir=/usr/lib \
--with-zlib-dir=/usr/lib \
--with-xsl=/usr/lib \
--enable-cli \
--enable-soap \
--with-openssl \
--with-pdo-mysql \
--with-interbase=shared,/opt/firebird
Könnt ihr mir hier helfen?
Gruss
hombre