Page 1 of 1

xampplite + win98 = doesn't load ext/*.dll

PostPosted: 14. November 2006 16:58
by Adder
Apache and mysql runs, but I can't call mysql_connect from php since the DLLs aren't loaded(they are present though).

I DID run setup_xampp.bat this time and left xampplite at the root.
Version is xampplite-win32-1.5.4a.exe

This also might explain some other problems reported.

error.log:
PHP Warning: PHP Startup: Unable to load dynamic library 'H:\\xampplite\\php\\ext\\php_imap.dll' - Ein an das System angeschlossenes Ger\xe4t funktioniert nicht.\r\n in Unknown on line 0
[Tue Nov 14 15:59:09 2006] [notice] Apache/2.2.3 (Win32) DAV/2 mod_ssl/2.2.3 OpenSSL/0.9.8d mod_autoindex_color PHP/5.1.6 configured -- resuming normal operations
[Tue Nov 14 15:59:09 2006] [notice] Server built: Sep 30 2006 21:24:06
[Tue Nov 14 15:59:09 2006] [notice] Parent: Created child process -16410793
[Tue Nov 14 15:59:24 2006] [notice] Child -16410793: Child process is running
[Tue Nov 14 15:59:24 2006] [notice] Child -16410793: Acquired the start mutex.
[Tue Nov 14 15:59:24 2006] [notice] Child -16410793: Starting 250 worker threads.
[Tue Nov 14 15:59:27 2006] [notice] Child -16410793: Listening on port 443.
[Tue Nov 14 15:59:27 2006] [notice] Child -16410793: Listening on port 80.

Re: xampplite + win98 = doesn't load ext/*.dll

PostPosted: 15. November 2006 00:06
by Izzy
Adder wrote:I DID run setup_xampp.bat this time and left xampplite at the root.
Version is xampplite-win32-1.5.4a.exe

This also might explain some other problems reported.

error.log: PHP Warning: PHP Startup: Unable to load dynamic library 'H:\\xampplite\\php\\ext\\php_imap.dll'

This often occurs when setup_xampp.bat either been run when it is not needed or it has been run more than once. It adds a second \ to the path.

Open xampp\apache\bin\php.ini file in your fav. text editor and find any instances of the path:
H:\\xampplite\\php\\ext\\
Usually here:
; Directory in which the loadable extensions (modules) reside.
extension_dir = "H:\\xampplite\\php\\ext\"

change it to read:
H:\xampplite\php\ext\

Hopefully this will fix your problem but while you are in the php.ini file check for other instances of a double \\ in any paths and change them to a single \.

You may find that there are more instances created in your XAMPP installation paths with this problem. If it pops up again in your error.log then just change the offending path to a single \.

Alternatively delete the current xampp directory and re-install as per the readme-en.txt file in the \xampp\ directory.

PostPosted: 15. November 2006 09:18
by Adder
Thank you for the reply.

I ran it only once, and it already reads
; Directory in which the loadable extensions (modules) reside.
extension_dir = "H:\xampplite\php\ext\"

/xampplite/php/ext/ doesn't work either.
Neither does \xampplite\php\ext\ or H:\XAMPPL~1\php\ext\ (They show up in the log files)