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

MacPorts noreply at macports.org
Sun Nov 3 03:27:26 PST 2013


#41153: Building php55-apache2handler on Mavericks: PHP scripts not running in
Apache2
-------------------------------------+----------------------------------
 Reporter:  p.perroud@…              |      Owner:  macports-tickets@…
     Type:  defect                   |     Status:  new
 Priority:  Normal                   |  Milestone:
Component:  ports                    |    Version:
 Keywords:  Apache2 PHP55 Mavericks  |       Port:  php55-apache2handler
-------------------------------------+----------------------------------
 php55-apache2handler was built successfully on Mavericks but Apache is
 reading .php files like plain text: PHP scripting is just ignored.

 It looks like Apache2 has no idea what a PHP script is about.

 The 'php5' module was activated, the DirectoryIndex in
 /opt/local/apache2/conf/httpd.conf was modified to take index.php first
 and Apache was restarted.

 But my index.php file that's only doing:

 {{{
 <?php
 phpinfo();
 ?>
 }}}

 is rendered as plain text in the web browser...

 I am attaching console log output...

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


More information about the macports-tickets mailing list