PHP 5.2.6 prevent apache 2.2.8 from starting up

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hi all,

I have a new install of apache 2.2.8 which works fine until I enable php5 in
the config.
This is a fresh compile of php 5.2.6, but I had done the same with 5.2.5
right before and it was doing the same thing.
The bin/php program works fine, giving me a phpinfo:

phpinfo()
PHP Version => 5.2.6

System => OSF1 padme.ulysium.net V5.1 2650 alpha
Build Date => May 10 2008 05:19:08
Configure Command =>  './configure'  '--prefix=/usr/local/apache2'
'--with-apxs2=/usr/local/apache2/bin/apxs' '--disable-cgi' '--enable-debug'
'--with-confi
g-file-path=/usr/local/apache2/cf' '--with-exec-dir=/usr/local/apache2/php'
'--with-zlib=/usr/local/zlib' '--enable-sigchild'
'--with-iconv=/usr/local/iconv
' '--with-libxml-dir=/usr/local/libxml' '--with-openssl=/usr/local/ssl'
'--with-zlib-dir=/usr/local/zlib' '--enable-bcmath' '--with-bz2'
'--enable-calendar'
 '--enable-dba=shared' '--with-ndbm=/usr' '--with-dbm=/usr'
'--with-gdbm=/usr/local' '--with-db4=/usr/local/BerkeleyDB.4.4'
'--enable-exif' '--enable-ftp' '
--with-openssl-dir=/usr/local/ssl' '--with-gd'
'--with-freetype-dir=/usr/local/freetype2'
'--with-jpeg-dir=/usr/local/libjpeg' '--with-png-dir=/usr/local/li
bpng' '--with-xpm-dir=/usr/local/libxpm' '--with-t1lib=/usr/local/t1lib'
'--enable-gd-native-ttf' '--with-gmp=/usr/local' '--enable-mbstring'
'--with-mysql=
/usr/local' '--with-mysql-sock=/tmp' '--with-zlib-dir=/usr/local/zlib'
'--with-ncurses=/usr/local/ncurses' '--with-unixODBC=/usr/local/unixODBC'
'--with-zli
b-dir=/usr/local/zlib' '--enable-shmop' '--enable-soap' '--enable-sockets'
'--enable-zip' '--enable-static=yes' '--enable-zend-multibyte'
Server API => Command Line Interface
Virtual Directory Support => enabled
Configuration File (php.ini) Path => /usr/local/apache2/cf
Loaded Configuration File => /usr/local/apache2/conf/php.ini
PHP API => 20041225
PHP Extension => 20060613
Zend Extension => 220060519
Debug Build => yes
Thread Safety => enabled
Zend Memory Manager => enabled
IPv6 Support => enabled
Registered PHP Streams => zip, php, file, data, http, ftp, compress.bzip2,
compress.zlib, https, ftps
Registered Stream Socket Transports => tcp, udp, unix, udg, ssl, sslv3,
sslv2, tls
Registered Stream Filters => string.rot13, string.toupper, string.tolower,
string.strip_tags, convert.*, consumed, convert.iconv.*, bzip2.*, zlib.*

And pear also works fine at the command line.
But when I enable php in apache, all I get is this in the error log:

[Sat May 10 06:45:09 2008] [notice] suEXEC mechanism enabled (wrapper:
/usr/local/apache2/bin/suexec)
[Sat May 10 06:45:09 2008] [info] mod_unique_id: using ip addr
208.243.146.216
[Sat May 10 06:45:10 2008] [info] Init: Seeding PRNG with 272 bytes of
entropy
[Sat May 10 06:45:10 2008] [info] Init: Generating temporary RSA private
keys (512/1024 bits)
[Sat May 10 06:45:10 2008] [info] Init: Generating temporary DH parameters
(512/1024 bits)
[Sat May 10 06:45:10 2008] [info] Init: Initializing (virtual) servers for
SSL
[Sat May 10 06:45:10 2008] [info] mod_ssl/2.2.8 compiled against Server:
Apache/2.2.8, Library: OpenSSL/0.9.8g

And nothing else, nothing in any other logs, no messages at the command
prompt, no errors anywhere.
I checked to make sure all ownerships and permissions were fine, but that's
not where the problem seems to be.
I added the AddType line for php in apache's config file.
I enabled the logging in php.ini to a file and even did a "touch" on the log
file to create it and gave it permissive access to make sure it would log
something but nothing there.

How can I troubleshoot this?

-- 
Didier Godefroy
mailto:dg@xxxxxxxxxxx



[Index of Archives]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [Postgresql]     [PHP Books]     [PHP Databases]     [PHP SOAP]
  Powered by Linux