php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #14484 apache2 has not loaded php module
Submitted: 2001-12-13 07:22 UTC Modified: 2002-01-23 11:10 UTC
Votes:3
Avg. Score:4.7 ± 0.5
Reproduced:2 of 2 (100.0%)
Same Version:2 (100.0%)
Same OS:2 (100.0%)
From: orpheus at host dot sk Assigned:
Status: Closed Package: Apache2 related
PHP Version: 4.1.0 OS: Linux
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: orpheus at host dot sk
New email:
PHP Version: OS:

 

 [2001-12-13 07:22 UTC] orpheus at host dot sk
apache-2.0.28
php-4.1 - configuration line:
configure  --prefix=/opt --with-apxs2=/opt/apache2/bin/apxs --with-config-file-path=/opt/apache2/bin/conf 
--with-zlib-dir=/usr --with-zlib=/usr --enable-bcmath --with-bz2=/usr --enable-calendar --with-curl=/usr 
--with-gdbm --enable-dbase --enable-dbx --enable-dio --with-dom=/usr --enable-filepro --enable-ftp 
--with-gd=/usr --enable-gd-native-ttf --with-jpeg-dir=/usr --with-png-dir=/usr --with-ttf=/usr 
--with-t1lib=/usr --with-gettext=/usr --with-gmp --with-imap=/usr --with-ldap=/usr --with-mysql=/usr 
--with-unixODBC=/usr --enable-overload --with-pdflib=/usr/local --with-jpeg-dir=/usr --with-png-dir=/usr 
--with-tiff-dir=/usr --enable-sockets --enable-sysvsem --enable-sysvshm --enable-wddx --with-expat-dir=/usr 
--enable-xslt --with-xslt-sablot --with-expat-dir=/usr --enable-yp

in httpd.conf:
LoadModule php4_module modules/libphp4.so
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps

if I run apache, the PHP module isn't loaded (server-info, server-status)


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-01-15 14:00 UTC] miro1 at 000 dot sk
I have a same problem - Apache 2.0.28 + php4.1.1, linux kernel 2.4.10.
 [2002-01-18 09:02 UTC] jp at phonevalley dot com
I have exactly the same problem with php 4.1.1 with a lot simpler configure line. every compiles well but apache 2 start without loading the module
 [2002-01-23 11:10 UTC] manu@php.net
be careful the configuration change for Apache 2 you must use filter !

watch README from Apache2filter http://cvs.php.net/co.php/php4/sapi/apache2filter/README?r=1.8

you must replace :

LoadModule php4_module modules/libphp4.so
AddType application/x-httpd-php .php

By

LoadModule php4_module modules/libphp4.so
<Files *.php>
SetOutputFilter PHP
SetInputFilter PHP
</Files>

 [2003-01-04 15:23 UTC] torsten at me dot com
This problem is related to mod_perl, at leased on my server.
as soon I enable mod_perl/1.99_07-dev Perl/v5.8.0 DAV/2 per httpd.conf php drops out.
there must be a problem whith mod_perl and I just try to figure this out at the moment
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 06:01:29 2024 UTC