Probleme nach PHP-Installation

lonestar

New Member
Hi

Hatte schon vor ein Tagen gepostet das bei der Installation von PHP auf meinem Server irgendetwas schiefgelaufen ist. Inzwischen hab ich die meisten Probleme lösen können.

Zwei Probleme bestehen leider immer noch. Zum einen bekomm ich Pear nicht zu laufen und zweitens scheint irgend etwas mit gd nicht zu stimmen.

Hier erst mal meine Serverdaten: vserver (S4Y) Suse 9.3
Hatte bis jetzt PHP 5.0.3 drauf. Über Yast installiert. Und jetzt die 5.2.6 installiert.

Bei GD hab ich das Problem das auf meiner Seite die Captchas nicht angezeigt werden. Lt. Google wahrscheinlich ein Problem mit freetype. Pear war bis jetzt auch per Yast installiert.

Code:
./configure --program-prefix= --prefix=/usr/local/php5 --datadir=/usr/share/php5 --mandir=/usr/share/man/php5 --bindir=/usr/local/php5/bin --exec-prefix=/usr/local/php5 --includedir=/usr/include/php5 --sysconfdir=/etc/php5 --localstatedir=/var --with-config-file-path=/etc/php5 --with-exec-dir=/usr/lib/php5/bin --disable-debug --enable-inline-optimization --enable-memory-limit --enable-magic-quotes --enable-safe-mode --enable-sigchild --enable-session --with-mysql=/usr --enable-cli --with-pear --with-openssl --without-pgsql --with-config-file=/etc/php5/php.ini --with-apxs2=/usr/sbin/apxs2-prefork --with-_lib=lib --enable-exif --enable-ftp --enable-gd-imgstrttf --enable-gd-native-ttf --enable-magic-quotes --enable-mbstring --enable-memory-limit --with-bz2 --with-ftp --with-jpeg-dir=/usr --with-png-dir=/usr --with-tiff-dir=/usr --with-ttf --with-zlib=yes --with-gd --with-freetype-dir=/usr --with-ttf=/usr --enable-gd-native-tt --enable-gd-native-ttf


Notice: Following unknown configure options were used:

--enable-memory-limit
--with-config-file=/etc/php5/php.ini
--with-_lib=lib
--enable-gd-imgstrttf
--enable-memory-limit
--with-ftp
--with-tiff-dir=/usr

make install bringt:
Code:
Installing PHP SAPI module:       apache2handler
/usr/share/apache2/build/instdso.sh SH_LIBTOOL='/usr/share/apache2/build/libtool' libphp5.la /usr/lib/apache2-prefork
/usr/share/apache2/build/libtool --mode=install cp libphp5.la /usr/lib/apache2-prefork/
cp .libs/libphp5.so /usr/lib/apache2-prefork/libphp5.so
cp .libs/libphp5.lai /usr/lib/apache2-prefork/libphp5.la
libtool: install: warning: remember to run `libtool --finish /root/php-5.2.6/libs'
chmod 755 /usr/lib/apache2-prefork/libphp5.so
[activating module `php5' in /etc/apache2/httpd2-prefork.conf]
Installing PHP CLI binary:        /usr/local/php5/bin/
Installing PHP CLI man page:      /usr/share/man/php5/man1/
Installing build environment:     /usr/local/php5/lib/php/build/
Installing header files:          /usr/include/php5/php/
Installing helper programs:       /usr/local/php5/bin/
  program: phpize
  program: php-config
Installing man pages:             /usr/share/man/php5/man1/
  page: phpize.1
  page: php-config.1
Installing PEAR environment:      /usr/local/php5/lib/php/

Warning: Cannot use a scalar value as an array in phar://install-pear-nozlib.phar/PEAR/PackageFile/Generator/v1.php on line 720
u.s.w. (noch mehr pear-fehler)

Komm nicht mehr weiter und hoffe auf eure Hilfe.

Danke schonmal im Voraus

Gruß

lonestar

PS: Hier die phpinfo
 
Keiner einen Plan. Ich dachte hier wären soviel fähige Leute. Leider meldet sich der S4Y Support auch nicht zurück. Vielleicht findet sich ja hier einer der das in die Hand nehmen möchte. Natürlich nicht umsonst.


Gruß

Lonestar
 
Hi,

warum führst Du überhaupt ein 'make' aus, wenn Dein ./configure Dir schon sagt, dass das so nix wird?
Korrigier erstmal Deine configure-line. Danach kannst Du es dann erneut versuchen, nachdem Du ein 'make clean' gemacht hast.


-W
 
Nur mal so nebenbei bemerkt:
Code:
--enable-memory-limit
gibt es seit PHP 5.2.1 nicht mehr, weil es dort eh immer aktiviert ist.

Code:
./configure --help
sollte eigentlich ganz hilfreich sein...
 
Back
Top