> When I ran the command:
> pecl install zip-1.3.1
> It intalled the zip.so file to:
> /usr/local/lib/php/extensions/no-debug-non-zts-20050922/zip.so

Extensions are compiled with a given Zend/PHP API.  The zip extension 
you installed was compiled against the API dated 2005-09-22.  I 
complained/questioned this default behavior of 'pecl install' myself and 
asked why pecl didn't use the 'extension dir' value I already had set in 
the PHP.ini file.  The response was that the php.ini file is not the 
authoritative definition for the extension directory because there could 
in theory be many php.ini files all over the system not to mention the 
defaults which might be used if no php.ini file exists at all.

> The only way I could get zip support working was to put it here:
> Which is where my extensions directory is located. I've checked, and the
> extensions directory is set correctly in the php.ini file. Does anyone
> where/how it would come up with this other path?

I've seen several people complain about this problem, but it doesn't 
seem anyone wants to change it.  If you want your life to continue 
without tons of stress, just go with the flow, don't try to customize 
your installation, and just accept the defaults.  Yeah, I didn't like 
that answer either.

In summary:  Change your php.ini file to match the 
'no-debug-non-zts-20050922' default directory and your problems will go 



Thanks.  At least I know it's not something that can be changed.  I'll just
move them to the appropriate place after it installs them.  That seems to be
working just fine.  I just wanted to make sure I wasn't missing some
configuration directive that could point these to where I really want
them...  I did notice the 20050922 in my phpinfo() page under PHP Extension.

PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to