|
| PHP crashes on Windows XP 64 bit | |
Joined: 26 May 2007 |
Posts: 40 |
|
|
|
Posted: Sun May 25, 2008 3:10 pm |
|
|
|
|
|
I have PHPEd 5.0.1 and used it for the longest time without any issues on 32 bit XP and before that for some time on Windows 2000 as well. I know have a 64 bit system and installed XP 64 bit. I then installed PHPEd 5.0.1 and edited php.ini so that any path matches the 64 bit environment (mainly changing "Program Files" into "Program Files (x86)").
First, I got constant errors that the mbstring.dll could not be found, but I was able to fix that by copying that dll into the same folder as php.exe and php-cgi.exe (one level up). That got things going for displaying the start page of my project, which is a login page. Typically, as soon as I start the project in debug mode I get a crash. Sometimes it manages to display the login page and then upon submitting the user name and password I get the same crash (more crash info below). The crash is followed by an error message that the debugger session cannot be started, but I think that is just a result of the initial crash.
Now, here is some more crash info. It appears as that not PHPEd itself goes under, but PHP. The "do you want to report this to Microsoft" error claims that the crash is in CGI / FastCGI and when looking at the error signature I get this:
AppName: php-cgi.exe AppVer: 5.2.3.3 ModName: php_mbstring.dll ModVer: 5.2.3.3 Offset: 00001a76
Since that indicates an issue with php-cgi.exe and mabstring.dll I downloaded the latest PHP version as ZIP archive, renamed the php5 folder, unzipped the newer files into a new php5 folder, and then copied the php.ini file from the old into the new folder (just like I always did and it always worked). This does not make any difference and yes, I copied the updated mbstring.dll one level higher as well.
I then installed VirtualPC (should have used VMWare, I know) and created a 32bit Windows virtual machine. Installed PHPEd into it, copied my project files over and gave that a try. That works fine, but is dog slow (I blame that on VPC). Now, regardless of VPC or VMWare, I don't want to run the IDE in a virtual machine. The test showed though that the difference appears to be between 32bit XP and 64bit XP (which is the same as Server 2003 64bit).
EDIT: While looking around I came across the 64 bit implementation of PHP, a project by fusion-x lan. I tried that and that failed as well. I also took some more time to think about this whole issue and to my surprise I run apachefriends.org's XAMPP on an XP 64bit system without any problems. My project works fine there.
So what is the difference? I don't use the debugger dll on that system (is there even a 64 bit version of the debugger?) and my 'real' server is Apache, not NuSphere's srv.exe. Could it just be that the srv.exe is not capable of running properly on 64 bit Windows? I copied the local URL of the project and stripped the debug session ID stuff off, then I used Firefox to connect to Srv.exe. Since I also have VisualStudio installed I instantly got a message asking me which VS debugger I want to use. That is typically an indication for some program not working properly, which I think might be srv.exe.
So, is there a version of NuSphere 5.0.x that runs on 64 bit Windows?
Does anyone have a clue as to what I should do to get everything to work on XP 64bit ? I yet have to check out the behaviour of other PHP IDEs such as Waterproof's editor or the one from Luckasoft just to see if they too see a php-cgi.exe crash, which would rule out PHPEd being the issue entirely, but it wouldn't help me much either.
Any help is greatly appreciated!
|
|
|
| | |
| Fixed? Not! | |
|
| | |
|
| | |
Site Admin
Joined: 13 Jul 2003 |
Posts: 8344 |
|
|
|
Posted: Sun Jun 01, 2008 7:56 am |
|
|
|
|
|
no no no, Under 'php4' and 'php5' NuSphere distributes _STANDARD_ php binaries downloaded php.net web sites NOTHING ELSE.
If it crashes under your system, feel free to submit bug report at http://bugs.php.net
NuSphere is not responsible for crashes in php anyway.
Quote: | is there even a 64 bit version of the debugger?) |
Regarding debugger for x64 systems, please first make sure that your php is 64bit or 32bit. In latter case you should use 32bit debugger modules. In former case, you need 64bit debugger modules and we started distributing them with PhpED version 5.2
|
_________________ The PHP IDE team
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
All times are GMT - 5 Hours
Page 1 of 1
|
|
|
| |