[HowTo] PHP5 installieren

  • Thread starter Thread starter server4downs
  • Start date Start date
leider ohne erfolg = ich erhalte die gleiche meldung

also ist die meldung normal und php5 wurde ordnunggemäss installiert?
 
leider ohne erfolg = ich erhalte die gleiche meldung

also ist die meldung normal und php5 wurde ordnunggemäss installiert?

Weshalb findest Du es nicht heraus? Lege in deinen host oder einen deiner vhosts eine phpinfo datei und rufe sie per Browser auf...

alternativ kannst du an der Konsole mal php[TAB][TAB] eingeben um zu schauen, was für binarys installiert sind.

Und nein, das ist kein Fehler.
 
HiHo!

Wie gesagt so getan.

nu ist die seite nicht aufrufbar

v32196:~/php-5.2.3# /etc/init.d/apache2 restart
Forcing reload of web server: Apache2 ... no pidfile found! not running?/usr/sbin/apache2ctl: line 100: 1542 Segmentation fault $HTTPD -k start -DSSL
v32196:~/php-5.2.3#

und wenn ich es über plesk starten will
Der Dienst ist zurzeit nicht verfügbar, möglicherweise ist Ihr Plesk falsch konfiguriert.
Kontaktieren Sie Ihren Provider für Details

Internal Plesk error occurred: Unable to make action: Unable to manage service by websrvmng: websrvmng: Service /etc/init.d/apache2 failed to start
 
Wo finde ich den die Apache-Error-Log?

php.ini da habe ich noch nix dran gemacht!

laut ./configure muss es hier sein --with-config-file-path=/etc/php5/apache2

in ect is aber nur kein php nur /etc/php4/apache2/php.ini

Muss ich da selber die ordner erstellen und dann aus dem entpackten php5 verzeichniss die .ini da rein kopieren
 
Wenn Du die phpinfo im Browser aufrufst, findest Du unter Loaded Configuration Fileden Pfad zur verwendeten php.ini.

Je nach System/Distri befinden sich die Files in /var/log/apache2

Die error_log für den vhost befindet sich bei einem PLESK konfigurierten server im statistics/logs Ordner des jeweiligen kunden.
 
error log

Code:
[Wed Apr 25 19:24:22 2007] [notice] Apache/2.0.54 (Debian GNU/Linux) configured -- resuming normal operations
[Fri May 04 10:39:02 2007] [notice] Apache/2.0.54 (Debian GNU/Linux) configured -- resuming normal operations
[Fri May 04 10:49:20 2007] [notice] caught SIGTERM, shutting down
[Fri May 04 10:49:22 2007] [notice] Apache/2.0.54 (Debian GNU/Linux) PHP/4.3.10-20 configured -- resuming normal operations
[Fri May 04 10:51:43 2007] [notice] caught SIGTERM, shutting down
[Fri May 04 10:51:45 2007] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Fri May 04 10:51:46 2007] [notice] Apache/2.0.54 (Debian GNU/Linux) PHP/4.3.10-20 mod_ssl/2.0.54 OpenSSL/0.9.7e mod_perl/1.999.21 Perl/v5.8.4 configured -- resuming normal operations
[Fri May 04 10:52:04 2007] [notice] caught SIGTERM, shutting down
[Fri May 04 10:52:05 2007] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Fri May 04 10:52:05 2007] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec2)
[Fri May 04 10:52:06 2007] [notice] Apache/2.0.54 (Debian GNU/Linux) PHP/4.3.10-20 mod_ssl/2.0.54 OpenSSL/0.9.7e mod_perl/1.999.21 Perl/v5.8.4 configured -- resuming normal operations
[Fri May 04 10:52:07 2007] [notice] Graceful restart requested, doing restart
[Fri May 04 10:52:08 2007] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Fri May 04 10:52:08 2007] [notice] Apache/2.0.54 (Debian GNU/Linux) PHP/4.3.10-20 mod_ssl/2.0.54 OpenSSL/0.9.7e mod_perl/1.999.21 Perl/v5.8.4 configured -- resuming normal operations
[Fri May 04 10:52:45 2007] [notice] Graceful restart requested, doing restart
[Fri May 04 10:52:47 2007] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Fri May 04 10:52:47 2007] [notice] Apache/2.0.54 (Debian GNU/Linux) PHP/4.3.10-20 mod_ssl/2.0.54 OpenSSL/0.9.7e mod_perl/1.999.21 Perl/v5.8.4 configured -- resuming normal operations
[Fri May 04 10:52:48 2007] [notice] Graceful restart requested, doing restart
[Fri May 04 10:52:48 2007] [notice] mod_python: Creating 10 session mutexes based on 10 max processes and 0 max threads.
[Fri May 04 10:52:48 2007] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Fri May 04 10:52:48 2007] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Fri May 04 10:52:48 2007] [notice] Apache/2.0.54 (Debian GNU/Linux) mod_python/3.1.3 Python/2.3.5 PHP/4.3.10-20 mod_ssl/2.0.54 OpenSSL/0.9.7e mod_perl/1.999.21 Perl/v5.8.4 configured -- resuming normal operations
[Fri May 04 10:52:48 2007] [notice] child pid 9602 exit signal Segmentation fault (11)
[Fri May 04 10:53:01 2007] [notice] caught SIGTERM, shutting down
[Wed Jun 13 17:54:15 2007] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Wed Jun 13 17:54:15 2007] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Wed Jun 13 17:54:15 2007] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Wed Jun 13 17:54:15 2007] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec2)
[Wed Jun 13 17:54:15 2007] [notice] mod_python: Creating 10 session mutexes based on 10 max processes and 0 max threads.
[Wed Jun 13 17:54:20 2007] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Wed Jun 13 17:54:20 2007] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Wed Jun 13 17:54:20 2007] [notice] Apache/2.0.54 (Debian GNU/Linux) mod_python/3.1.3 Python/2.3.5 PHP/4.3.10-21 mod_ssl/2.0.54 OpenSSL/0.9.7e mod_perl/1.999.21 Perl/v5.8.4 configured -- resuming normal operations
[Wed Jun 13 17:54:42 2007] [notice] caught SIGTERM, shutting down
[Thu Jun 21 21:35:32 2007] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Thu Jun 21 21:35:32 2007] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Thu Jun 21 21:35:32 2007] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Thu Jun 21 21:35:32 2007] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec2)
[Thu Jun 21 21:35:32 2007] [notice] mod_python: Creating 10 session mutexes based on 10 max processes and 0 max threads.
[Thu Jun 21 21:35:33 2007] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Thu Jun 21 21:35:33 2007] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Thu Jun 21 21:35:33 2007] [notice] Apache/2.0.54 (Debian GNU/Linux) mod_python/3.1.3 Python/2.3.5 PHP/4.3.10-21 mod_ssl/2.0.54 OpenSSL/0.9.7e mod_perl/1.999.21 Perl/v5.8.4 configured -- resuming normal operations
[Thu Aug 09 19:02:17 2007] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Thu Aug 09 19:02:17 2007] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Thu Aug 09 19:02:17 2007] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Thu Aug 09 19:02:17 2007] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec2)
[Thu Aug 09 19:02:17 2007] [notice] mod_python: Creating 10 session mutexes based on 10 max processes and 0 max threads.
[Thu Aug 09 19:02:18 2007] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Thu Aug 09 19:02:18 2007] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Thu Aug 09 19:02:18 2007] [notice] Apache/2.0.54 (Debian GNU/Linux) mod_python/3.1.3 Python/2.3.5 PHP/4.3.10-21 mod_ssl/2.0.54 OpenSSL/0.9.7e mod_perl/1.999.21 Perl/v5.8.4 configured -- resuming normal operations
[Thu Aug 09 19:03:39 2007] [notice] caught SIGTERM, shutting down
[Thu Aug 09 19:03:57 2007] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Thu Aug 09 19:03:57 2007] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Thu Aug 09 19:03:57 2007] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Thu Aug 09 19:03:57 2007] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec2)
[Thu Aug 09 19:03:57 2007] [notice] mod_python: Creating 10 session mutexes based on 10 max processes and 0 max threads.
[Thu Aug 09 19:03:57 2007] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Thu Aug 09 19:03:57 2007] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Thu Aug 09 19:03:57 2007] [notice] Apache/2.0.54 (Debian GNU/Linux) mod_python/3.1.3 Python/2.3.5 PHP/4.3.10-21 mod_ssl/2.0.54 OpenSSL/0.9.7e mod_perl/1.999.21 Perl/v5.8.4 configured -- resuming normal operations
[Thu Aug 09 19:06:15 2007] [notice] caught SIGTERM, shutting down
[Thu Aug 09 19:06:17 2007] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Thu Aug 09 19:06:17 2007] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Thu Aug 09 19:06:17 2007] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Thu Aug 09 19:06:17 2007] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Thu Aug 09 19:06:17 2007] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec2)
[Thu Aug 09 19:06:17 2007] [notice] mod_python: Creating 10 session mutexes based on 10 max processes and 0 max threads.
[Thu Aug 09 19:06:17 2007] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Thu Aug 09 19:06:17 2007] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Thu Aug 09 19:06:17 2007] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Thu Aug 09 19:06:17 2007] [notice] Apache/2.0.54 (Debian GNU/Linux) mod_python/3.1.3 Python/2.3.5 PHP/4.3.10-21 mod_ssl/2.0.54 OpenSSL/0.9.7e mod_perl/1.999.21 Perl/v5.8.4 configured -- resuming normal operations
[Thu Aug 09 19:08:30 2007] [notice] Graceful restart requested, doing restart
[Thu Aug 09 19:08:31 2007] [notice] mod_python: Creating 10 session mutexes based on 10 max processes and 0 max threads.
[Thu Aug 09 19:08:31 2007] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Thu Aug 09 19:08:31 2007] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Thu Aug 09 19:08:31 2007] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Thu Aug 09 19:08:31 2007] [notice] Apache/2.0.54 (Debian GNU/Linux) mod_python/3.1.3 Python/2.3.5 PHP/4.3.10-21 mod_ssl/2.0.54 OpenSSL/0.9.7e mod_perl/1.999.21 Perl/v5.8.4 configured -- resuming normal operations
[Thu Aug 09 19:09:55 2007] [notice] Graceful restart requested, doing restart
[Thu Aug 09 19:09:55 2007] [notice] mod_python: Creating 10 session mutexes based on 10 max processes and 0 max threads.
[Thu Aug 09 19:09:55 2007] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Thu Aug 09 19:09:55 2007] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Thu Aug 09 19:09:55 2007] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Thu Aug 09 19:09:55 2007] [notice] Apache/2.0.54 (Debian GNU/Linux) mod_python/3.1.3 Python/2.3.5 PHP/4.3.10-21 mod_ssl/2.0.54 OpenSSL/0.9.7e mod_perl/1.999.21 Perl/v5.8.4 configured -- resuming normal operations
[Thu Aug 09 19:20:39 2007] [notice] caught SIGTERM, shutting down
[Thu Aug 09 19:20:56 2007] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Thu Aug 09 19:20:56 2007] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec2)
[Thu Aug 09 19:20:56 2007] [notice] mod_python: Creating 10 session mutexes based on 10 max processes and 0 max threads.
[Thu Aug 09 19:20:57 2007] [notice] Apache/2.0.54 (Debian GNU/Linux) mod_python/3.1.3 Python/2.3.5 PHP/4.3.10-21 mod_ssl/2.0.54 OpenSSL/0.9.7e mod_perl/1.999.21 Perl/v5.8.4 configured -- resuming normal operations
[Thu Aug 09 19:21:03 2007] [notice] Graceful restart requested, doing restart
[Thu Aug 09 19:21:03 2007] [notice] mod_python: Creating 10 session mutexes based on 10 max processes and 0 max threads.
[Thu Aug 09 19:21:04 2007] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Thu Aug 09 19:21:04 2007] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Thu Aug 09 19:21:04 2007] [notice] Apache/2.0.54 (Debian GNU/Linux) mod_python/3.1.3 Python/2.3.5 PHP/4.3.10-21 mod_ssl/2.0.54 OpenSSL/0.9.7e mod_perl/1.999.21 Perl/v5.8.4 configured -- resuming normal operations
[Thu Aug 09 19:22:10 2007] [notice] Graceful restart requested, doing restart
[Thu Aug 09 19:22:10 2007] [notice] mod_python: Creating 10 session mutexes based on 10 max processes and 0 max threads.
[Thu Aug 09 19:22:10 2007] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Thu Aug 09 19:22:10 2007] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Thu Aug 09 19:22:10 2007] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Thu Aug 09 19:22:10 2007] [notice] Apache/2.0.54 (Debian GNU/Linux) mod_python/3.1.3 Python/2.3.5 PHP/4.3.10-21 mod_ssl/2.0.54 OpenSSL/0.9.7e mod_perl/1.999.21 Perl/v5.8.4 configured -- resuming normal operations
[Thu Aug 09 19:58:32 2007] [notice] caught SIGTERM, shutting down
[Thu Aug 09 19:58:33 2007] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Thu Aug 09 19:58:33 2007] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Thu Aug 09 19:58:33 2007] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Thu Aug 09 19:58:33 2007] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Thu Aug 09 19:58:33 2007] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec2)
[Thu Aug 09 20:00:27 2007] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Thu Aug 09 20:00:27 2007] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Thu Aug 09 20:00:27 2007] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Thu Aug 09 20:00:27 2007] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Thu Aug 09 20:00:27 2007] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec2)
[Thu Aug 09 20:02:38 2007] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Thu Aug 09 20:02:38 2007] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Thu Aug 09 20:02:38 2007] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Thu Aug 09 20:02:38 2007] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Thu Aug 09 20:02:38 2007] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec2)
[Thu Aug 09 20:09:59 2007] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Thu Aug 09 20:09:59 2007] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Thu Aug 09 20:09:59 2007] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Thu Aug 09 20:09:59 2007] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Thu Aug 09 20:09:59 2007] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec2)
[Thu Aug 09 21:44:21 2007] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Thu Aug 09 21:44:21 2007] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Thu Aug 09 21:44:21 2007] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Thu Aug 09 21:44:21 2007] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Thu Aug 09 21:44:21 2007] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec2)
[Thu Aug 09 21:51:20 2007] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Thu Aug 09 21:51:20 2007] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Thu Aug 09 21:51:20 2007] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Thu Aug 09 21:51:20 2007] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Thu Aug 09 21:51:20 2007] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec2)
[Thu Aug 09 21:51:34 2007] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Thu Aug 09 21:51:34 2007] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Thu Aug 09 21:51:34 2007] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Thu Aug 09 21:51:34 2007] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Thu Aug 09 21:51:34 2007] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec2)
[Thu Aug 09 21:53:21 2007] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Thu Aug 09 21:53:21 2007] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Thu Aug 09 21:53:21 2007] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Thu Aug 09 21:53:21 2007] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Thu Aug 09 21:53:21 2007] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec2)
[Thu Aug 09 21:53:28 2007] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Thu Aug 09 21:53:28 2007] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Thu Aug 09 21:53:28 2007] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Thu Aug 09 21:53:28 2007] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Thu Aug 09 21:53:28 2007] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec2)
[Thu Aug 09 21:54:46 2007] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Thu Aug 09 21:54:46 2007] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Thu Aug 09 21:54:46 2007] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Thu Aug 09 21:54:46 2007] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Thu Aug 09 21:54:46 2007] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec2)


Genau das ist es mit der phpinfo! ich kann nix im Browser aufrufen

Code:
Die Verbindung zum Server wurde zurückgesetzt, während die Seite geladen wurde.
Der Apache läuft nicht!

laut ./configure muss es hier sein --with-config-file-path=/etc/php5/apache2

in ect is aber nur kein php nur /etc/php4/apache2/php.ini

Muss ich da selber die ordner erstellen und dann aus dem entpackten php5 verzeichniss die .ini da rein kopieren

oder wie muss ich dem apache klar machen wo die php.ini von php5 liegt?
 
Last edited by a moderator:
Welche Meldung?
Die mit dem SegFault?
Dann nimm mal das mod_php aus der Apache-Config raus zum Testen...

huschi.
 
habs entfernt

v32196:~# /etc/init.d/apache2 start
Starting web server: Apache2Syntax error on line 7 of /etc/apache2/httpd.conf:
Invalid command 'oadModule', perhaps mis-spelled or defined by a module not included in the server configuration
v32196:~#
 
ist mir schon klar!

Wenn ich den Text aus der httdp.conf lösche kann ich auch nix für wenn die meldung ein L vergisst.

Bringt mich trotzdem kein bischen weiter
 
Versteh ich nicht.

Steht nun LoadModule oder oadModule in der apache2 drin?
Welchen "text" hast Du denn aus der httpd.conf gelöscht?
 
es stand

LoadModule php5_module /usr/lib/apache2/modules/libphp5.so

in der datei. Habe es raus gelöscht wie mir hier gesagt wurde. Darauf hin habe ich die Meldung erhalten ohne L


Ich kann gerne nochmal den server neu aufsetzten und schritt für schritt hier erklären
 
ARGH :rolleyes:

Ok, Du hast diese Zeile rausgelöscht, danach die Fehlermeldung OHNE L bekommen. Wäre es denn vielleicht unter diesen Umständen denkbar, dass darunter dummerweise ein L gelöscht worden ist?

Hergott, der Fehler ist ja eindeutig, und wenn Du schon den Mut ausfbrigst so eine Kiste zu mieten, dann denk doch ein wenig selber nach und LIES wenigstens was der Server für Fehlermeldungen ausgiebt.
 
Ich habe den Server ja nicht gemietet, habe ihn geschenkt bekommen

Ich habe den Server ja nicht gemietet, habe ihn geschenkt bekommen

php5 runtergeladen und entpackt

./configure --prefix=/usr --with-apxs2=/usr/bin/apxs2 --with-config-file-path=/etc/php5/apache2 --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 --with-bz2 --enable-ctype --with-db4 --with-iconv --enable-exif --enable-filepro --enable-ftp --with-gettext --enable-mbstring --with-pcre-regex --enable-shmop --enable-sockets --enable-wddx --enable-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

ausgeführt danach
make
make install

dann in den ordner /ect/php5/apache2 die php.ini-dist reinkopiert und in php.ini umbenannt

wenn ich den apache jetzt neustrate bekomme ich folgende meldung

v32196:~/php-5.2.3# /etc/init.d/apache2 restart
Forcing reload of web server: Apache2 ... no pidfile found! not running?/usr/sbin/apache2ctl: line 100: 1542 Segmentation fault $HTTPD -k start -DSSL
v32196:~/php-5.2.3#

Wie mir gesgt worden ist, aus der httpd.conf

# This is here for backwards compatability reasons and to support
# installing 3rd party modules directly via apxs2, rather than
# through the /etc/apache2/mods-{available,enabled} mechanism.
#
#LoadModule mod_placeholder /usr/lib/apache2/modules/mod_placeholder.so
LoadModule php5_module /usr/lib/apache2/modules/libphp5.so

das
LoadModule php5_module /usr/lib/apache2/modules/libphp5.so
löschen
# This is here for backwards compatability reasons and to support
# installing 3rd party modules directly via apxs2, rather than
# through the /etc/apache2/mods-{available,enabled} mechanism.
#
#LoadModule mod_placeholder /usr/lib/apache2/modules/mod_placeholder.so

danach erhalte ich folgende Meldung

v32196:~# /etc/init.d/apache2 start
Starting web server: Apache2Syntax error on line 7 of /etc/apache2/httpd.conf:
Invalid command 'oadModule', perhaps mis-spelled or defined by a module not included in the server configuration
v32196:~#


Weder habe ich ein L vergessen noch ein L zuviel! Auch hier beim Posten habe ich kein L vergessen da es direkt aus Putty kopiert ist
 
Last edited by a moderator:
Back
Top