473,788 Members | 2,672 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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_m ysqli.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 1665
On Sun, 22 Oct 2006 17:52:44 GMT, SMH <sm*@munged.add ress.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_m ysqli.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.u k :: 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.add ress.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_m ysqli.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%\sy stem32;%SystemR oot%;%SystemRoo t%\System32\Wbe m;
C:\Program Files\ATI Technologies\AT I Control Panel;C:\MassLy nx\;
C:\Program Files\QuickTime \QTSystem\;C:\M ySQL\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.add ress.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_m ysqli.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%\sy stem32;%SystemR oot%;%SystemRoo t%\System32\Wbe m;
C:\Program Files\ATI Technologies\AT I Control Panel;C:\MassLy nx\;
C:\Program Files\QuickTime \QTSystem\;C:\M ySQL\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*******@attgl obal.net
=============== ===
Oct 22 '06 #4

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

Similar topics

0
2385
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 http://www.decloak.com/Products/Dreamweaver/NestedTemplates/ It's basically a product and extension for building a web site with a navigation menu like
1
7548
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 are numeric. For example, valid files are 'abc1234', 'xyz9876' etc. Is there a search pattern I can use with the Directory.getFiles( ) method. Thanks in Advance Prem
4
6031
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 extension. The code like this: public string HelloWorld() { return "Hello World.";
2
18750
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 not found and you seem to be using a multibyte charset. Without the mbstring extension phpMyAdmin is unable to split strings correctly and it may result in unexpected results.
3
1155
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 is 6.0. Currently, if I run aspx file in localhost, it will said page not found. Please advise. Thanks.
3
25890
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. Without the mbstring extension phpMyAdmin is unable to split strings correctly and it may result in unexpected results." The phpinfo() has no reference to mbstring. Doing some searching, I found some information regarding php.ini and...
8
18818
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 be using a multibyte charset. Without the mbstring extension phpMyAdmin is unable to split strings correctly and it may result in unexpected results. i opened the file php.ini and found ;extension=php_mbstring.dll and removed the semicolon,...
15
3228
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 their time to create Linux RPMs. The main thing I need are people willing to test the binaries to make sure the extension is stable. This would require installing the binary and probably downloading the source too to get the developer's test
5
7967
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, it can open the file. However, when I run Php5 I (now) get this error message: "Unable to find the wrapper "https" - did you forget to enable it when you configured PHP?" This is new. Last time I messed with this, I merely got:
0
9656
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10373
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10177
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
7519
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6750
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5403
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4074
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3677
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2897
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.