Znowu mam problem, tym razem problem dotyczy serwera Apache ( model 2.0.63 ) oraz PHP ( model 5.2.11 ). Po upgradzie wersji php z 5.2.9 do 5.2.11 wyskakuje mi blad 500 a logi mówią że
Kod
malformed header from script. Bad header=phpinfo(): index.php
Zawartosc pliku który wywołuję:
<?php ?>
Sprawa jest o tyle dziwna, że jeśli zrobie downgrade do wersji 5.2.9 to wszystko gra, a jeśli zainstaluję jakąkowliek inną to kaplica- cały czas to samo. Oto dyrektywy kompilacyjne:
php
Kod
LDFLAGS=' -lstdc++' \
'./configure' \
'--enable-force-cgi-redirect' \
'--with-apxs2=/usr/local/apache/bin/apxs' \
'--without-sqlite' \
'--without-pdo-sqlite' \
'--enable-bcmath' \
'--enable-calendar' \
'--enable-ftp' \
'--enable-libxml' \
'--enable-magic-quotes' \
'--enable-sockets' \
'--enable-mbstring' \
'--prefix=/usr' \
'--with-imap=/opt/php_with_imap_client/' \
'--with-imap-ssl=/usr' \
'--with-kerberos' \
'--with-libxml-dir=/opt/xml2/' \
'--with-mysql=/usr' \
'--with-mysql-sock=/var/lib/mysql/mysql.sock' \
'--with-mysqli=/usr/bin/mysql_config' \
'--with-curl' \
'--with-zlib' \
'--with-zlib-dir=/usr' \
'--with-xsl' \
'--with-pdo-mysql' \
'--with-gd' \
"$@"
'./configure' \
'--enable-force-cgi-redirect' \
'--with-apxs2=/usr/local/apache/bin/apxs' \
'--without-sqlite' \
'--without-pdo-sqlite' \
'--enable-bcmath' \
'--enable-calendar' \
'--enable-ftp' \
'--enable-libxml' \
'--enable-magic-quotes' \
'--enable-sockets' \
'--enable-mbstring' \
'--prefix=/usr' \
'--with-imap=/opt/php_with_imap_client/' \
'--with-imap-ssl=/usr' \
'--with-kerberos' \
'--with-libxml-dir=/opt/xml2/' \
'--with-mysql=/usr' \
'--with-mysql-sock=/var/lib/mysql/mysql.sock' \
'--with-mysqli=/usr/bin/mysql_config' \
'--with-curl' \
'--with-zlib' \
'--with-zlib-dir=/usr' \
'--with-xsl' \
'--with-pdo-mysql' \
'--with-gd' \
"$@"
a tutaj apache
Kod
"./configure" \
"--enable-expires" \
"--enable-info" \
"--enable-logio" \
"--enable-proxy" \
"--enable-rewrite" \
"--enable-ssl" \
"--enable-suexec" \
"--enable-dav" \
"--enable-dav-fs" \
"--enable-so" \
"--prefix=/usr/local/apache" \
"--with-included-apr" \
"--with-ssl=/usr" \
"--with-suexec-caller=nobody" \
"--with-suexec-docroot=/" \
"--with-suexec-gidmin=100" \
"--with-suexec-logfile=/usr/local/apache/logs/suexec_log" \
"--with-suexec-uidmin=100" \
"--with-suexec-userdir=public_html" \
"$@"
"--enable-expires" \
"--enable-info" \
"--enable-logio" \
"--enable-proxy" \
"--enable-rewrite" \
"--enable-ssl" \
"--enable-suexec" \
"--enable-dav" \
"--enable-dav-fs" \
"--enable-so" \
"--prefix=/usr/local/apache" \
"--with-included-apr" \
"--with-ssl=/usr" \
"--with-suexec-caller=nobody" \
"--with-suexec-docroot=/" \
"--with-suexec-gidmin=100" \
"--with-suexec-logfile=/usr/local/apache/logs/suexec_log" \
"--with-suexec-uidmin=100" \
"--with-suexec-userdir=public_html" \
"$@"
System operacyjny to CentOS, ale to chyba nie ma znaczenia, bo błąd nie tkwi w systemie tylko gdzieś indziej. Aha dodam, że próbowałem php w wersjach 5.2.8, 5.2.10 i 5.2.11 i nic.
Może ktoś z Was miał już podobny problem lub orinetuje się co może być przyczyną. Z góry dzięki za pomoc