Re: pear upgrade problem

From: Date: Sat, 10 Feb 2007 15:05:13 +0000
Subject: Re: pear upgrade problem
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-26538@lists.php.net to get a copy of this message
Tiron Adrian wrote: > When i ran pear upgrade-all this is what i got: > > PHP Warning: PHP Startup: Unable to load dynamic library > '/usr/lib/php/modules/ldap.so' - /usr/lib/php/modules/ldap.so: cannot open shared object > file: No such file or directory in Unknown on line 0 > I know the files aren't there but what should i do? phpinfo() and > print_r(get_loaded_extentions()) shows me that mysql is loaded for > example. Did you run phpinfo() from the command line php or from inside the web server? These are different, and might have different php.ini files. Probably your php.ini for the command line php references these libraries. Run php -i | less and search ("/" key) for "php.ini". You can find the offending modules in the php.ini or in one of the additional .ini files (if you have additional .ini files). Regards... Michael

« previous php.pear.general (#26538) next »