|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #30193 Apache and php install problems
Submitted: 2004-09-22 14:21 UTC Modified: 2004-09-22 21:24 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-22 14:21 UTC] martinkuria at hotmail dot com
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/
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


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2004-09-22 16:25 UTC] jon dot bertsch at ucop dot edu
If that is your config line then you need to fix it to 
reflect libexec/ not 4
 [2004-09-22 21:24 UTC]
Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit as this bug system is not the
appropriate forum for asking support questions. 

Thank you for your interest in PHP.

PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Fri Sep 29 20:01:24 2023 UTC