Opened 16 years ago
Closed 13 years ago
#16291 closed enhancement (wontfix)
php5 +apache2 should run apxs and set up httpd.conf
Reported by: | n0ts (Naoya Nakazawa) | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Low | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | jyrkiwahlstedt | |
Port: | php5 |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
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)
Change History (4)
comment:1 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)
Milestone: | Port Requests → Port Enhancements |
---|---|
Owner: | changed from macports-tickets@… to ryandesign@… |
Status: | new → assigned |
Summary: | php5 port request → php5 +apache2 should run apxs and set up httpd.conf |
Type: | defect → enhancement |
comment:2 Changed 16 years ago by (none)
Milestone: | Port Enhancements |
---|
Milestone Port Enhancements deleted
comment:3 Changed 14 years ago by jmroot (Joshua Root)
Cc: | ryandesign@… removed |
---|---|
Port: | php5 added |
Version: | 1.6.0 |
comment:4 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|---|
Resolution: | → wontfix |
Status: | assigned → closed |
Won't fix. Config files are the user's responsibility to edit.
Note: See
TracTickets for help on using
tickets.
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.