Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: mysql connection causes apache 2.2.8 x64 to crash on Vista |
|
Author |
|
milan_cz
Joined: 05 May 2008 Posts: 1
|
Posted: Mon 05 May '08 12:32 Post subject: mysql connection causes apache 2.2.8 x64 to crash on Vista |
|
|
Hello,
I have a problem with these versions:
Versions:
MS Vista x64 with firewall and UAC disabled - fully updated
Visual C++ 2005 Redistributable Package (x64) SP1
apache 2.2.8 x64 http://www.blackdot.be/?inc=apache/binaries
PHP 5.2.5 x64 - http://www.fusionxlan.com/PHPx64.php
mysql 5.1.24 x64 - mysql.com
PHP is running, apache is running and mysql is running, but when I try to access mysql from the PHP code, apache crashes with this error:
Faulting application httpd.exe, version 2.2.8.0, time stamp 0x47a48331,
faulting module php5ts.dll, version 5.2.5.5, time stamp 0x473896cb,
exception code 0xc0000005, fault offset 0x000000000000f7c2, process id
0xe1c, application start time 0x01c8ae2c9449782b.
This is caused for example by this code:
<?php
$link = mysql_connect('localhost', 'root', 'q790318q')
or die('cannot connectÂF' . mysql_error());
echo 'connected';
?>
It is reported as bug here without any suitable response:
http://bugs.php.net/bug.php?id=44645&thanks=3
I have loaded PHP as a module in HTTP.
Can someone help me to fix it, please?
Thanks to all. |
|
Back to top |
|
DomX
Joined: 12 Jul 2008 Posts: 6
|
Posted: Tue 30 Dec '08 16:04 Post subject: |
|
|
Try mysqli instead, its ot ideal solution, but could help...
(http://www.apachelounge.com/viewtopic.php?t=2578) |
|
Back to top |
|
mkhalemi
Joined: 25 Dec 2008 Posts: 8 Location: Malaysia
|
Posted: Wed 31 Dec '08 5:24 Post subject: |
|
|
try MySQL 5.0.xx |
|
Back to top |
|
Pierre
Joined: 23 Dec 2008 Posts: 23
|
Posted: Fri 02 Jan '09 13:59 Post subject: Re: mysql connection causes apache 2.2.8 x64 to crash on Vis |
|
|
I would not recommend to use x64 with 5.2.x. That's why we begin to provide experimental x64 builds only with 5.3.0.
However, I'd to say there is no gain to run php in 64bits mode, it is even slower right now. Things may get better later this year
If you do not use php.net's binaries or mix external libraries (libmysql in the case reported in #44645), we can't help you. That's why I closed this bug and marked as bogus (not a (php) developer issue). |
|
Back to top |
|
|
|
|
|
|