FastCGI PHP5 on OSX 10.6

Norman Khine norman at khine.net
Wed Sep 29 04:34:25 PDT 2010


Hello, I have a running php5 on my OS, but would like to rebuild it
with FastCGI support

$ php -v
PHP Warning:  PHP Startup: Unable to load dynamic library
'/opt/local/lib/php/extensions/no-debug-non-zts-20090626/gd.so' -
dlopen(/opt/local/lib/php/extensions/no-debug-non-zts-20090626/gd.so,
9): Library not loaded: /opt/local/lib/libjpeg.7.dylib
  Referenced from: /opt/local/lib/php/extensions/no-debug-non-zts-20090626/gd.so
  Reason: image not found in Unknown on line 0
PHP 5.3.1 (cli) (built: Feb 15 2010 21:58:03)
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2009 Zend Technologies
    with Xdebug v2.0.5, Copyright (c) 2002-2008, by Derick Rethans

also i get a Warning which i would like to remove. i think after i
updated libjpeg this broke.

Can i do this:

sudo port -d install php5 +apache2 +suhosin +php5-mysql +fastcgi
+php5-pcntl +php5-postgresql +php5-gmp +php5-sqlite +PEAR

or is there a safer way to add the fastcgi without breaking what i already have?

thanks

-- 
˙uʍop ǝpısdn p,uɹnʇ pןɹoʍ ǝɥʇ ǝǝs noʎ 'ʇuǝɯɐן sǝɯıʇ ǝɥʇ puɐ 'ʇuǝʇuoɔ
ǝq s,ʇǝן ʇǝʎ
%>>> "".join( [ {'*':'@','^':'.'}.get(c,None) or
chr(97+(ord(c)-83)%26) for c in ",adym,*)&uzq^zqf" ] )


More information about the macports-users mailing list