[MacPorts] #65488: integration of php_module in port php81-apache2handler incomplete

MacPorts noreply at macports.org
Fri Jul 15 15:59:46 UTC 2022


#65488: integration of php_module in port php81-apache2handler incomplete
-------------------------+--------------------
 Reporter:  rernenwein   |      Owner:  (none)
     Type:  enhancement  |     Status:  new
 Priority:  Normal       |  Milestone:
Component:  ports        |    Version:
 Keywords:               |       Port:
-------------------------+--------------------
 Since monterey does no more provide php i installed it from macport
 together with apache.

 After installation of php81-apache2handler i got a message:

 {{{
   php81-apache2handler has the following notes:
     If this is your first install, you need to enable php81-apache2handler
 in your web server.
     To enable php81-apache2handler, run:

         cd /opt/local/lib/apache2/modules
         sudo /opt/local/bin/apxs -a -e -n php mod_php81.so
 }}}

 Which i did , but this was not enough to have php working inside apache.

 I needed also to install by hand at the end of **httpd.conf**



 {{{
 <IfModule php_module>
  Include etc/apache2/extra/mod_php81.conf
 </IfModule>
 }}}

 This should documented or done automatically

 Glad that it worked strait after this little addition.
 When i tried why brew i had codesigning problem ;-)

-- 
Ticket URL: <https://trac.macports.org/ticket/65488>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list