473,394 Members | 1,761 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

PHP Configuration Problems Part II

Ok, PHP starts beautifully now. But MySQL is another story. When I
restart Apache I get the following error message, which I copied from
the Apache error log:

[Tue Oct 11 21:35:17 2005] [notice] jrApache[init] JRun 4.0 (Build
91015) Apache 2 module - Jan 6 2005 15:25:33
PHP Warning: PHP Startup: Unable to load dynamic library
'c:/php/ext/php_mysql.dll' - The specified module could not be
found.\r\n in Unknown on line 0

My path is set as follows in php.ini:

extension_dir = "c:/php/ext/"

I also tried it with and without quotes and without the last / to no
avail. And php_mysql.dll does live in this directory. The original path
was "./", which worked just as well. Any clues?
Oct 12 '05 #1
3 1239
James wrote:
Ok, PHP starts beautifully now. But MySQL is another story. When I
restart Apache I get the following error message, which I copied from
the Apache error log:

[Tue Oct 11 21:35:17 2005] [notice] jrApache[init] JRun 4.0 (Build
91015) Apache 2 module - Jan 6 2005 15:25:33
PHP Warning: PHP Startup: Unable to load dynamic library
'c:/php/ext/php_mysql.dll' - The specified module could not be
found.\r\n in Unknown on line 0

My path is set as follows in php.ini:

extension_dir = "c:/php/ext/"

I also tried it with and without quotes and without the last / to no
avail. And php_mysql.dll does live in this directory. The original path
was "./", which worked just as well. Any clues?


Have you remembered to copy libmysql.dll into the Apache2\bin directory?

-david-

Oct 12 '05 #2
David Haynes wrote:
James wrote:
Ok, PHP starts beautifully now. But MySQL is another story. When I
restart Apache I get the following error message, which I copied from
the Apache error log:

[Tue Oct 11 21:35:17 2005] [notice] jrApache[init] JRun 4.0 (Build
91015) Apache 2 module - Jan 6 2005 15:25:33
PHP Warning: PHP Startup: Unable to load dynamic library
'c:/php/ext/php_mysql.dll' - The specified module could not be
found.\r\n in Unknown on line 0

My path is set as follows in php.ini:

extension_dir = "c:/php/ext/"

I also tried it with and without quotes and without the last / to no
avail. And php_mysql.dll does live in this directory. The original
path was "./", which worked just as well. Any clues?

Have you remembered to copy libmysql.dll into the Apache2\bin directory?

-david-


I did not remember that. I didn't even find it in the documentation. But
it did the trick. You are a god (small "g") to me. :-)

James
Oct 12 '05 #3
James wrote:
David Haynes wrote:
James wrote:
Ok, PHP starts beautifully now. But MySQL is another story. When I
restart Apache I get the following error message, which I copied from
the Apache error log:

[Tue Oct 11 21:35:17 2005] [notice] jrApache[init] JRun 4.0 (Build
91015) Apache 2 module - Jan 6 2005 15:25:33
PHP Warning: PHP Startup: Unable to load dynamic library
'c:/php/ext/php_mysql.dll' - The specified module could not be
found.\r\n in Unknown on line 0

My path is set as follows in php.ini:

extension_dir = "c:/php/ext/"

I also tried it with and without quotes and without the last / to no
avail. And php_mysql.dll does live in this directory. The original
path was "./", which worked just as well. Any clues?


Have you remembered to copy libmysql.dll into the Apache2\bin directory?

-david-


I did not remember that. I didn't even find it in the documentation. But
it did the trick. You are a god (small "g") to me. :-)

James

I was having the same problem - see "MYSQLi problem in PHP - earlier on
in this newsgroup.
Thanks to David's help I upgraded to Apache 2 and copied the libmysqli
into the directory and it now all works for me!
Many, many thanks.

Malcolm Wright

Oct 12 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Famille Delorme | last post by:
Sorry if this discussion are already submited, but I don't find anything really interresting for me. And sorry for my bad english, it is not my native language. I wrote a program in Python for a...
1
by: Peter Morris | last post by:
Hi, folks. I'm just learning ASP programming in C# using Borland C# Builder I'm having problems, which I think are some sort of configuration issue, with .NET framework or IIS. I'm using XP...
7
by: | last post by:
In the beginning we had Ini files. Later we had registery files. Now have xml files and our read-only myapp.config file. My question now, is what is the best way to store and load user and...
0
by: phillip | last post by:
This is interesting, I have attached my web.config file and the exception I have been logging. I created a library which provide data access to a database and a control system. The library is...
0
by: matt.delvecchio | last post by:
hey all, recently i was getting this error in my apps: Configuration Error Description: An error occurred during the processing of a configuration file required to service this request....
3
by: Mike | last post by:
Hi I have problem as folow: Caught Exception: System.Configuration.ConfigurationErrorsException: An error occurred loading a configuration file: Request for the permission of type...
2
by: Jan Eliasen | last post by:
Hi I am having some problems reading configuration values from a configuration file, using C# 2.0. I have programmed a Windows Service, and this part goes well - it runs nicely. Now, the...
2
by: pantagruel | last post by:
Hi, I have a Visual studio 2005 project that runs as a Windows Service. In it I have declared that I am using System.Configuration. I have set one application setting for the service using the...
3
by: Robert Kochem | last post by:
Hi, I have some problems locating .NET Framework Configuration Tool for configuring an snk as fully trusted. On the PC I want to do this only the frameworks up to 3.5 were installed therefore I...
10
by: =?Utf-8?B?amM=?= | last post by:
Hello, I am able to successfully compile/link/and execute my v2005 applications using v2008 (after the v2008 automatically converts the v2005 configurations settings). I created a "generic"...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.