[MacPorts] #26384: php52: Insufficient documentation/configuration (was: php52 @5.2.14_0+apache2+mysql5+pcntl+pear+sqlite Insufficient documentation/configuration)

MacPorts noreply at macports.org
Tue Sep 7 17:44:58 PDT 2010


#26384: php52: Insufficient documentation/configuration
-----------------------------------+----------------------------------------
 Reporter:  balazs@…               |       Owner:  ryandesign@…           
     Type:  defect                 |      Status:  new                    
 Priority:  Normal                 |   Milestone:                         
Component:  ports                  |     Version:  1.9.1                  
 Keywords:                         |        Port:  php52                  
-----------------------------------+----------------------------------------

Old 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".

New 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".

--

Comment(by ryandesign@…):

 This issue might also affect php5, php5-devel, php4. See also #12108, of
 which at least the first part of this ticket might be considered a
 duplicate.

-- 
Ticket URL: <http://trac.macports.org/ticket/26384#comment:2>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list