php5 extensions can't see installed SAPI

Bjarne D Mathiesen macintosh at mathiesen.info
Thu Sep 1 09:01:01 PDT 2011


Can anybody tell me what's going on here:
++ whether it's a bug in MacPorts, or not
++ how I can fix it if not a bug

pro17:~ root# system_profiler SPSoftwareDataType
Software:

    System Software Overview:

      System Version: Mac OS X 10.7.1 (11B26)
      Kernel Version: Darwin 11.1.0
      Boot Volume: X
      Boot Mode: Normal
      Computer Name: pro17
      User Name: System Administrator (root)
      Secure Virtual Memory: Enabled
      64-bit Kernel and Extensions: Yes
      Time since boot: 22:37

pro17:~ root# php -v
PHP 5.3.8 (cli) (built: Aug 31 2011 18:13:48)
Copyright (c) 1997-2011 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2011 Zend Technologies
    with eAccelerator v0.9.6.1, Copyright (c) 2004-2010 eAccelerator, by
eAccelerator
    with Xdebug v2.1.1, Copyright (c) 2002-2011, by Derick Rethans
    with Suhosin v0.9.32.1, Copyright (c) 2007-2010, by SektionEins GmbH

pro17:~ root# port installed php5
The following ports are currently installed:
  php5 @5.3.8_0+apache2+pear (active)

pro17:~ root# port install php5-web
--->  Computing dependencies for php5-web
--->  Building php5-web
Error: php5 is installed without web server support. Please reinstall it
with one of the web server SAPI variants.
Error: Target org.macports.build returned: incompatible php5 installation
Log for php5-web is at:
/macports/var/macports/logs/_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_php5-web/php5-web/main.log
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>

pro17:~ root# port install php5-uploadprogress
--->  Computing dependencies for php5-uploadprogress
--->  Fetching php5-uploadprogress
Error: Target org.macports.fetch returned: php5 must be built with the
+apache2 variant enabled.
Log for php5-uploadprogress is at:
/macports/var/macports/logs/_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_php_php5-uploadprogress/php5-uploadprogress/main.log
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>

pro17:~ root# xcodebuild -version
Xcode 4.1
Build version 4B110

-- 
Bjarne D Mathiesen
København N ; Danmark ; Europa
----------------------------------------------------------------------
denne besked er skrevet i et totalt M$-frit miljø
MacOS X 10.7.1 Lion ; 2.8GHz Intel Core i7 ; 16GB 1067MHz DDR3
                                       http://webadmin.mathiesen.info/


More information about the macports-dev mailing list