PHP compilieren und Version updaten geht nicht
Posted: 2004-01-26 15:34
Hallo.
Ich habe PHP in den Ordner: usr/src/php-4.3.4 entpacket.
Nun führe ich PHP mit folgendem Befehl aus:
./configure --prefix=/usr/share --datadir=/usr/share/php
--bindir=/usr/bin --libdir=/usr/share --includedir=/usr/include
--with-_lib=lib --with-config-file-path=/etc
--with-exec-dir=/usr/lib/php/bin --disable-debug --enable-bcmath
--enable-calendar --enable-ctype --enable-dbase --enable-discard-path
--enable-exif --enable-filepro --enable-force-cgi-redirect --enable-ftp
--enable-gd-imgstrttf --enable-gd-native-ttf
--enable-inline-optimization --enable-magic-quotes
--enable-mbstr-enc-trans --enable-mbstring --enable-memory-limit
--enable-safe-mode --enable-shmop --enable-sigchild --enable-sysvsem
--enable-sysvshm --enable-track-vars --enable-trans-sid
--enable-versioning --enable-wddx --with-bz2
--with-dom=/usr/include/libxml2 --with-ftp --with-gdbm --with-gettext
--with-gmp --with-iodbc --with-jpeg-dir=/usr --with-ldap=yes
--with-mcal=/usr --with-mcrypt --with-mysql=/usr --with-ndbm
--with-pgsql=/usr --with-png-dir=/usr --with-t1lib --with-tiff-dir=/usr
--with-ttf --with-freetype-dir=yes --with-xml --with-xpm-dir=/usr/X11R6
--with-zlib=yes --with-gd=shared --with-openssl --with-curl
--with-swf=./dist/ --with-mm --with-apxs=/usr/sbin/apxs i586-suse-linux
--enable-sockets
Das funktioniert auch alles.
Danach starte ich den Apache neu mit dem Befehl: rcapache restart
Jedoch ist immernoch die alte PHP Version aktiv.
http://www.wbb2host.de/phpinfo.php
Ich habe PHP in den Ordner: usr/src/php-4.3.4 entpacket.
Nun führe ich PHP mit folgendem Befehl aus:
./configure --prefix=/usr/share --datadir=/usr/share/php
--bindir=/usr/bin --libdir=/usr/share --includedir=/usr/include
--with-_lib=lib --with-config-file-path=/etc
--with-exec-dir=/usr/lib/php/bin --disable-debug --enable-bcmath
--enable-calendar --enable-ctype --enable-dbase --enable-discard-path
--enable-exif --enable-filepro --enable-force-cgi-redirect --enable-ftp
--enable-gd-imgstrttf --enable-gd-native-ttf
--enable-inline-optimization --enable-magic-quotes
--enable-mbstr-enc-trans --enable-mbstring --enable-memory-limit
--enable-safe-mode --enable-shmop --enable-sigchild --enable-sysvsem
--enable-sysvshm --enable-track-vars --enable-trans-sid
--enable-versioning --enable-wddx --with-bz2
--with-dom=/usr/include/libxml2 --with-ftp --with-gdbm --with-gettext
--with-gmp --with-iodbc --with-jpeg-dir=/usr --with-ldap=yes
--with-mcal=/usr --with-mcrypt --with-mysql=/usr --with-ndbm
--with-pgsql=/usr --with-png-dir=/usr --with-t1lib --with-tiff-dir=/usr
--with-ttf --with-freetype-dir=yes --with-xml --with-xpm-dir=/usr/X11R6
--with-zlib=yes --with-gd=shared --with-openssl --with-curl
--with-swf=./dist/ --with-mm --with-apxs=/usr/sbin/apxs i586-suse-linux
--enable-sockets
Das funktioniert auch alles.
Danach starte ich den Apache neu mit dem Befehl: rcapache restart
Jedoch ist immernoch die alte PHP Version aktiv.
http://www.wbb2host.de/phpinfo.php