Opened 21 months ago

Last modified 21 months ago

#65488 assigned enhancement

php81-apache2handler: integration of php_module in port incomplete

Reported by: rernenwein Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.7.2
Keywords: Cc:
Port: php81-apache2handler

Description

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 ;-)

Change History (1)

comment:1 Changed 21 months ago by mascguy (Christopher Nielsen)

Owner: set to ryandesign
Port: php81-apache2handler added
Status: newassigned
Summary: integration of php_module in port php81-apache2handler incompletephp81-apache2handler: integration of php_module in port incomplete
Version: 2.7.2
Note: See TracTickets for help on using tickets.