Re: PGP 5 start up issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, November 4, 2005 8:46 pm, Vizion wrote:
> php 5 on windows xp with apache 2 and mysql 5.
>
> Php start up unable to load dynamic library:
> E:\php\ext\php_bz2.dll with error 'The specified module could not be
> found'
> same for  and php_yaz.dll
> I have php5ts.dll in both E:\php\ and E:\php\ext
>
> I had a similar problem for php_mcrypt which was solved by installing
> libmcrypt.dll in E:\windows\system32 but I just cannot seem to solve
> the
> problems with these two.
>
> I tried copying versions of yaz.dll and php_yaz.dll from
> http://www.indexdata.dk/phpyaz  but to no avail. That only screwed up
> php 5
> because those versions seemed to be looking for php4ts.dll rather than
> php5ts.dll so I seemed to have got stumped.

For sure, you CANNOT mix-n-match the DLLs from PHP4 and PHP5.

You can't even reliably mix-n-match 4.1.x and 4.1.y, really, I don't
think.  It *might* work, but I doubt it would be truly stable
long-term, as sooner or later you'll use that one function that
CHANGED between x and y, and Boom!

That said, start with http://php.net/phpinfo and see where PHP thinks
your php.ini file should be.

Put your php.ini file there.

Then, in that php.ini file, look for the extensions_dir setting, and
see where it expects your extensions to be.

Then put all your PHP5 DLLs there.  Only include the DLLs that came
bundled with your PHP5 zip, at least to start.

You *might* be able to find PHP DLLs that were compiled with that
EXACT SAME version of PHP for the libraries you want.  But under no
circumstances should you try DLLs compiled for other versions.  If
you're lukcy it won't work at all.  If you're unlucky, it will SEEM to
work, and you'll go on with life, until... see Boom! above.

You may want to try the PHP-Windows list to locate specific DLLs for
your PHP version.  Good Luck!

PS
In theory, if you own MSVC++ 7 (8? 9?) you could snag PHP source and
compile all the DLLs you need...  I tried that once, and couldn't get
past finding the "compile" button in the IDE, which promptly caused
the IDE to puke un-intelligible error messages at me... I thrashed and
flailed and Googled [*] for days and got nothing useful.  I was doing
this because the (there was only one then) PHP Windows guy was too
busy to compile PHP for Windows and PHP 3.?.? had just come out and
somebody else needed it... Some other person got the job done,
fortunately.  I never did get MSVC++ to do anything useful...

* Can you call it Googling when you did it using search engines that
pre-date Google because Google didn't exist?... :-)

-- 
Like Music?
http://l-i-e.com/artists.htm

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux