[MacPorts] #14001: php5 5.2.5 should support Apple Apache 2 on Leopard

MacPorts noreply at macports.org
Fri Sep 19 05:47:19 PDT 2008


#14001: php5 5.2.5 should support Apple Apache 2 on Leopard
---------------------------------------+------------------------------------
  Reporter:  compconsultant at yahoo.com  |       Owner:  ryandesign at macports.org
      Type:  enhancement               |      Status:  assigned               
  Priority:  Normal                    |   Milestone:  Port Enhancements      
 Component:  ports                     |     Version:  1.6.0                  
Resolution:                            |    Keywords:                         
      Port:  php5                      |  
---------------------------------------+------------------------------------
Changes (by jmr at macports.org):

  * keywords:  ticketformatting =>


Old description:

> When using port install php5 +mssql +mysql5, it fails as the port tried
> to use the default Apache 1 on Mac OSX, but, Leopard comes with Apache2.
> This the with-apxs which should point to an Apache 1 binary in /usr/sbin
> instead points to Apache2 since that is what it is on Leopard, at least
> mine which is 10.5.1. The workaround of course is to not use the built in
> Apache2, and, use +APACHE2.
>
> Still, it would be nice to be able to use the built in. But this may not
> be possible, simply changing that line to with-apxs2 yields other errors.
>
> This is found here:
>
>  if no apache/apache2/fastcgi variant is set, we set it (need better
> default variant management)
> if { ![variant_isset apache] && ![variant_isset apache2] &&
> ![variant_isset fastcgi] } {
> if { ! [variant_isset macosx] } {
> depends_lib-append path:${prefix}/sbin/apxs:apache
> configure.args-append --with-apxs=${prefix}/sbin/apxs
> } else {
> '''configure.args-append --with-apxs=/usr/sbin/apxs'''
> }
> }

New description:

 When using port install php5 +mssql +mysql5, it fails as the port tried to
 use the default Apache 1 on Mac OSX, but, Leopard comes with Apache2. This
 the with-apxs which should point to an Apache 1 binary in /usr/sbin
 instead points to Apache2 since that is what it is on Leopard, at least
 mine which is 10.5.1. The workaround of course is to not use the built in
 Apache2, and, use +APACHE2.

 Still, it would be nice to be able to use the built in. But this may not
 be possible, simply changing that line to with-apxs2 yields other errors.

 This is found here:
 {{{
  if no apache/apache2/fastcgi variant is set, we set it (need better
 default variant management)
 if { ![variant_isset apache] && ![variant_isset apache2] &&
 ![variant_isset fastcgi] } {
 if { ! [variant_isset macosx] } {
 depends_lib-append path:${prefix}/sbin/apxs:apache
 configure.args-append --with-apxs=${prefix}/sbin/apxs
 } else {
 '''configure.args-append --with-apxs=/usr/sbin/apxs'''
 }
 }
 }}}

--

-- 
Ticket URL: <http://trac.macports.org/ticket/14001#comment:6>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list