hab Mandrake 9 mit Apache 1.3.27 und PHP 4.3.2-dev am laufen
Den Apache habe ich so compiliert:
Code: Select all
./configure
"--with-layout=Apache"
"--enable-suexec"
"--suexec-docroot=/usr/local/apache/cgi-bin"
"--suexec-caller=nobody"
"--suexec-userdir=htdocs"
"--enable-module=so"
"--enable-module=rewrite"
Code: Select all
'./configure' '--enable-ftp' '--enable-calendar' '--with-xml' '--with-gd' '--with-png-dir=/usr/local/lib' '--with-jpeg' '--with-zlib-dir=/usr/local/lib' '--with-ttf=/usr/include' '--with-mysql' '--enable-force-cgi-redirect'
Code: Select all
#define OPT_CHECKPATH
#define OPT_MIN_UID 100
#define OPT_MIN_GID 100
#define OPT_APACHE_USER "nobody"
#define OPT_PATH_TO_PHP "/usr/local/apache/cgi-bin/php"
#define OPT_LOGFILE "/usr/local/apache/logs/suphp_log"
Code: Select all
LoadModule suphp_module libexec/mod_suphp.so
suPHP_Engine on
suPHP_ConfigPath /usr/local/lib
AddHandler x-httpd-php .php
<VirtualHost *>
ServerName p01.mydomain.de
DocumentRoot /webs/telefon/htdocs
HostNameLookups off
ErrorLog /webs/telefon/logs/errorlog_telefon
TransferLog /webs/telefon/logs/accesslog_telefon
DirectoryIndex index.php
suPHP_Engine on
suPHP_ConfigPath /usr/local/lib
#User telefon
#Group telefon
<Directory />
#AllowOverride All
Order deny,allow
Allow from all
</Directory>
</VirtualHost>
aber suPHP will einfach nicht laufen. Ich bekomme nur 500er
In die suphp_log schreibt er gar nix.
In die normale errorlog des VHosts schreibt er nur das hier:
Code: Select all
Premature end of script headers: /webs/telefon/htdocs/index.php
Code: Select all
Action application/x-httpd-php /cgi-bin/php
AddHandler application/x-httpd-php .php
Aber halt nicht über suPHP :(
Nach tagelangem compilieren, testen, linken uvm. komme ich nun endgültig nicht mehr weiter. :evil:
Wer kann helfen?
