Page 1 of 1

Error when Apache starts

Posted: Wed Aug 31, 2005 1:43 pm
by Buggies
Here is an error I get when I start Apache. I'm VERY new to Apache. I'm trying to get this running right now because I'm trying to learn PHP. I'm running through some examples in a book i'm reading that requires the mysqli.dll extension.
PHP Warning: PHP Startup: Unable to load dynamic library 'c:\php\ext\php_mysqli.dll' - The specified procedure could not be found.
I'm running Apache 1.3.33 and PHP 5.0.4

I have dowloaded all the dll files and added them to my php extension directory, and I have edited the php.ini file to their location. THANKS for any help on this!

Posted: Wed Aug 31, 2005 1:44 pm
by feyd
Did you install MySQL 4.1 or newer? Also, you may need some various other DLL's, but they would normally come with MySQL's install... :? Check your Windows Event Viewer for errors related to it and/or the error.log file in Apache.. it may list the DLL(s) needed.

Posted: Wed Aug 31, 2005 1:57 pm
by Buggies
I ran mysql_get_server_info() and it says I have "MySQL server version: 4.0.20a-nt". And php.net says I do need additional dll's, but from what I can see they are there. They are not in the extension directory though... just in php's root folder.

Posted: Wed Aug 31, 2005 2:21 pm
by feyd
mysql_get_server_info() is for the php_mysql.dll extension, not php_mysqli.dll.

MySQL is loaded, not MySQLi. I haven't tried running MySQL and MySQLi together.. :?

Posted: Wed Aug 31, 2005 4:49 pm
by Buggies
It's killin me. I installed everything as the book says to... yet it doesn't work. At this point the book is now useless because of this.

Posted: Wed Aug 31, 2005 7:42 pm
by Buggies
Problem solved 8O