Opened 14 years ago
Last modified 14 years ago
#26384 new defect
php52 @5.2.14_0+apache2+mysql5+pcntl+pear+sqlite Insufficient documentation/configuration — at Initial Version
Reported by: | balazs@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.9.1 |
Keywords: | Cc: | ||
Port: | php52 |
Description
After installing php52 with apache2 support it guides the user to enable the module within apache. Unfortunately the default configuration it provides is not correct:
- missing documentation: There is no mention that an additional Include line has to be added to the apache httpd.conf: "Include conf/extra/mod_php.conf ".
- Incorrect default module is being checked for in the mod_php.conf file: /opt/local/apache2/conf/extra/mod_php.conf looks for a module "mod_php5.c", but it is loaded as "libphp5" in httpd.conf. Either the name should follow the mod_php convention, then it should be changed in the httpd.conf, or the mod_php.conf file should be updated to use "libphp5".
Note: See
TracTickets for help on using
tickets.