I’m trying to get php_mysql to work. I’m on a windows 7 box, with php
When I have
;extension=php_mysql.dll commented out like that, apache works, php works, and of course mysql in the background is working, but I cannot use mysql with php. (My objective is to install a phpBB3 forum, and it doesn’t list mysql as available.)
Now something I notice is that while php works in apache (that is, it serves up php pages appropriately), it fails on the command line. I don’t know if this is related or if I’m just doing it wrong from the command line. Moving on…
When I uncomment out the extension line, I get the following error:
Faulting application name: httpd.exe, version: 184.108.40.206, time stamp: 0x4f242d7a Faulting module name: php5ts.dll, version: 220.127.116.11, time stamp: 0x4d25fb49 Exception code: 0xc0000005 Fault offset: 0x000f424c Faulting process id: 0x1ba8 Faulting application start time: 0x01cd24b82c102b69 Faulting application path: C:\Program Files\Apache Software Foundation\Apache2.2\bin\httpd.exe Faulting module path: C:\php\php5ts.dll Report Id: 6b3b2e2c-90ab-11e1-a61b-005056c00008
I’ll try to provide whatever logging, versioning, or configuration data you might need to diagnose this issue.
The exception code is an access violation, which is a generic memory bug indicating the code in the DLL attempted to use an address not allocated to it (generally). This means either your machine has a hardware fault such as bad RAM (causing the pointer to be corrupt) or the DLL is corrupt. The DLL may also be linked against some version of mysql or apache which is not binary-compatible with the one you are using.
No related posts.