Re: re-compiling PHP on Mac OS X

From: Date: Wed, 23 Jan 2008 14:05:47 +0000
Subject: Re: re-compiling PHP on Mac OS X
References: 1 2 3 4 5 6  Groups: php.general 
Request: Send a blank email to php-general+get-267904@lists.php.net to get a copy of this message
On 1/23/08, mbneto <mbneto@gmail.com> wrote: > Hi, > > I've checked all pages and downloaded the php5.2.5.release1.tar.gz (the > latest I found) but I get the same errors > > httpd: Syntax error on line 484 of /private/etc/apache2/httpd.conf: Syntax > error on line 8 of /private/etc/apache2/other/entropy-php.conf: Cannot load > /usr/local/php5/libphp5.so into server: dlopen(/usr/local/php5/libphp5.so, > 10): Symbol not found: _xmlTextReaderSchemaValidate\n Referenced from: > /usr/local/php5/libphp5.so\n Expected in: /usr/lib/libxml2.2.dylib\n > > Does anyone have a working .dmg/.tar.gz for 10.5.1 Mac Intel with PDO/Mysql > working? Your existing Entropy PHP install is tring to load things your newly compiled PHP doesn't have support for. Either use Entropy or clean it out completely so it doesn't mess with your new version. Or a third option, supply the missing dependencies Entropy wants. You will find most all of them in Macports. port search xml|grep lib shows a lot of results. Here's how I built mine the day I blog'd it: http://destiney.com/blog/php-4-5-macos-x -- Greg Donald http://destiney.com/

« previous php.general (#267904) next »