Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

not starting after php update

Status
Not open for further replies.

piti

Technical User
Apr 12, 2001
627
SK
hi
a friend of mine has just compiled and installed php 4.1.2
but the apache server is not starting when he adds
"LoadModule php4_module /usr/lib/apache/libphp4.so"
to the httpd.conf

putting this line into the error log:
PHP Fatal error: Cannot use both zlib.output_compression and output_handler together!! in Unknown on line 0

he has compiled the php with these options:
--prefix=/usr --with-apxs=/usr/sbin/apxs --with-gettext=/usr --enable-safe-mode --with-con
fig-file-path=/etc/httpd --with-exec-dir=/usr/bin --with-zlib --enable-magic-quotes --with-regex=system --with-t
tf=/usr/lib/libttf.so --enable-track-vars --enable-xml --disable-debug --with-imap --with-mysql=/usr/ --enable-w
ddx=shared --enable-ftp --with-mm --disable-posix-threads --enable-versioning --with-pgsql=shared --with-lda

what should he do to make it run?
is it php or apache related problem?
 
solution found

there was output_handler set in php.ini, seting it to nothing solved the problem
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top