Error when Apache starts

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
Buggies
Forum Newbie
Posts: 7
Joined: Wed Aug 31, 2005 1:35 pm

Error when Apache starts

Post 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!
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post 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.
Buggies
Forum Newbie
Posts: 7
Joined: Wed Aug 31, 2005 1:35 pm

Post 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.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post 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.. :?
Buggies
Forum Newbie
Posts: 7
Joined: Wed Aug 31, 2005 1:35 pm

Post 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.
Buggies
Forum Newbie
Posts: 7
Joined: Wed Aug 31, 2005 1:35 pm

Post by Buggies »

Problem solved 8O
Post Reply