473,395 Members | 1,919 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,395 software developers and data experts.

Extension Can't Be Found But Why?

SMH

Template Document Processor: PHP 5.1.6
Server: Apache httpd 2.0.55 (Win32)
Database Server: MySQL 5.0.26-community for Win32
Operating System: Windows XP Pro SP2

=======

I just installed PHP and MySQL on my laptop for development purposes.

The following directives are set in php.ini (Windows config file):

extension=php_mysqli.dll
extension_dir = "c:\php\ext\"

No other extension is set (for the time being).

The Visible Problem:

When Apache is (re)started, the following error alert appears:

PHP Startup: Unable to load dynamic library
'c:\php\ext\php_mysqli.dll' - The specified
module could not be found.

The following is true:

1. PHP was installed in the path "c:\php" in Windows
2. I virtually copied and pasted the "c:\php\ext" into the
extension_dir directive within php.ini
3. There is a file 'php_mysqli.dll' within the 'ext' subdirectory
also copied and pasted to avoid keyboard entry errors
4. I comment out the 'extension=php_mysqli.dll' and
set another extension (=php_tidy.dll) that exists and there is
no alert when Apache is re-started.
5. The MySQL daemon (service) is running during all of this.

Items 1-4 make what I am seeing appear odd and frustrating to me.

What am I missing?
Oct 22 '06 #1
3 1647
On Sun, 22 Oct 2006 17:52:44 GMT, SMH <sm*@munged.address.comwrote:
>Template Document Processor: PHP 5.1.6
Server: Apache httpd 2.0.55 (Win32)
Database Server: MySQL 5.0.26-community for Win32
Operating System: Windows XP Pro SP2

=======

I just installed PHP and MySQL on my laptop for development purposes.

The following directives are set in php.ini (Windows config file):

extension=php_mysqli.dll
extension_dir = "c:\php\ext\"

No other extension is set (for the time being).

The Visible Problem:

When Apache is (re)started, the following error alert appears:

PHP Startup: Unable to load dynamic library
'c:\php\ext\php_mysqli.dll' - The specified
module could not be found.
This may not actually refer directly to the extension DLL - it could be the
extension DLL in turn attempting to load the MySQL client DLL.

Is the MySQL bin directory on the PATH (as seen from the Apache server
process) so it can load libmysql.dll?

--
Andy Hassall :: an**@andyh.co.uk :: http://www.andyh.co.uk
http://www.andyhsoftware.co.uk/space :: disk and FTP usage analysis tool
Oct 22 '06 #2
SMH
Andy Hassall <an**@andyh.co.ukwrote in alt.php:
On Sun, 22 Oct 2006 17:52:44 GMT, SMH <sm*@munged.address.comwrote:
>>Template Document Processor: PHP 5.1.6
Server: Apache httpd 2.0.55 (Win32)
Database Server: MySQL 5.0.26-community for Win32
Operating System: Windows XP Pro SP2

=======

I just installed PHP and MySQL on my laptop for development purposes.

The following directives are set in php.ini (Windows config file):

extension=php_mysqli.dll
extension_dir = "c:\php\ext\"

No other extension is set (for the time being).

The Visible Problem:

When Apache is (re)started, the following error alert appears:

PHP Startup: Unable to load dynamic library
'c:\php\ext\php_mysqli.dll' - The specified
module could not be found.

This may not actually refer directly to the extension DLL - it could
be the
extension DLL in turn attempting to load the MySQL client DLL.

Is the MySQL bin directory on the PATH (as seen from the Apache
server
process) so it can load libmysql.dll?
I have copied the path below
(Start->My Computer->Properties->Environment Variables->
select Path->click Edit->copy from there & paste here):

%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\Sy stem32\Wbem;
C:\Program Files\ATI Technologies\ATI Control Panel;C:\MassLynx\;
C:\Program Files\QuickTime\QTSystem\;C:\MySQL\MySQL Server 5.0\bin;C:\PHP
Also, the environment variable 'PHPRC' is set to "C:\PHP" and the user
environment variable has 'PATH' with value 'C:\PHP'
Why would PHP want to link with libmysql.dll? Is it an API for processes
wanting to interact with the MySQL daemon/server?
Oct 22 '06 #3
SMH wrote:
Andy Hassall <an**@andyh.co.ukwrote in alt.php:

>>On Sun, 22 Oct 2006 17:52:44 GMT, SMH <sm*@munged.address.comwrote:

>>>Template Document Processor: PHP 5.1.6
Server: Apache httpd 2.0.55 (Win32)
Database Server: MySQL 5.0.26-community for Win32
Operating System: Windows XP Pro SP2

=======

I just installed PHP and MySQL on my laptop for development purposes.

The following directives are set in php.ini (Windows config file):

extension=php_mysqli.dll
extension_dir = "c:\php\ext\"

No other extension is set (for the time being).

The Visible Problem:

When Apache is (re)started, the following error alert appears:

PHP Startup: Unable to load dynamic library
'c:\php\ext\php_mysqli.dll' - The specified
module could not be found.

This may not actually refer directly to the extension DLL - it could
be the
extension DLL in turn attempting to load the MySQL client DLL.

Is the MySQL bin directory on the PATH (as seen from the Apache
server
process) so it can load libmysql.dll?


I have copied the path below
(Start->My Computer->Properties->Environment Variables->
select Path->click Edit->copy from there & paste here):

%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\Sy stem32\Wbem;
C:\Program Files\ATI Technologies\ATI Control Panel;C:\MassLynx\;
C:\Program Files\QuickTime\QTSystem\;C:\MySQL\MySQL Server 5.0\bin;C:\PHP
Also, the environment variable 'PHPRC' is set to "C:\PHP" and the user
environment variable has 'PATH' with value 'C:\PHP'
Why would PHP want to link with libmysql.dll? Is it an API for processes
wanting to interact with the MySQL daemon/server?
???

Maybe because you told it to load the mysqli extension? And just maybe
that extension, since it calls mysql, needs access to the mysql libraries?

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attglobal.net
==================
Oct 22 '06 #4

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

Similar topics

0
by: dc | last post by:
Hello. I am looking for some Beta Testers for a new product called "Nested Templates" that uses a Dreamweaver MX Extension. More info can be found here...
1
by: Prem | last post by:
Hi, I need to search a particular directory for all the files that do not have any extension and have a specific naming convension. The first 3 characters of the file name are alpha and the rest...
4
by: pepcag | last post by:
I used http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconalteringsoapmessageusingsoapextensions.asp as a template to create a very simple web method with soap...
2
by: damezumari | last post by:
I use win 2000, php 4.4.2, phpmyadmin 2.8.0.3, iis 5.0, and mysql 5.0. When I try to run http://localhost/phpmyadmin/index.php I get the error messages: --- The mbstring PHP extension was...
3
by: magix | last post by:
Dear Guru, What is the requirement to be able to run asps extension ? I installed .NET Framework 2.0. Any other .NET components I need to install in order to run aspx extension ? My IIS Server...
3
by: news | last post by:
After installing phpMyAdmin on my Fedora Core 4 box, (Apache 2.0.54, PHP 5.0.4) we're getting this error: "The mbstring PHP extension was not found and you seem to be using a multibyte charset....
8
usafshah
by: usafshah | last post by:
i'm using phpmyadmin on Fedora core 6, everything seems to be fine but the only thing is when i open phpmyadmin at the bottom it says like The mbstring PHP extension was not found and you seem to...
15
by: kyosohma | last post by:
Hi, I am trying to get a small group of volunteers together to create Windows binaries for any Python extension developer that needs them, much like the package/extension builders who volunteer...
5
by: Chuck Anderson | last post by:
I run Apache 2.0.55, and Php (both 4.4.1 and 5.2.5) on my home PC (Windows XP). One of the scripts that I run daily needs to access a secure URL (https://..............). When I am running Php4,...
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:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
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.