473,508 Members | 2,298 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

PHP Warning Unknown()..?

37 New Member
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_mysqli.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..!
Oct 5 '06 #1
6 3830
bevort
53 New Member
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.
Oct 5 '06 #2
delusion7
37 New Member
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?
Oct 5 '06 #3
vssp
268 Contributor
Please try to stop and start multiple time I think its working fine

vssp
Oct 6 '06 #4
bevort
53 New Member
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
Oct 6 '06 #5
bevort
53 New Member
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 (;)
Oct 6 '06 #6
delusion7
37 New Member
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!
Oct 7 '06 #7

Sign in to post your reply or Sign up for a free account.

Similar topics

1
20603
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 =...
2
4558
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. ...
0
1885
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...
8
7402
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...
3
6622
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"...
0
2140
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...
0
2396
by: Manish | last post by:
PHP INI File Setting ------------------------------------------------------------------------------------------------------------------ error_reporting = E_ALL & ~E_NOTICE No warning message are...
5
7168
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...
4
1814
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...
0
7225
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
7123
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7324
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
7382
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...
1
5052
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...
0
3181
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1556
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 ...
1
766
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
418
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...

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.