Opened 14 years ago

Last modified 14 years ago

#26384 new defect

php52: Insufficient documentation/configuration

Reported by: balazs@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 1.9.1
Keywords: Cc: jyrkiwahlstedt
Port: php52

Description (last modified by ryandesign (Ryan Carsten Schmidt))

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

Change History (2)

comment:1 Changed 14 years ago by jmroot (Joshua Root)

Cc: jwa@… added
Owner: changed from macports-tickets@… to ryandesign@…
Port: php52 added

Please remember to fill in the Port field and cc the maintainers.

comment:2 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Summary: php52 @5.2.14_0+apache2+mysql5+pcntl+pear+sqlite Insufficient documentation/configurationphp52: Insufficient documentation/configuration

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.

Note: See TracTickets for help on using tickets.