Hi Ryan, thanks for the fast response. On Wed, Sep 29, 2010 at 2:04 PM, Ryan Schmidt <[email protected]> wrote: > > On Sep 29, 2010, at 06:34, Norman Khine wrote: > >> 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. > > After jpeg was updated to version 8, you would have needed to rebuild > php5-gd. The revbump that php5-gd received in r64827 in March should have > caused this to happen. Have you not run "sudo port selfupdate" and "sudo port > upgrade outdated" since before then? If not, please run it now.
i have run $ sudo port selfupdate but hel back from upgrading the outdated ports as i did not want to break anything, my local system runs pretty well 'touch wood' but i see that if i do $ sudo port -yv upgrade --enforce-variants php5 +fastcgi it will update apache2, libtool http://pastie.org/1188783 should i be worried? better make a backup first! > > >> 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? > > Please check the php5 port's variants: > > port variants php5 > > There are no variants named "php5-mysql", "php5-pcntl", "php5-postgresql", > "php5-gmp" or "php5-sqlite". Those are names of separate ports. ok, i misread the output of $ port variants php5 > > What you want to do, I think, is: > > sudo port upgrade --enforce-variants php5 +fastcgi > > (that will add +fastcgi to whatever variants you had already selected last > time you built the php5 port) > > If you already have the php5-mysql, php5-pcntl, php5-postgresql, php5-gmp and > php5-sqlite ports installed, I don't think you need to rebuild them. If you > didn't have them installed, you can install them. > > Note that php5-pcntl should not be used when php is running in a web server > environment. See "port notes php5-pcntl" and this web page: ok, this is only on my local machine. > > http://www.php.net/manual/en/intro.pcntl.php > > > -- ˙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" ] ) _______________________________________________ macports-users mailing list [email protected] http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
