Opened 12 years ago

Closed 12 years ago

#36605 closed defect (invalid)

php54-apache2handler: incorrect apache config

Reported by: inli3u@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: Cc: ryandesign (Ryan Carsten Schmidt), jyrkiwahlstedt
Port: php54-apache2handler

Description

Installing this package added the following line to my httpd.conf:

LoadModule pp5_module         modules/mod_php54.so

The module name is missing the "h" in "php", so should be "php5_module".

I'd be willing to provide a fix given a moment to look into it.

Change History (4)

comment:1 Changed 12 years ago by pixilla (Bradley Giesbrecht)

What is the location of the httpd.conf file you references?

The php54-apache2handler port has these notes:

$ port notes php54-apache2handler
php54-apache2handler has the following notes:
  If this is your first install, you need to enable php54-apache2handler in your web server.
  
  To enable php54-apache2handler, run:
  
      cd /opt/local/apache2/modules
      sudo /opt/local/apache2/bin/apxs -a -e -n php5 mod_php54.so

comment:2 Changed 12 years ago by pixilla (Bradley Giesbrecht)

Cc: ryandesign@… jwa@… added
Port: php54-apache2handler added

comment:3 Changed 12 years ago by inli3u@…

Ah my apologies. Some time passed between installing and trying to use. I definitely recognize that sudo command, pretty sure I typed it out vs copy n paste. So this one is on me! Thanks.

comment:4 Changed 12 years ago by pixilla (Bradley Giesbrecht)

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.