php.net |  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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
34 + 27 = ?
Subscribe to this entry?

 
 [2004-09-22 14:21 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/libphp4.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-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/libphp5.so not 4
 [2004-09-22 21:24 UTC] derick@php.net
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 http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions. 

Thank you for your interest in PHP.

Right
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 06:01:29 2024 UTC