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

loading mysql extension for use with php-cgi.exe

I used this php package to install on my system...

PHP 5.0.0 installer [2,235Kb] - 26 July 2004
(CGI only, packaged as Windows installer to install and configure PHP, and
automatically configure IIS, PWS and Xitami, with manual configuration for
other servers. N.B. no external extensions included

It works fine... as the test page outputs the correct php page.

I installed PHP to make use of the mysql database thrue phpmyadmin. When i
try phpadmin it gives the messages;

cannot load MySQL extension,
please check PHP Configuration.
Documentation

So how do i load the mysql extenstion thrue php.ini in system dir to work
with php-cgi.exe ?

When i tried to load the php_mysql.dll with php.ini wich is provided with
the isapi package of php it gives an error loading ... Php startup mysql:
unable to initialize module. Module compiled with module Api=20040718 ,
debug = o , thread safety =1 PHP compiled with module Api=20040412 , debug =
o, thread safety =1 these options need to match.

p.s.

( i tried the isapi install earlier but that gave numerous errors, so am
back at the php-cgi.exe)

So question is.. how do i load a mysql extension to work with php-cgi.exe ,
so i could use phpadmin. wich relies on the mysql extention.

thanks,

Bernhard.
Jul 20 '05 #1
0 2032

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

Similar topics

6
by: Spidah | last post by:
Looking at the list of changes made in PHP5 one of them is "Removed the bundled MySQL client library" Does anyone know exactly what this means? I assume we will still be able to code for...
5
by: Harry | last post by:
Since yesterday, when I try and start apache, I get the following message: Warning: PHP Startup: Unable to load dynamic library 'C:\Program Files\PHP\ext\php_mysql.dll' - the specified...
3
by: dave | last post by:
Hello there, I am at my wit's end ! I have used the following script succesfully to upload an image to my web space. But what I really want to be able to do is to update an existing record in a...
10
by: Patrick | last post by:
Hi I am a newbie and was just getting started working on a guestbook tutorial when I got an error message upon running my PHP code: Fatal error: Call to undefined function mysql_connect() in...
1
by: lithne | last post by:
Hi, when I try to open phpMyAdmin administration page I got this error: 'Cannot load mysql extension, please check your PHP configuration' I cannot sort out what's the source of the problem,...
1
by: snapcount | last post by:
Hi, I need some help with this. I've enabled php_gd2.dll and php_mbstring.dll in the php.ini file and they're loading ok but the php_mysql.dll is not getting loaded. Apache's error.log reports:...
5
by: php-newbe | last post by:
I can conntect to mySQL thouth the mySQL monitor, but I cannot access it thorugh php script. After PHP5 installation I had uncommented "extention_php_mysql.dll" in php.ini file. I copied...
7
by: Siegfreed | last post by:
My PHP version is obviously not compiled with MySQL support, consequently I get the following message:- Fatal error: Call to undefined function mysql_connect() in C:\http-dir\board\connect.php...
9
by: christopher_board | last post by:
Hi all. I am trying to connect to a MySQL Database using PHP on a local machine using locahost. I am using the following code <?php $dbhost = 'localhost'; $dbuser = 'root'; $dbpass =...
15
by: pdhb_1 | last post by:
I'm trying to run Apache2.2.6 with php. However, I keep getting a long list of error messages in the log file indicating that includes are failing. For example, "PHP Warning: PHP Startup:...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
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
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...
0
agi2029
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,...

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.