Re: Pear install apd fails
| From: | Mats | Date: | Tue, 17 Aug 2004 12:02:50 +0000 |
| Subject: | Re: Pear install apd fails | ||
| References: | 1 2 3 4 5 | Groups: | php.pecl.dev |
| Request: | Send a blank email to pecl-dev+get-1183@lists.php.net to get a copy of this message | ||
Hi,
I am trying to get APD to work on a OS X.3.5 installation with PHP5.0.1 installed into /usr/local/php5/
If I set the php.ini values as such:
extension_dir=/usr/local/php5/lib/php/extensions
and
zend_extension=/usr/local/php5/lib/php/extensions/no-debug-non-zts-20040412/apd.so
then
then httpd crashes after 'apachectl graceful' with the following message:
/usr/sbin/apachectl: line 171: 756 Trace/BPT trap $HTTPD/usr/sbin/apachectl graceful: httpd could not be started in /var/log/httpd/error_log the following is written: dyld: /usr/sbin/httpd Undefined symbols: _OnUpdateInt dyld: /usr/sbin/httpd Undefined symbols: _OnUpdateInt However, IF I set the php.ini values as follows: extension_dir=/usr/local/php5/lib/php/extensions and zend_extension=no-debug-non-zts-20040412/apd.so or zend_extension=apd.so then httpd starts fine after 'apachectl graceful' with the following message: /usr/sbin/apachectl graceful: httpd started BUT in in /var/log/httpd/error_log the following is written: Failed loading /no-debug-non-zts-20040412/apd.so: (null) or Failed loading apd.so: (null) What is wrong ?? Where do I go wrong ??? Please help me to get this going. On 2004-08-14 17:23:52 +0100, johannes@php.net (Johannes Schlueter) said:
Hi, Rasmus Lerdorf wrote:Well, check your php.ini file. It needs to have something like: extension_dir=/usr/local/lib/php/extensions extension=apd.soImho APD is an Zend-Extension so it needs to be just on entry, including the full path to the so-file: zend_extension=/usr/local/lib/php/extensions/apd.so johannes