[MacPorts] #58454: After 2 years userdirs and php stll not function correctly [El Capitan]

MacPorts noreply at macports.org
Wed May 8 00:41:36 UTC 2019


#58454: After 2 years userdirs and php stll not function correctly [El Capitan]
-----------------------+--------------------
  Reporter:  Behinder  |      Owner:  (none)
      Type:  defect    |     Status:  new
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:
Resolution:            |   Keywords:
      Port:  apache2   |
-----------------------+--------------------

Comment (by Schamschula):

 1) Maybe because that's the way Apache's {{{mod_userdir}}} works by
 default?

 See https://httpd.apache.org/docs/2.4/mod/mod_userdir.html and "User
 Directories" in https://httpd.apache.org/docs/2.4/urlmapping.html

 2) You'll need to edit {{{/opt/local/etc/apache2/extra/httpd-
 userdir.conf}}} and add

 {{{
 <FilesMatch "\.php$">
     SetHandler application/x-httpd-php
 </FilesMatch>
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/58454#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list