[MacPorts] #41153: Building php55-apache2handler on Mavericks: PHP scripts not running in Apache2

MacPorts noreply at macports.org
Tue Nov 5 00:28:03 PST 2013


#41153: Building php55-apache2handler on Mavericks: PHP scripts not running in
Apache2
-----------------------------------+--------------------------
  Reporter:  p.perroud@…           |      Owner:  ryandesign@…
      Type:  defect                |     Status:  new
  Priority:  Normal                |  Milestone:
 Component:  ports                 |    Version:
Resolution:                        |   Keywords:
      Port:  php55-apache2handler  |
-----------------------------------+--------------------------

Comment (by p.perroud@…):

 When the php5 module was installed from terminal it adds a LoadModule line
 in httpd.conf:


 {{{
 LoadModule php5_module        modules/mod_php55.so
 }}}


 What I've done so far to make it works is to add manually the module file
 types just below this line in httpd.conf - like this:


 {{{

 LoadModule php5_module        modules/mod_php55.so

 <IfModule mod_php5.c>

 AddType  application/x-httpd-php         .php
 AddType  application/x-httpd-php-source  .phps

 </IfModule>

 }}}

 If would be nice if these file types were also added when the php5 module
 was actually installed...

 If doing this manually was really a requierement then we should to be told
 so in terminal by the time we are told the php5 module must be installed
 manually.

 Is there any reason these installation steps are not handled by macports
 at building time?

-- 
Ticket URL: <https://trac.macports.org/ticket/41153#comment:4>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list