Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    PHP


SuperbHosting.net have generously sponsored dedicated servers to ensure a reliable and scalable dedicated hosting solution for BigResource.com.





Cannot Load Php_mysql.dll Extension


I have installed PHP 5.2, MySQL 5.0, and Apache 2.2. Everything
works fine except the error mentioned in the subject. Here is the
error log for Apache which shows the problem...

[Mon May 28 03:11:03 2007] [notice] Apache/2.2.4 (Win32) PHP/5.2.2
configured -- resuming normal operations
[Mon May 28 03:11:03 2007] [notice] Server built: Jan 9 2007 23:17:20
[Mon May 28 03:11:03 2007] [notice] Parent: Created child process 2076
PHP Warning: PHP Startup: Unable to load dynamic library 'C:PHPext
php_mysql.dll' - Invalid access to memory location.
in Unknown
on line 0
[Mon May 28 03:11:03 2007] [notice] Child 2076: Child process is
running
[Mon May 28 03:11:03 2007] [notice] Child 2076: Acquired the start
mutex.
[Mon May 28 03:11:03 2007] [notice] Child 2076: Starting 250 worker
threads.
[Mon May 28 03:11:03 2007] [notice] Child 2076: Starting thread to
listen on port 80.
[Mon May 28 03:11:12 2007] [notice] Parent: Received shutdown signal
-- Shutting down the server.
[Mon May 28 03:11:12 2007] [notice] Child 2076: Exit event signaled.
Child process is ending.
[Mon May 28 03:11:13 2007] [notice] Child 2076: Released the start
mutex
[Mon May 28 03:11:14 2007] [notice] Child 2076: Waiting for 250 worker
threads to exit.
[Mon May 28 03:11:14 2007] [notice] Child 2076: All worker threads
have exited.
[Mon May 28 03:11:14 2007] [notice] Child 2076: Child process is
exiting
[Mon May 28 03:11:14 2007] [notice] Parent: Child process exited
successfully.




View Complete Forum Thread with Replies

Related Forum Messages:
Cannot Load Mysql Extension - Php_mysql.dll File Required.
I need php_mysql.dll file and where i can add this file...cause my sql server
shows a error that "Cannot load mysql extension"..

View Replies !
Php_mysql.dll Extension Not Loading
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:

PHP Warning: PHP Startup: Unable to load dynamic library 'c:/program
files/php/ext/php_mysql.dll' - The specified module could not be
found. in Unknown on line 0

What puzzles me is that the MySQL server works ok, PHP works ok,
several extensions work ok but php_mysql.dll cannot be found although
it is in the extension directory.

View Replies !
Unable To Load Dynamic Library Php_mysql.dll
I'm using PHP5 and MySQL 5 running on Windows Server 2003, the installation of both all went well, but when I try to run a website I keep getting the above error. I know its to do with the php_mysql.dll and libmysql.dll, but I cannot sort out this problem, I'm fairly new to PHP. The version of php_mysql.dll=5.0.2.2 Cannot find verion of libmysql.ddl but its 1,272KB in size I've done what other sites have suggested.

1. Enabled the PATH variable to point to where php is ;d:php;
2. In php.ini enable the extension_dir to be d:phpext, even tried d:/php/ext nothing
3. Enabled extension=php_mysql.dll
3. Copied php_mysql.dll into the above dir, still nothing
4. Copied libmysql.ddl into the above dir, still nothing
5. Copied both dll's into c:windowssystem32, still nothing
6. Copied them into c:windows
7. Restarted server nothing.

View Replies !
Unable To Load Dynamic Library 'C:/php/ext/php_mysql.dll'
I keep getting this:
"PHP Warning: PHP Startup: Unable to load dynamic library
'C:phpextphp_mysql.dll' - The specified module could not be found."

when I tried to load the php_mysql.dll module when starting my Apache
2.0 in windows XP.

The file, php_mysql.dll is there. why?

Do I have to load this file before I can use "mysql_connect()"?

View Replies !
Unable To Load Dynamic Library './php_mysql.dll'
When I start my PC(winXP Pro), it always says: Unknown(): Unable
toload dynamic library './php_msql.dll' - The specified module could
not be found.

Then my Apache servre starts, load php module and works well.
I copied php_msql.dll to my system32 directory. Who knows what's
wrong?

View Replies !
PHP 5.2.1: Cli Does Load Php_mysql.dll While The Same Script Executed By Apache 2.2 Fails Call To Undefined Function Mysql_connect()
After I overcame some short_open_tag (thanks, Rik!) I encounter
another strange php-behaviour. The script I just got to work on the
windows-commandline obviously does as php.ini tells php to do and
loads php_mysql.dll:

E:ersDHCP>php ./extractLog.php
.... some mysql-stuff, some output, OK

The same script invoked by the webserver apache 2.2 entails an error:

http://localhost/extractLog.php
PHP Fatal error: Call to undefined function mysql_connect()

My configuration php.ini does contain the line extension=php_mysql.dll
and seems to be OK while I use the script from commandline. Is there
anybody who can give me a hint where to cope with this error?Christian

View Replies !
Cannot Load MySQL Extension.
This is prolly the third windows box I've set up PHP/MySQL on, but for some reason this one is giving me greif. Anywho, PHP is successfully installed and running, apache works fine, and MySQL is running as a service. All sql/php modules are loaded up fine in apache's conf file, but when I try running phpmyadmin, I get this error:
'cannot load MySQL extension'

phpmyadmin documentation says:
"Usually, the problem is solved by installing a software package called "PHP-MySQL" or something similar. "


Now, I haven't been able to find this software package. Anyone know what could be causing this? I've never had this problem before.

View Replies !
Cannot Load A Mysql Extension
this simple matter but ý need a urgent need.
ý tried set phpMyAdmin on RedHat9 mysql3.23.54 php4.2.2 and apache 2.0.40 but when try to reach index page of PhpMyAdmin it gives me an error as "cannot load a mysql extension check php config" even if mysql.so is under lib/php4/.
What thing must change php config file?

View Replies !
Cannot Load Mysql Extension
I posted this to the sourceforge phpMyAdmin ng, but there was a comment
that it was properly a php question, so I'm posting it here.

I'm on Windows XP, and have just installed Apache, php 5, and
phpMyadmin from zipped binaries. The only thing irregular thing I’m
conscious of doing is unpack phpMyadmin, files and directories,
directly into Apache2htdocs, because that was the only place I knew I
could reach with the <http://localhost> syntax. The phpMyadmin book I’m
using focuses on domains, and not local file-based installations, so
I’m floundering a bit here.

I believe I have php flying, because I can use Firefox to browse to
http://localhost/phpinfo.php and see the HTML-like display in the
browser. I created a little echo-the-date .php and put it in
Apache2htdocs, it renders the date in Firefox properly. The
_SERVER["SERVER_SOFTWARE"] entry reported by phpinfo is “Apache/2.0.52
(Win32) PHP/5.0.2.”

I have uncommented extension=php_mysql.dll in php.ini, and set
extension_dir to "c:php5ext". I copied libmysql.dll and php_mysql.dll
to ..system32. In fact, I have nine copies of libmysql.dll in six
different file sizes on my system. (Could that be the problem-battling
DLLs?)

Per page 18 of Jason Gilmore’s “Beginning PHP 5 and MySQL,” I added
“index.php” to httpd.conf’s DirectoryIndex entry.

However, when I attempt to browse to <http://localhost/index.php>,
which is the configuration test for phpMyadmin, I get the dread--
cannot load mysql extension, please check PHP Configuration Documentation

I imagine this is some little thing in my.ini, httpd.conf, or php.ini.
Any suggestions?

View Replies !
Load Extension Without Installing It In Php.ini
Could possible to load a PHP module extension without installing it in php.ini ? Just like PclZip from PHPConcept.net (but it's a class library). We can organize ZIP archives without installing it first.

View Replies !
I Can't Get Extension=_mysql.dll To Load
I can get anything else to load tho. =(

Pertinent Parts of Php.ini
extension_dir = "C:PHPext"

extension=php_mysql.dll
... (figured you didn't need the entire list)
extension=php_xmlrpc.dll
extension=php_xsl.dll

I've deleted the the old copy of libmysql.dll and added C:PHP to PATH (It has the current libmysql.dll for PHP).

View Replies !
Cant Solve Cannot Load MySQL Extension
Using Windows Installer on XP Pro SP2 with IIS5, phpMyAdmin, MySQL....trying
to get OSCommerce working and having a mare.

View Replies !
Cannot Load Imap Extension In Win98
I removed the ; before "extension=php_imap.dll" in php.ini, and when I
start Apache 1.3 I get the following error message:

Unknown():Unable to load dynamic library
'c:phpextensionsphp_imap.dll". Uno de los dispositivos vinculados
al sistema no funciona (Translation: one of the devices attached to
the system doesn't work).

I already checked the extension_dir directive, and copied php_imap.dll
to c:windows just in case.

I am using Windows98 SE with php 4.3.3 as module in Apache 1.3

View Replies !
Cannot Load MySQL Extension On Redhat 7.2
I'm trying to run phpMyadmin and i iinstalled it on my redhat 7.2 and this is the message i get when i look load my index.php file.

View Replies !
Myadmin Cannot Load Mysql Extension
i download php-5.2.3-win32-installer.msi, there's a missing ext directory. now i encounter so many error.

phpmyadmin error:
cannot load mysql extension;
please check PHP configuration
Documentation

open php.ini
comment off
extension_dir = "C:PHPext"
extension=php_msql.dll
extension=php_mssql.dll
extension=php_mysql.dll

still not working

View Replies !
PhpMyAdmin - Cannot Load Mysql Extension
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, cause:

1. In the php.ini file I commented out the line
'extension=php_mysql.dll' and properly set the path to extension
directory: extension_dir = "c:phpext"
2. MySQL is running
3. In the config.inc.php file I set $cfg['PmaAbsoluteUri'] to
http://localhost/phpMyAdmin/ and $cfg['servers'][$i]['extension'] to mysql
4. I tried also copying php_mysql.dll and libmysql.dll modules to system
folders: system i system32 but it didn't work.

I'm using following versions of software (under Windows XP):
PHP 5.0.5
phpMyAdmin 2.6.4-pl3
Apache 2.0.54
MySQL 5.0.15

View Replies !
PHPMyAdmin ? Error - Cannot Load Mysql Extension
Good Day:
I installed my php5, mysql5, and Apaceh2.2.
and my configurations was:

PHP: (php.ini):
-----------------
extension_dir = "C:php5ext"

Uncomment this line:
extension=php_mysql.dll

Apache: (httpd.conf):
----------------------
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps

LoadModule php5_module "C:/php5/php5apache2_2.dll"

**it works As i write a simple program with php, i tried to use PHPMyAdmin after downloading it & put the folder of htdocs.

But it gives me that error.
----------------------------------

phpMyAdmin - Error

Cannot load mysql extension. Please check your PHP configuration. -
Documentation

-----------------------------

what about configuring phpMyadmin?

View Replies !
Cannot Load Mysql Extension Error With WAMP
i just intalled WAMP and when i try to open phpmyadmin this shows. Cannot load mysql extension. Please check your PHP configuration. i seen a few trouble shoot and they all say to change the path in windows and all of that but every where i look is set up right WAMP sets everything to work in the directory that is set up i dont know why this shows.

View Replies !
MySQL Extension Wont Load For PhpMyAdmin.
I've set up an apache server, with MySQL and the latest version of PHP, but the MySQL extension wont load for phpMyAdmin.

View Replies !
Unable To Load Module... 2 Extension Directories Possible? (WINDOWS)
I had the PHP Startup: Unable to load dynamic library:

'C:phpextphp_json.dll' - The specified module could not be found.

I finally figured out the error. The problem is that the DLL relies on
several other DLLs found in the C:WINDOWSsystem32 folder.

Now, the problem is this... I do not want to copy 20+ extensions to my
system32 folder, nor do I want to copy 50+ DLLs from my system32 to my
extension directory.

Does anyone know of a method to get around this? Something along the
lines of having it check both the extension directory and the system32
folder for the associated DLLs?

View Replies !
Cannot Load Mysql Extension. Please Check Your Configuration. - Documentation
I am Polish/Canadian I was born in Poland and I live in Canada

I get this message error Cannot load mysql extension. Please check your PHP configuration. - Documentation

I did the PHPINiDiR Directive in httpd.conf and as well I tried already the enviromental tables right clicking the my computer. I have the extensions loaded as well in php.ini, and yes there is the fullpath in ext in php.ini I have php 5.20 snapshot The problem is with phpMyAdmin.

View Replies !
Myadmin Error "Cannot Load Mysql Extension"
I have been trying to get a php, mySQL install to work and talk together on Windows XP SP2 with IIS. So far I installed and received a responce from php(V5 - manual install) though the: <?php phpinfo(); ?>

command which prints out the current settings of the php install.

View Replies !
HELP "Cannot Load Mysql Extension"
Fedora Core 2 server with httpd-2.0.54-10.2 php-4.3.10-2.4
php-mysql-4.3.10-2.4 It had MySQL 3.23.58.something on it, but the PHP
websites were using a 4.something MySQL on another machine. I updated
the MySQL on this machine to mysql-4.1.20-1.FC4.1 and now no PHP sites
come up. But mysql.so is right where it's always been:

[root@web1 abtech]# ls -l /usr/lib/php4/mysql.so
-rwxr-xr-x 1 root root 44364 Dec 21 2004 /usr/lib/php4/mysql.so

And the extension line has been commented out of /etc/php.ini and Apache
restarted.

View Replies !
Php_mysql.dll
I have Apache 2.0.50 and PHP5 on a Xp test machine (not going live)
I also have installed MySQL 4.0.20

Modiefied php.ini, changed the extensions_dir to 10 different things in a
row, none helped. copied all the dlls all over the place, no dice.

Uncommented the extension = php_mysql.dll and got an error starting apache.
Commented it out again, no error ,but still the undefined function
mysql_connect in PHP

The script runs perfectly in my PHPEdit IDE environment, so that and MySQL
isn't the issue (the console works too). checked google, found some reports of similar stuff, but none of the suggestions seems to be applicable.=

View Replies !
Need Clarification Of Installing Php_mysql.dll Php_mysqli.dll Simultaneously
According to the PHP Manual,

"If you would like to install the mysql extension along with the
mysqli extension you have to use the same client library to avoid any
conflicts."

I find this confusing because I have two dll libraries installed on my
Windows XAMP system:

(1) php_mysql.dll
(2) php_mysqli.dll

I seem to be able to use functions from both of these libraries, so I
am confused as to what the PHP manual is saying.

View Replies !
Error Loading Php_mysql.dll On Apache Startup
Since yesterday, when I try and start apache, I get the following
message:

Warning:
PHP Startup: Unable to load dynamic library 'C:Program
FilesPHPextphp_mysql.dll' - the specified procedure could not be
found.

I am running PHP 5.0 on Apache 2 and have been for some time. I got
this error when I first installed PHP5/Apache2 on this machine (a
totally fresh install - HDD reformat!!) However, it went away, and I
can't remember what I did to get rid of it.

I originally thought it was because I had a space in the location of
the dll. but I have been running it this way for a long time. I have
not changed my php.ini recently, other than trying to solve this
problem (not got any further than just commenting/uncommenting the
line that loads that module.

The module is definitely located where it is looking. I have no clue
what is going on.

View Replies !
Error Module Not Found. Php_mysql.dll Does Not Exist
I was wondering if anyone could help me. I am trying to install ph
so that i can learn the code. So far i havent had any problem
installing apache. However when i try to get mysql to run wit
apache and php the windows services gives an error upon startin
apache. Something lik

error module not found. php_mysql.dll does not exist

The only problem is it does exist. I moved the file and changed th
paths to point to it but nothing seems to work. Im beginning t
think it is a Windows Services error and nothing to do with th
apache/php files.

View Replies !
Load A Button 7 Seconds After Page Load?
I was wondering if there was a way to make an input button appear on a page after an X amount of seconds?

View Replies !
How Can I Load Load Additional Extensions ?
My OS is Winxp . My web server is apache 2 which is installed as a NT
service .

My php version is 4.32 , and I extracted it into "c:php" .

I run php as a apache module .

I want to load Additional extensions .They are php_mbstring.dll,
php_xslt.dll and php_domxml.dll .

I have made changes to php.ini as follow.
extension_dir = "c:phpextensions"
extension=php_mbstring.dll
extension=php_xslt.dll
extension=php_domxml.dll

then I restarted apache2 .

but it told me that the modules could not be located .

View Replies !
Add An Extension To A File That Is Without Extension.
I have quite a lot of jpg images that are actually without extension  .
Is there any way to add this "jpg" extension using php .

View Replies !
SSI With .php Extension
Is is possible to call an ssi script with a .php extension?

Here is the line of code in the webpage:

<!--#EXEC CGI="/cgin-bin/script.pl"-->

Currently I have the page named index.shtml and
it executes the above script fine, but when I rename it
to index.php it doesn't work.

Is there anyway this can be done in a php page?

Anyone who can help, I would greatly appreciate!

View Replies !
Add New Extension To Php
i want to add mysqli extension to php.ini file, can anyone help me add the extension?

View Replies !
DOM Extension
After creating an XML file using the DOM extension, I used the $doc->save("test.xml"); to save the file. Is there any way to prompt the user to specify the filename and where he/she wants to save it?

View Replies !
Getting Rid Of The .php Extension
if you add this to your .htaccess it will get ride of .php at the end of urls.

<Files ~ "^[^.]+$">
SetHandler application/x-httpd-php
</Files>

so if you had site.com/stuff.php its now site.com/stuff

View Replies !
Add Bz2 Extension To PHP
how to install bz2 extension and where to download to allow my current version of PHP to accept bz2 extension?

View Replies !
Add Extension
How would I be able to add more extensions to this:

if ($_FILES['imagefile']['type'] == "image/gif"){
copy ($_FILES['imagefile']['tmp_name'], "files/".$_FILES['imagefile']['name'])
}

View Replies !
Without .php Extension
anyone can help me how you configure your iis to allow without .php extension. how you know if unique user (not register) visit your site?

View Replies !
Extension ?
When I use PHP I give my file the .php extension. I always wondered if it
could be an .htm page with a <script> block that the PHP resides in, the
same way you would do JavaScript. If you can do it that way are there any
benifits to that method ?

View Replies !
PDO Extension
It'a about calling oracle stored procedure with some input and output parameters.

I have this working using ADODB class, but now I need the same thing using PDO Extension. It's all ok when output parameter is some value accept cursor. Code:

View Replies !
Php Extension
I have a relatively large site with about 500 code files. I've gotten into the habit of naming all files with .php extension, even when there is no php code in it. Is there a performance penalty for this? I assume that apache surrenders processing to php engine only when it encounters the <?php or <? tag. In which case, it wouldn't matter if a file had .php or .html extension.

View Replies !
Extension For Php
Does anyone know about an OFX extension for PHP? OFX is the new file format being used by Intuit for Quicken.

View Replies !
GD Extension
I've been told to use the GD extension for PHP to develop graphs for the final year project of my degree. I want to be able to make a graph which will show a students marks between a certain time period (x axis) and out of a certain number of marks (for example 100) on the y axis.

I've looked around for a tutorial which will show me how to do some things with the GD library but I've only found some little bits on the php manual and a short tutorial on text production on PHP freaks.

View Replies !
Extension
I am having trouble changing my file extension from .php to .html. I
have added it to the httpd.conf and that didn't work. Then I made a
.htaccess page, and that didn't work. The html pages show up, but the
php does not parse.

View Replies !
How I Can Add Imap Extension
So.. I have Php4 installed in apache webserver and now I would like use imap functions, but I think imap -extension isn´t installed. How can I add an extension into php4. Do I have to install the package again or can I add it "on the fly"?

View Replies !
Extension Changed??
why the extension of the image changed when i upload? my code:=

View Replies !
Hiding PHP Extension
I'm supposed to hide the php extension in a file (like Yahoo! or
Google). For example, http://foo.com/foo instead of
http://foo.com/foo.php. I have read various articles including
<http://in2.php.net/security.hiding> . Certainly mod_rewrite is not
the right option. In Apache, "file.php" & "file" are treated as same
(content negotiation??) and like to know, how reliable it is? Is there
any other options to do the same?

At the time I was getting many answers. But, recently I have found
another suggestion in the 'net:

<FilesMatch "^([^.]+)$">
ForceType application/x-httpd-php
</FilesMatch>

.......

View Replies !
Filename Without Extension
i have the below command to make a $file(filename) and a $extension(just the extension), but i am trying to figure out how to add another one to have a variable of just the filename without extension (in addition to the others).

if(is_array($files)){
sort($files);
foreach($files as $file){
$path_parts = pathinfo("$file");
$extension = $path_parts['extension'] ;

View Replies !
Extension=php_java.dll
I am trying to use Java from with in PHP. I have looked at the docs from
PHP and still having a problem. Looks like the docs came from Zend. I
have been looking at docs at: http://us2.php.net/java.

When I look at the 'User Contributed Notes' I find a proliferation of
examples to do the same thing of which I can not get to work. Some
examples have the links in quotes and so do not. Some have multi links
per "Java configuration option" item and some do not. It is a little
confusing and I am a Java programmer. Example: for 'Java home' in Java
the JAVA_HOME is the base root of your installed JDK version. I see
examples that point to the bin subdirectory for the java.home php.ini
value. Also should I be using the windows 8 byte dir names? I keep my
Java JDK and JRE under 'Program Files' subdirectory

This what I have defined int the php.ini so far:

extension=php_java.dll

[Java]
java.class.path = "C:php5.2extphp_java.jar"
java.home = "C:Program FilesJavajdk1.5.0_07in"
java.library = "C:Program FilesJavajre1.5.0_07lib"
java.library.path = "C:Program
FilesJavajdk1.5.0_07jreinserverjvm.lib"

Can anyone point me in the right direction?

I am running:
- Windoze XP SP 2
- PHP 5.2
- JDKJRE 1.5.0_07

View Replies !
Date Extension
someone knows details of the new date extension for 5.2 ?
I want to know how it works but couldn't find anything 'till now.

View Replies !
Extension Can't Be Found But Why?
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:phpext"

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:phpextphp_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:phpext" 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?

View Replies !
PHP Files Without Extension
I know how to set Apache to send files with any extension to PHP before
sending a response. Is there a way to do so for files with no extension
whatsoever? I don't want *all* files to be parsed by PHP,

View Replies !
Where To Submit A New PHP Extension.
I have developed an extension and I would like to see it become a part of a future distribution one day. Where can I submit it, so that it can be evaluated by the ppl, who package the dostributions?

View Replies !

Copyright © 2005-08 www.BigResource.com, All rights reserved