xdebug crashed my Wampserver *resolved* |
|
OK, I'll answer my own question. Took 3 hours of analysis but, in the end, realised that Wampserver and PhpED debuggers were both trying to load and conflicting with each other.
To fix this problem, go into php.ini (Wampserver) and comment out the load of XEDEBUG - sorted! Shame this isn't highlighted in PhpED installation! |
||||||||||||
|
Site Admin
|
yep, it's known that some versions of xdebug will crash apache if dbg debugger is installed.
what you need is change the order they are loaded or comment out xdebug. |
||||||||||||
_________________ The PHP IDE team |
|
Already done that. As I said, pity it isn't highlighted during phpED installation.
|
||||||||||||
|
Site Admin
|
I don't see any relation between PhpED installation and your Wamp server.
PhpED does not install anything to 3rd party software. It comes with its own http server and 3 versions of php. Since WAMP is never touched, I don't see why would installer snoop into Wamp settings and warn about anything discovered. |
||||||||||||
_________________ The PHP IDE team |
|
So how come phped's debugger is inserted into the wamp setup .ini files? Only phped could have done that!
|
||||||||||||
|
Guru master
|
I can't say I've ever seen PhpED update a php.ini file on any web server. Is it capable of doing that? I didn't think it was, which was why the Debug Wizard gave instructions.
|
||||||||||||
|
|
OK, if you'd like to try it do this:-
Make a clean installation of WAMP server on a PC. Run any .php program you like from localhost; open phpMyAdmin and add a database; log out. Run a .php program to access the new databse - all works impeccably. Now start a new project in PhpED and set it to use WAMP (one of the project options in PhpED). It will report that localhost is inaccessible. PhpED has added its own debugger to the WAMP apache php.ini file and that screws everything up. Either remove the PhpED debugger oir XEDEBUG from Apache' php.ini file and order is restored. |
||||||||||||
|
Site Admin
|
I'm not sure how this
matches the following:
With Project Wizard, it's indeed possible that your php.ini will be modified (with appropriate warning given). So you can't be unaware of the changes. In other words -- Wizard warns (highlights!) about modifications. |
||||||||||||||||
_________________ The PHP IDE team |
|
Hi Guys
I'm a new user here and I know this is a bit of an older topic but I had the exact same problem and have just managed to fix it this morning. If this helps anyone this is what I found. Phped 10 does add lines to the php.ini file and it was here I found the problem. In the php.ini file at the bottom of the file was 2 lines starting with zend_extension, one line was the path to xdebug and the other line was the path to the dbg module that Phped 10 inserted. It is a must that the line with the dbg module comes first and the xdebug line second. Also under the zend_extension lines are some settings one of which reads something like *****HOSTS_ALLOW=127.0.0.1. (Unfortunately I dont have my laptop with me with the file on it so I am trying to remember what the first part of the line read, but you will see it.) It should read like this ******HOSTS_ALLOW=127.0.0.1 localhost ::1 Save the file and restart all servers and you should be good to go. I hope this helps others, it does seem to have fixed my problems I am using windows 7 PHPED 10 and wampserver 2. Cheers Darryl. |
||||||||||||
|
xdebug crashed my Wampserver *resolved* |
|
||
Content © NuSphere Corp., PHP IDE team
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by