server4you RootDS > PHP5 ?

Harlequin

Registered User
Servus,

habe einen server4you vServer RootsDS mit Confixx mit PHP 4.3.10

Nun möchte ich stattdessen PHP5 installieren.
Bin Server-Laie, habe keinen Plan von nichts ;-)

Habe in den letzten Tagen dieses und andere Foren durchgearbeitet, Bisons und devels und andere Dinge aus der Unterwelt installiert und bin jetzt bis zu folgendem Punkt vorgedrungen:

Nach './configure' kommt diese Abort-Meldung (siehe unten):

'./configure' '--prefix=/usr' '--datadir=/usr/share/php5' '--mandir=/usr/share/man' '--bindir=/usr/bin' '--libdir=/usr/share' '--includedir=/usr/include' '--sysconfdir=/etc' '--with-_lib=lib' '--with-config-file-path=/etc' '--with-exec-dir=/usr/lib/php/bin' '--disable-debug' '--enable-inline-optimization' '--enable-memory-limit' '--enable-magic-quotes' '--enable-safe-mode' '--enable-sigchild' '--disable-ctype' '--disable-session' '--with-mysql=/usr/share/' '--disable-cli' '--with-pear=/usr/share/pear' '--with-openssl' '--with-apxs2=/usr/sbin/apxs2' '--with-libxml-dir=/usr/share/php5' '--with-xsl=/usr/share/php5' '--with-pdflib=/usr/share/php5' '--with-gd' '--with-jpeg-dir=/usr/share/php5' '--with-png-dir=/usr/share/php5' '--enable-pic' '--with-zlib-dir=/usr' '--with-freetype-dir=/usr/share/php5' '--with-t1lib=/usr/share/php5' '--with-imap=../imap-2002d' '--with-imap-ssl=/usr' '--with-gettext=/usr/share/php5' '--with-xmlrpc' '--with-expat-dir=/usr/share/php5' '--with-iconv-dir=/usr' '--with-curl=/usr/share/php5' '--enable-exif' '--enable-ftp' '--enable-sockets' '--enable-dbx' '--enable-dbase' '--enable-mbstring' '--enable-calendar' '--with-bz2=/usr' '--with-mcrypt=/usr/share/php5' '--with-mhash=/usr/share/php5' '--enable-openbase_module' '--enable-bcmath' '--without-pgsql' '--cache-file=../config.cache' '--sharedstatedir=/usr/com' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--enable-force-cgi-redirect' 'i586-suse-linux'

loading cache ../config.cache
checking for Cygwin environment... no
checking for mingw32 environment... no
checking for egrep... grep -E
checking for a sed that does not truncate output... /usr/bin/sed
checking host system type... i586-suse-linux-gnu
checking target system type... i586-suse-linux-gnu
checking for gcc... 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... yes
checking whether gcc accepts -g... yes
checking whether gcc and cc understand -c and -o together... yes
checking how to run the C preprocessor... gcc -E
checking for AIX... no
checking whether ln -s works... yes
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking for re2c... no
configure: warning: You will need re2c 0.9.11 or later if you want to regenerate PHP parsers.
checking for gawk... gawk
checking for bison... bison -y
checking for bison version... 2.1 (ok)
checking for flex... flex
checking for yywrap in -lfl... yes
checking lex output file root... lex.yy
checking whether yytext is a pointer... yes
checking for working const... yes
checking for flex version... 2.5.4 (ok)
checking whether to force non-PIC code in shared modules... yes
checking for pthreads_cflags... -pthread
checking for pthreads_lib...

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 for mod_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 /usr/sbin/apxs2 follows:
/usr/sbin/apxs2: line 1: .": command not found
/usr/sbin/apxs2: line 2: .": command not found
/usr/sbin/apxs2: line 3: .": command not found
/usr/sbin/apxs2: line 4: .de: command not found
/usr/sbin/apxs2: line 5: .br: command not found
/usr/sbin/apxs2: line 6: .if: command not found
/usr/sbin/apxs2: line 7: .ne: command not found
/usr/sbin/apxs2: line 8: .PP: command not found
/usr/sbin/apxs2: line 9: fB\-qfR: command not found
/usr/sbin/apxs2: line 10: .PP: command not found
/usr/sbin/apxs2: line 11: ..: command not found
/usr/sbin/apxs2: line 12: syntax error near unexpected token `('
/usr/sbin/apxs2: line 12: `.de Sp \" Vertical space (when we can't use .PP)'
configure: error: Aborting

Wer weiss weiter, für Hilfe schon mal vielen Dank.
Gruss Harlequin

.
 
Also ich würde das Paket XAMMP verwenden. Da kannst du sogar zwischen PHP 4 und 5 wählen beim installieren und hast eine darauf agestimmte Mysql Version dabei.
 
Habe es gerade mal probiert und bekomme folgende Fehlermeldung:

www:/usr/local/src # rpm -i php5-5.1.2-3.1.20060127.i586.rpm
warning: php5-5.1.2-3.1.20060127.i586.rpm: V3 DSA signature: NOKEY, key ID efb694ea
error: Failed dependencies:
libmm.so.13 is needed by php5-5.1.2-3.1.20060127
www:/usr/local/src #

.
 
OK, nach Nachinstallation von ftp.suse.com/pub/suse/i386/9.2/suse/i586/mm-1.3.0-123.i586.rpm und Ausführung der PHP5 rpm bin ich jetzt durchgedrungen bis:

www:/usr/local/src # rpm -i php5-5.1.2-3.1.20060127.i586.rpm
warning: php5-5.1.2-3.1.20060127.i586.rpm: V3 DSA signature: NOKEY, key ID efb694ea
package php5-5.1.2-3.1.20060127 is already installed
www:/usr/local/src #

PHP5.1.2 müsste jetzt doch installiert sein, oder?

Aber die info.php zeigt mir immer noch PHP 4.3.10 an. Warum?

.
 
Es fehlen die libphp5.so Dateien.

Unter usr/share/ befindet sich jetzt neben dem alten PHP-Ordner auch ein PHP5-Ordner, der ist allerdings leer.

Auch andere PHP5-Ordner wurden angelegt, aber alle leer.

.
 
Last edited by a moderator:
1.) yast
2.) Software -> Software Installieren oder löschen
3.) Suche nach "php"
4.) Die ganzen php4-* Packete "entfernen"
5.) Die ganzen php5-* Packete installieren lassen
6.) Übernehmen
7.) Warten
8.) Apache neu starten
9.) Happy Penguin :)
 
Auf yast komme ich per Terminal > ssh
aber die Tastatureingaben der angezeigten Shortcuts bleiben ohne Wirkung.
Ausserdem wird als Software nur Confixx angezeigt.
?

.
 
So, wieder ein Stück weiter, './configure' bricht jetzt ab an dem Punkt:

checking for MySQL support... yes
checking for specified location of the MySQL UNIX socket... no
checking for MySQL UNIX socket location... no
configure: error: Cannot find MySQL header files under /usr/local/src/php-5.1.2/ext/mysql.
Note that the MySQL client library is not bundled anymore!

Ich habe auch schon alle anderen mysql Verzeichnisse bei './configure' versucht.

?

.
 
Last edited by a moderator:
Bin wieder am Anfang, bei apxs2 ist Schluss:

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 for mod_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 /usr/sbin/apxs2 follows:
/usr/sbin/apxs2: line 1: .": command not found
/usr/sbin/apxs2: line 2: .": command not found
/usr/sbin/apxs2: line 3: .": command not found
/usr/sbin/apxs2: line 4: .de: command not found
/usr/sbin/apxs2: line 5: .br: command not found
/usr/sbin/apxs2: line 6: .if: command not found
/usr/sbin/apxs2: line 7: .ne: command not found
/usr/sbin/apxs2: line 8: .PP: command not found
/usr/sbin/apxs2: line 9: fB\-qfR: command not found
/usr/sbin/apxs2: line 10: .PP: command not found
/usr/sbin/apxs2: line 11: ..: command not found
/usr/sbin/apxs2: line 12: syntax error near unexpected token `('
/usr/sbin/apxs2: line 12: `.de Sp \" Vertical space (when we can't use .PP)'
configure: error: Aborting

.
 
...und ich bleib dabei,...
Warum machst du es dir so schwer wenn du es ganz leicht mit 2 Clicks und Yast machen kannst...
 
Auf yast komme ich per Terminal > ssh
aber die Tastatureingaben der angezeigten Shortcuts bleiben ohne Wirkung.
Ausserdem wird als Software nur Confixx angezeigt.
 
Back
Top