[MacPorts] #16291: php5 port request
#16291: php5 port request -------------------------------+-------------------------------------------- Reporter: naoya.n@gmail.com | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Low | Milestone: Port Requests Component: ports | Version: 1.6.0 Keywords: | -------------------------------+-------------------------------------------- When installing php5 +apache2, execute apxs command automatically. (If /opt/local/apache2/bin/apxs command exists) $ sudo /opt/local/apache2/bin/apxs -a -e -n "php5" libphp5.so And when php5 port installed, show the below message. Added "Include conf/extras-conf/mod_php.conf" directive your apache configuration file(httpd.conf) -- Ticket URL: <http://trac.macports.org/ticket/16291> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16291: php5 +apache2 should run apxs and set up httpd.conf --------------------------------+------------------------------------------- Reporter: naoya.n@gmail.com | Owner: ryandesign@macports.org Type: enhancement | Status: assigned Priority: Low | Milestone: Port Enhancements Component: ports | Version: 1.6.0 Resolution: | Keywords: --------------------------------+------------------------------------------- Changes (by ryandesign@macports.org): * owner: macports-tickets@lists.macosforge.org => ryandesign@macports.org * status: new => assigned * type: defect => enhancement * milestone: Port Requests => Port Enhancements Comment: Changing subject to match what was requested. Indeed we may be able to run apxs automatically, but doesn't that just add a line to the httpd.conf? I'm not confident we should be modifying the httpd.conf automatically; I feel the user should take responsibility for the contents of this file. For comparison, when installing php5 +fastcgi, we don't set up the FastCGI support in any way. We don't even know what web server the user wants to use the FastCGI binary with. So there, too, the user must set up their web server as desired. If anything is done for this ticket, it should apply to both apache and apache2, and to the php4, php5 and php5-devel ports. -- Ticket URL: <http://trac.macports.org/ticket/16291#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16291: php5 +apache2 should run apxs and set up httpd.conf -------------------------------+-------------------------------------------- Reporter: naoya.n@… | Owner: ryandesign@… Type: enhancement | Status: assigned Priority: Low | Milestone: Component: ports | Version: Keywords: | Port: php5 -------------------------------+-------------------------------------------- Changes (by jmr@…): * cc: ryandesign@… (removed) * version: 1.6.0 => * port: => php5 -- Ticket URL: <https://trac.macports.org/ticket/16291#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16291: php5 +apache2 should run apxs and set up httpd.conf --------------------------------+------------------------------------------- Reporter: naoya.n@… | Owner: ryandesign@… Type: enhancement | Status: closed Priority: Low | Milestone: Component: ports | Version: Resolution: wontfix | Keywords: Port: php5 | --------------------------------+------------------------------------------- Changes (by ryandesign@…): * status: assigned => closed * resolution: => wontfix Old description:
When installing php5 +apache2, execute apxs command automatically. (If /opt/local/apache2/bin/apxs command exists)
$ sudo /opt/local/apache2/bin/apxs -a -e -n "php5" libphp5.so
And when php5 port installed, show the below message.
Added "Include conf/extras-conf/mod_php.conf" directive your apache configuration file(httpd.conf)
New description: When installing php5 +apache2, execute apxs command automatically. (If /opt/local/apache2/bin/apxs command exists) {{{ $ sudo /opt/local/apache2/bin/apxs -a -e -n "php5" libphp5.so }}} And when php5 port installed, show the below message. Added "Include conf/extras-conf/mod_php.conf" directive your apache configuration file(httpd.conf) -- Comment: Won't fix. Config files are the user's responsibility to edit. -- Ticket URL: <https://trac.macports.org/ticket/16291#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts