Bei SuSe müssen Sie in der Datei /etc/sysconfig/apache2 „php4“ mit „php5“ in der
Zeile „APACHE_MODULES=“ bei einem Update abändern.
APACHE_MODULES="access actions alias auth auth_dbm autoindex cgi dir env expires include log_config mime negotiation setenvif ssl suexec userdir php4 php5 rewrite"
## Type: string
## Default: ""
## ServiceRestart: apache2
[Sun Oct 15 12:00:09 2006] [warn] module rewrite_module is already loaded, skipping
[Sun Oct 15 12:00:09 2006] [warn] NameVirtualHost 85.25.135.115:80 has no VirtualHosts
Syntax OK
Starting httpd2 (prefork) [Sun Oct 15 12:00:09 2006] [warn] module rewrite_module is already loaded, skipping
[Sun Oct 15 12:00:09 2006] [warn] NameVirtualHost 85.25.135.115:80 has no VirtualHosts
failed
/etc# /etc/init.d/apache2 start
Starting web server: Apache2/usr/sbin/apache2ctl: line 100: 11265 Segmentation fault $HTTPD -k start -DSSL
./configure --prefix=/usr --with-apxs2=/usr/bin/apxs2 --with-config-file-path=/etc/php5/ --enable-memory-limit --disable-debug --with-regex=php --disable-rpath --disable-static --with-pic --with-layout=GNU --with-pear=/usr/share/php --enable-calendar --enable-sysvsem --enable-sysvshm --enable-sysvmsg --enable-track-vars --enable-trans-sid --enable-bcmath --enable-ctype --with-db4 --with-iconv --enable-exif --enable-filepro --enable-ftp --with-gettext --enable-mbstring --with-pcre-regex=/usr --enable-shmop --enable-sockets --enable-wddx --disable-xml --with-expat-dir=/usr --with-xmlrpc --enable-yp --with-zlib --without-pgsql --with-kerberos=/usr --with-openssl=/usr --with-zip=/usr --enable-dbx --with-mime-magic=/usr/share/misc/file/magic.mime --with-exec-dir=/usr/lib/php5/libexec --without-mm --without-mysql --without-sybase-ct
[Wed Oct 18 23:12:35 2006] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Wed Oct 18 23:12:35 2006] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Wed Oct 18 23:12:35 2006] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Wed Oct 18 23:12:35 2006] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec2)
Das Modul mod_rewrite wird mehr als einmal geladen. Das fuehrt zu dieser Meldung.[Sun Oct 15 12:00:09 2006] [warn] module rewrite_module is already loaded, skipping
[Sun Oct 15 12:00:09 2006] [warn] NameVirtualHost 85.25.135.115:80 has no VirtualHosts
Syntax OK
allerdings läuft mein gameserver und meine TS server auch nicht mehr!
Die Idee mit dem Output in File umleiten hatte ich auch gerade Lass es mal durchlaufen und dann schau ich weiter bzw. poste nochmal@reallumpi
Sind "./configure, mak, make install" wirklich ohne Fehler durchgelaufen?
Hast du die Ausgabe der einzelnen Schritte in eine Datei umgeleitet und nachgeschaut?
Wahrscheinlich gab es doch einen Fehler.
Ich habe den Fehler ab und an mal, wenn ich neue Sachen in PHP einkompelliere und diese Sachen nicht ganz richtig installiert waren.
/root/php-5.1.6/ext/date/lib/tm2unixtime.c: In function `do_years':
/root/php-5.1.6/ext/date/lib/tm2unixtime.c:143: warning: integer constant is too large for "long" type
/root/php-5.1.6/ext/standard/datetime.c: In function `zif_strptime':
/root/php-5.1.6/ext/standard/datetime.c:104: warning: assignment makes pointer f rom integer without a cast
/root/php-5.1.6/ext/xmlrpc/xmlrpc-epi-php.c: In function `zif_xmlrpc_encode_requ est':
/root/php-5.1.6/ext/xmlrpc/xmlrpc-epi-php.c:691: warning: passing arg 1 of `_efr ee' discards qualifiers from pointer target type
/root/php-5.1.6/ext/xmlrpc/libxmlrpc/xml_element.c: In function `xml_elem_parse_ buf':
/root/php-5.1.6/ext/xmlrpc/libxmlrpc/xml_element.c:700: warning: passing arg 2 o f `php_XML_SetElementHandler' from incompatible pointer type
/root/php-5.1.6/ext/xmlrpc/libxmlrpc/xml_element.c:700: warning: passing arg 3 o f `php_XML_SetElementHandler' from incompatible pointer type
/root/php-5.1.6/ext/xmlrpc/libxmlrpc/xml_element.c:701: warning: passing arg 2 o f `php_XML_SetCharacterDataHandler' from incompatible pointer type
Was soll ich machen? Ich bin totaler newbie! Benutze Debain Sarge.homeserver:~/php-5.2.0# make
make: *** Keine Targets angegeben und keine »make«-Steuerdatei gefunden. Schluss.
Wenn du mit der alten Version 5.1.6 (neu: 5.2.0) zufrieden bist, ist dies durchaus auch ein Lösungsweg.Ich rate Dir PHP5 aus nicht selbst zu kompilieren, sondern aus einem Paket zu installieren. Die Pakete gibt es auf http://www.backports.org.
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 libmysqlclient under /usr.
Note that the MySQL client library is not bundled anymore!
./configure '--prefix=/user' '--datadir=/usr/share/php' '--mandir=/usr/share/man' '--bindir=/usr/bin' '--libdir=/usr/lib64' '--includedir=/usr/include' '--sysconfdir=/etc' '--with-libdir=/usr/lib64' '--with-config-file-path=/etc' '--with-exec-dir=/usr/lib64/php/bin' '--disable-debug' '--enable-inline-optimization' '--enable-memory-limit' '--enable-magic-quotes' '--enable-safe-mode' '--enable-sigchild' '--enable-ctype' '--enable-session' '--with-mysql=/usr' '--without-pgsql' '--enable-cli' '--with-pear' '--with-openssl-dir=/usr/include/openssl' '--with-apxs2=/usr/sbin/apxs2-prefork'
cp *.h ./include/
mc
checking for specified location of the MySQL UNIX socket... no
checking for MySQL UNIX socket location... no
configure: error: Cannot find libmysqlclient under /usr/include/mysql.
Note that the MySQL client library is not bundled anymore!
checking for MySQL support... yes
checking for specified location of the MySQL UNIX socket... no
checking for MySQL UNIX socket location... /var/lib/mysql/mysql.sock
configure: error: Cannot find libmysqlclient under /usr.
configure: error: Cannot find libmysqlclient under /usr.
/usr/include/mysql # ls -l
insgesamt 320
drwxr-xr-x 4 root root 4096 2006-11-09 12:30 .
drwxr-xr-x 44 root root 4096 2006-10-24 23:04 ..
-rw-r--r-- 1 root root 3428 2005-09-09 20:42 errmsg.h
drwxr-xr-x 2 root root 4096 2006-11-09 10:48 include
-rw-r--r-- 1 root root 6774 2005-09-09 20:43 keycache.h
drwxr-xr-x 2 root root 4096 2006-11-09 12:35 lib
-rw-r--r-- 1 root root 17851 2005-09-09 20:43 m_ctype.h
-rw-r--r-- 1 root root 8085 2005-09-09 20:42 m_string.h
...
/usr/include/mysql # ls -l include
insgesamt 312
drwxr-xr-x 2 root root 4096 2006-11-09 10:48 .
drwxr-xr-x 4 root root 4096 2006-11-09 12:30 ..
-rw-r--r-- 1 root root 3428 2006-11-09 10:48 errmsg.h
-rw-r--r-- 1 root root 6774 2006-11-09 10:48 keycache.h
-rw-r--r-- 1 root root 17851 2006-11-09 10:48 m_ctype.h
...
/usr/include/mysql/lib # ls -l
insgesamt 8
drwxr-xr-x 2 root root 4096 2006-11-09 18:37 .
drwxr-xr-x 4 root root 4096 2006-11-09 12:30 ..
lrwxr-xr-x 1 root root 37 2006-11-09 12:34 libmysqlclient_r.so -> /usr/lib64/libmysqlclient_r.so.14.0.0
lrwxr-xr-x 1 root root 35 2006-11-09 12:32 libmysqlclient.so -> /usr/lib64/libmysqlclient.so.14.0.0
/usr/include/mysql # ls -l /usr/lib64 | grep mysql
lrwxr-xr-x 1 root root 26 2006-10-24 15:38 libmysqlclient_r.so -> libmysqlclient_r.so.14.0.0
lrwxr-xr-x 1 root root 26 2006-10-24 15:37 libmysqlclient_r.so.14 -> libmysqlclient_r.so.14.0.0
-rwxr-xr-x 1 root root 1223592 2005-09-09 20:44 libmysqlclient_r.so.14.0.0
lrwxr-xr-x 1 root root 24 2006-10-24 15:38 libmysqlclient.so -> libmysqlclient.so.14.0.0
lrwxr-xr-x 1 root root 24 2006-10-24 15:37 libmysqlclient.so.14 -> libmysqlclient.so.14.0.0
-rwxr-xr-x 1 root root 1219272 2005-09-09 20:44 libmysqlclient.so.14.0.0
drwxr-xr-x 2 root root 4096 2006-10-24 17:25 mysql
./configure '--prefix=/usr' '--datadir=/usr/share/php' '--mandir=/usr/share/man' '--bindir=/usr/bin' '--libdir=/usr/lib64' '--includedir=/usr/include' '--sysconfdir=/etc' '--with-libdir=/usr/lib64' '--with-config-file-path=/etc' '--with-exec-dir=/usr/lib64/php/bin' '--disable-debug' '--enable-inline-optimization' '--enable-memory-limit' '--enable-magic-quotes' '--enable-safe-mode' '--enable-sigchild' '--enable-ctype' '--enable-session' '--with-mysql=/usr/include/mysql' '--without-pgsql' '--enable-cli' '--with-pear' '--with-openssl-dir=/usr/include/openssl' '--with-apxs2=/usr/sbin/apxs2-prefork'
--with-_lib=lib
'--with-libdir=/usr/lib64'
We use essential cookies to make this site work, and optional cookies to enhance your experience.