FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » HELP!!! from PHP 5.16 to 5.3 Unable to load dynamic library
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: HELP!!! from PHP 5.16 to 5.3 Unable to load dynamic library [message #175946 is a reply to message #175945] Thu, 10 November 2011 03:58 Go to previous messageGo to previous message
Denis McMahon is currently offline  Denis McMahon
Messages: 634
Registered: September 2010
Karma:
Senior Member
On Wed, 09 Nov 2011 17:46:22 -0800, federicomo wrote:

> Sorry, thank you for your answer first!
>
> Try to explain better:
> You are right the extensions are not installed, but if I install them I
> have some warning in php -m ...

OK, well it may be that the libraries are installed, but not where php
expects to find them, or you may have a mixture of 32 bit and 64 bit
packages that is causing confusion?

Perhaps you have not installed the right php packages, eg on my debian/
ubuntu based server most of the php extensions are in packages named
"php5-......."

Or it's looking in the wrong place? My .so files are in:

/usr/lib64/php5/20090626 on my 64 bit desktop, and
/usr/lib/php5/20090626+lfs on the 32 bit server

but I can't see anything in my php.ini files that tells php that's where
the extension libraries are loaded, although I'd assume it was specified
somewhere.

The dir names can't be coincidence, I must have done software installs on
both machines on 26th June 2009.

So, perhaps (from a root account), for each relevant x:

find / -name x.so

and if it exists, create a link from where php expects to find it to
where it actually is, so that php will find it from the link where it's
currently looking, eg

if x.so is in /usr/lib64/php5/modules/x.so

then make the /usr/lib64/php/modules dir if needed, and create a link:

sudo mkdir /usr/lib64/php
sudo mkdir /usr/lib64/php/modules

ln -s /usr/lib64/php5/modules/x.so /usr/lib64/php/modules/x.so

It's a work around, but it should solve your problem if the issue is that
the files are present but not where php is expecting them.

Rgds

Denis McMahon
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: about a piece of code from drupal 3.0.x
Next Topic: php development environment in windows problems
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Fri Nov 08 00:25:13 GMT 2024

Total time taken to generate the page: 0.06346 seconds