php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #30206 Apache and php install problems
Submitted: 2004-09-23 07:28 UTC Modified: 2004-09-23 10:21 UTC
From: martinkuria at hotmail dot com Assigned:
Status: Not a bug Package: *Configuration Issues
PHP Version: 5.0.1 OS: Fedora linux
Private report: No CVE-ID: None
 [2004-09-23 07:28 UTC] martinkuria at hotmail dot com
Description:
------------
I cannot get apache 2.0.50 to work with php 5

When I tried to install php5 with apache 2.0.50 I had a problem with
this line:

"AddModule mod_php5.c"

that I put in the apache httpd.conf file
This is everything I put in the httpd.conf file, apache 2.0.50 is
conflicting the line above

LoadModule php5_module libexec/libphp5.so
AddModule mod_php5.c
AddType application/x-httpd-php .php

and I get an error:

invalid command "AddModule", perhaps mis-pelled or defined by a module
not included in the server configuration
--------------------------------------------------------

What is the Problem


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-09-23 10:21 UTC] joerg@php.net
Apache2 have no AddModule directive anymore. Please consult your docs first.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 23 06:01:30 2024 UTC