I keep getting this error and/or similar errors. I am very new to mysql and php.
"PHP Warning: Unknown(): Unable to load dynamic library './php_mysqli.dll' - The specified module could not be found. in Unknown on line 0 " and
"PHP Warning: Unknown(): Unable to load dynamic library 'C:\PHP\php_mys qli.dll' - The specified module could not be found. in Unknown on line 0"
I've moved and copied 'libmysql.dll', 'php_mysqli.dll ', and 'php.ini' to the php directory, windows dir, and system32 dir. I've been to dozens of different forums and nothing I do is fixing this problem!?
Changed the extension dir to "extension_ dir = "C:\PHP\"" and uncommented "extension=php_ mysqli.dll" and "extension=php_ mysql.dll"
Mind you, this is all what different forums have said to do.
I was currently working with mysql 4.1, but upgraded to 5.0 and using php 4.4.4.
Anthing would help right now..!
6 3841
When you use Windows you have to write the path to PHP in the UNIX way
so use things like
extension_dir = "c:/php/"
You may also try a real windows installer like the WAMP pack installing all and everything for you.
When you use Windows you have to write the path to PHP in the UNIX way
so use things like
extension_dir = "c:/php/"
You may also try a real windows installer like the WAMP pack installing all and everything for you.
Tried that, and it didn't work, the error just shows the forward slashes instead of the back slashes. Could there be a problem with environment variables? i'm not sure how to change those, somone had suggested modifying those?
vssp 268
Contributor
Please try to stop and start multiple time I think its working fine
vssp
Normaly you should not have to add a path in the environment but in certain constistant errors you can do so. but be sure to restart the machine not only the servers installed. Even winXP tends to have problems with adding env. vars on the fly
To set environment vars in Windows XP take the next steps:
Rightclick "My computer" on your desktop and select "properties "
in the properties window select "Advanced"
On the bottom of this window you find a button "Environmet varaibles"
Go to the "system" part and select the existing var "Path" and add your path to PHP seperated from the existing using a semicolon (;)
Well I tried everything posted here and nothing seemed to help. So I ended up deleting everything and reinstalled php, and it seems that the problem came from libmysql.dll. I don't know if I mixed up different dll's or what but it works!! Thanks for the help! Sign in to post your reply or Sign up for a free account.
Similar topics |
by: Stefan |
last post by:
Hi,
I just downloaded PHP-4.3.3 for win32 and got the extensions folder and
dropped it intot he root of the PHP directory and set it's path in the
PHP.ini:
extension_dir = "c:/php/extensions/"
But I am still getting the error that it can't find the php_mhash.dll though
I can see that it is indeed in the folder.
|
by: Rea |
last post by:
Hi!
I've searched high and low for this on the net but stil haven't found an
answer.
I'm trying to install both postnuke and xoops on a win2k server with php
4.3.3. and mysql installed.
Both applications are loading terribly slow. When the page finally has been
rendered I got the following error:
|
by: patel |
last post by:
Hello,
I get this warning with my PHP code sometimes. It will come up, and
then after reloading the page once or twice, it will go away. Any
ideas? The code is below:
Warning: Unknown: Your script possibly relies on a session side-effect
which existed until PHP 4.2.3. Please be advised that the session
extension does not consider global variables as a source of data,
unless register_globals is enabled. You can disable this functionality...
|
by: Spartanicus |
last post by:
The document at http://homepage.ntlworld.com/spartanicus/custom_dtd.htm
uses a custom DTD, the w3c validator validates it but with this warning:
"Unknown Parse Mode!
The MIME Media Type (text/html) for this document is used to serve both
SGML and XML based documents, and it is not possible to disambiguate it
based on the DOCTYPE Declaration in your document. Parsing will continue
in SGML mode."...
|
by: Ed L. |
last post by:
On 7.4.6, is there any problem with defining one column of a view to be a
string literal? For example ...
$ psql -c "create view fooview as select 'bar' as footype"
WARNING: column "footype" has type "unknown"
DETAIL: Proceeding with relation creation anyway.
CREATE VIEW
Or is this warning just noise in this case?
| |
by: Shaun |
last post by:
Hi all,
I'm trying to implement a custom session handler that writes session
data to a MySQL database. It works fine about 99% of the time. Trouble
is, at random intervals, I get entries like the following in my
php-error.log:
PHP Warning: Unknown: A session is active. You
cannot change the session module's ini settings at this time. in
Unknown on line 0
|
by: Manish |
last post by:
PHP INI File Setting
------------------------------------------------------------------------------------------------------------------
error_reporting = E_ALL & ~E_NOTICE
No warning message are displayed when script executed from the browser.
Only Error, Fatal errors are displayed.
But when the same script is executed from the command line
192.168.0.2# php lpmonitor.php
Warning messages are displayed.
|
by: siyaverma |
last post by:
Hi,
I am new to php, i was doing some small chnages in a project developed by my collegue who left the job and i got the responsibility for that,
After doing some changes when i run it on my local server it was working fine but giving some errors those are
Notice: Undefined index: phplogin in C:\Inetpub\wwwroot\sampleft\index.php on line 116
Notice: Undefined variable: username in C:\Inetpub\wwwroot\sampleft\index.php on line 116
...
|
by: lostlander |
last post by:
In ARMCC, and Microsoft C, when i use a function which is never
defined or delared, it gives out a warning, not a compiling error?
why?
(This leads to a bug to my program since I seldom pay much attention
to warnings...)
Thanks for explanation!
|
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...
|
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...
| |
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
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...
|
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();...
|
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...
|
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
| |
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...
| |