Also habe ich Apache 2 installiert per apt-get.
Dann habe ich PHP 5.0.4 runtergeladen (Sourcen) und selber compiliert.
Folge Compile options habe ich dabei verwendet:
Code: Select all
./configure
--quiet
--disable-cli
--disable-all
--disable-rpath
--disable-debug
--disable-path-info-check
--disable-magic-quotes
--disable-posix
--disable-short-tags
--disable-ipv6
--disable-static
--disable-pcntl
--without-pear
--with-mysql=/usr
--with-mysqli=/usr/bin/mysql_config
--with-zlib
--with-bz2
--with-dbx
--with-ctype
--with-openssl
--with-pcre-regex
--with-gettext
--with-mcrypt
--with-mhash
--with-iconv
--with-sqlite
--with-sqlite-utf8
--with-gd
--with-jpeg-dir
--with-png-dir
--with-zlib-dir
--with-xpm-dir
--with-ttf
--with-xsl
--with-tsrm-pthreads
--with-tidy
--with-freetype-dir
--enable-gd-native-ttf
--enable-safe-mode
--enable-calendar
--enable-mbstring
--enable-spl
--enable-ftp
--enable-bcmath
--enable-sockets
--enable-dom
--enable-xml
--enable-soap
--enable-libxml
--enable-session
--enable-simplexml
--enable-memory-limit
So dann haben die Probleme angefangen.
Ich muss SuPHP installieren. Unter Debian funktionierte das gar nicht. doch da konnte ich auf die Debian Variante zurückgreifen. Dies funktioniert hier nicht. Unter Ubuntu leifen die Version 0.3 und die Current 6.0 gar nit. Fehler in mod_suphp.c.
Dann lass ich orgendwo, dass die 5.0.2 funzen soll. Also lud ich des runter und sihe da es funzt. Also compiliert mit:
Code: Select all
./configure --with-min-uid=30 --with-min-gid=30 --with-apache-user=www-data
--with-php=/usr/local/bin/php --with-logfile=/var/log/apache/suphp.log
--with-apxs=/usr/bin/apxs2
Dann habe ich es in der apache2.conf aktiviert und php Addhandler eingestellt. So dann die index.php dem user srvopt:srvopt zugeordnet und dann dies:
Code: Select all
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Code: Select all
[Sat Aug 27 19:55:53 2005] [error] Could not get passwd information for Apache user (wwwrun)
[Sat Aug 27 19:55:53 2005] [error] System error: getpwnam() failed (Success)
Code: Select all
[Sat Aug 27 19:55:49 2005] [notice] caught SIGTERM, shutting down
[Sat Aug 27 19:55:50 2005] [notice] Apache/2.0.53 (Ubuntu) configured -- resuming normal operations
[Sat Aug 27 19:55:53 2005] [error] [client 192.168.0.2] Premature end of script headers: index.php
[Sat Aug 27 19:55:53 2005] [error] [client 192.168.0.2] Error in suphp.c on line 215: getpwnam() failed (Success)
Auf der Homepage von SuPHP gibts auch kein Forum nur ne Mailingliste und der Adminis im Urlaub.
Benötige dringenst hilfe.
PS: Glaube nicht das dies mit PHP zusammen hängt.
Ein php -v gibt PHP (CGI) aus.
PS2: Der Zend Optimizer ist auch installiert.
MfG und DANKE viel mals für jeden Tipp im Voraus.
Dennis aka badenzer