FeaturesPluginsDocs & SupportCommunityPartners

NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

wamp + Xdebug

 
Post new topic   Reply to topic    NetBeans Forums -> PHP Users
View previous topic :: View next topic  
Author Message
michalmas



Joined: 29 Jun 2009
Posts: 3

PostPosted: Mon Jun 29, 2009 10:16 am    Post subject: wamp + Xdebug Reply with quote

Hello guys,

I cannot make it working. I have checked all the settings and still nothing.

php.ini:

[xdebug]
xdebug.remote_enable=1
xdebug.remote_host="localhost"
xdebug.remote_port=9000
xdebug.remote_handler="dbgp"
zend_extension_ts="C:\wamp\bin\php\php5.2.9-2\ext\php_xdebug-2.0.4-5.3.0-vc6.dll"

php version:
php5.2.9

This php is loaded, and the path to the file is correct. I am not sure only about the version of the xdebug file (vc6/vc9), but i tired both of them with the same result.

When i go to the phpinfo() i can't see this php module loaded.

Can you help?
Back to top
View user's profile Send private message
Filip Zamboj
Posted via mailing list.





PostPosted: Mon Jun 29, 2009 10:51 am    Post subject: wamp + Xdebug Reply with quote

Hi,

check link [1]. If it doesn't help you then have a look in apache error
log and php error log. You may send it then.

Good luck!

-------------
Filip Zamboj
Sun Microsystems

http://www.netbeans.org/community/issues.html
http://qa.netbeans.org



michalmas wrote:
Quote:
Hello guys,



I cannot make it working. I have checked all the settings and still nothing.



php.ini:



[xdebug]

xdebug.remote_enable=1

xdebug.remote_host="localhost"

xdebug.remote_port=9000

xdebug.remote_handler="dbgp"

zend_extension_ts="C:\wamp\bin\php\php5.2.9-2\ext\php_xdebug-2.0.4-5.3.0-vc6.dll"



php version:

php5.2.9



This php is loaded, and the path to the file is correct. I am not sure only about the version of the xdebug file (vc6/vc9), but i tired both of them with the same result.



When i go to the phpinfo() i can't see this php module loaded.



Can you help?










Back to top
Filip Zamboj
Posted via mailing list.





PostPosted: Mon Jun 29, 2009 10:52 am    Post subject: wamp + Xdebug Reply with quote

that link Smile, sorry. http://wiki.netbeans.org/HowToConfigureXDebug

-------------
Filip Zamboj
Sun Microsystems

http://www.netbeans.org/community/issues.html
http://qa.netbeans.org



michalmas wrote:
Quote:
Hello guys,



I cannot make it working. I have checked all the settings and still nothing.



php.ini:



[xdebug]

xdebug.remote_enable=1

xdebug.remote_host="localhost"

xdebug.remote_port=9000

xdebug.remote_handler="dbgp"

zend_extension_ts="C:\wamp\bin\php\php5.2.9-2\ext\php_xdebug-2.0.4-5.3.0-vc6.dll"



php version:

php5.2.9



This php is loaded, and the path to the file is correct. I am not sure only about the version of the xdebug file (vc6/vc9), but i tired both of them with the same result.



When i go to the phpinfo() i can't see this php module loaded.



Can you help?










Back to top
Jeff Rubinoff
Posted via mailing list.





PostPosted: Mon Jun 29, 2009 11:07 am    Post subject: wamp + Xdebug Reply with quote

At the moment our wiki seems to be down, returning a 502 error. It's
been reported and should be back soon.

Jeff

Filip Zamboj wrote:
Quote:
that link Smile, sorry. http://wiki.netbeans.org/HowToConfigureXDebug

-------------
Filip Zamboj
Sun Microsystems

http://www.netbeans.org/community/issues.html
http://qa.netbeans.org



michalmas wrote:
Quote:
Hello guys,



I cannot make it working. I have checked all the settings and still
nothing.



php.ini:



[xdebug]

xdebug.remote_enable=1

xdebug.remote_host="localhost"

xdebug.remote_port=9000

xdebug.remote_handler="dbgp"

zend_extension_ts="C:\wamp\bin\php\php5.2.9-2\ext\php_xdebug-2.0.4-5.3.0-vc6.dll"




php version:

php5.2.9



This php is loaded, and the path to the file is correct. I am not
sure only about the version of the xdebug file (vc6/vc9), but i tired
both of them with the same result.



When i go to the phpinfo() i can't see this php module loaded.


Can you help?















Back to top
michalmas



Joined: 29 Jun 2009
Posts: 3

PostPosted: Mon Jun 29, 2009 11:30 am    Post subject: Reply with quote

Hi,

I couldn't find any helpful information on the site.

However, i can provide error logs:
- php_error_log: nothing (related to xdebug)
- apache_error:
Quote:
Xdebug requires Zend Engine API version 220070929.
The Zend Engine API version 220060519 which is installed, is outdated.



It doesn't tell me much. It may be worth mentioning that due to failure in the installation i installed Zend Studio.
Back to top
View user's profile Send private message
Tomas Mysik
Posted via mailing list.





PostPosted: Mon Jun 29, 2009 11:51 am    Post subject: wamp + Xdebug Reply with quote

Hi,

Dne pondělí 29 června 2009 13:30:15 michalmas napsal(a):
Quote:
- apache_error:
Quote:
Xdebug requires Zend Engine API version 220070929.
The Zend Engine API version 220060519 which is installed, is outdated.

as the error says, XDebug is compiled against a newer PHP runtime (try to
upgrade your PHP instalation, it should help).

Tomas
--
Tomas Mysik
address-removed
Back to top
michalmas



Joined: 29 Jun 2009
Posts: 3

PostPosted: Mon Jun 29, 2009 12:42 pm    Post subject: Reply with quote

But my php version is:

Quote:
PHP Version 5.2.9-2


and xdebug i have downloaded:
Quote:
2.0.4-5.3.0-vc6.dll


So versions should be correct, right?

But i changed xdebug version to older, and now apache error is:
Quote:
Failed loading C:\wamp\bin\php\php5.2.9-2\ext\php_xdebug-2.0.3-5.3.0.dll


The path is correct.
Back to top
View user's profile Send private message
Filip Zamboj
Posted via mailing list.





PostPosted: Mon Jun 29, 2009 8:36 pm    Post subject: wamp + Xdebug Reply with quote

michalmas wrote:
Quote:
But my php version is:





Quote:
PHP Version 5.2.9-2





and xdebug i have downloaded:



Quote:
2.0.4-5.3.0-vc6.dll

My opinion: This is version for PHP 5.3.0 so that might be a problem.
Try lower version but I'm not sure it will work or download php 5.3.0.

I use xdebug php_xdebug-2.0.3-5.2.5.dll and PHP 5.2.6-3ubuntu4.1

But maybe somebody else has better idea.
Quote:




So versions should be correct, right?










Back to top
Jeff Rubinoff
Posted via mailing list.





PostPosted: Mon Jun 29, 2009 8:36 pm    Post subject: wamp + Xdebug Reply with quote

michalmas,
Have you tried with XDebug 2.0.3 instead of 2.0.4? Or updating Wamp? I believe, based on similar issues with XAMP, that the Zend Engine in your Wamp is too old to support XDebug 2.0.4. However, 2.0.3 works quite OK.

Jeff

michalmas wrote:
Quote:
Quote:
Hi,



I couldn't find any helpful information on the site.



However, i can provide error logs:

- php_error_log: nothing (related to xdebug)

- apache_error:


Quote:
Xdebug requires Zend Engine API version 220070929.

Quote:
The Zend Engine API version 220060519 which is installed, is outdated.






It doesn't tell me much. It may be worth mentioning that due to failure in the installation i installed Zend Studio.






([email]address-removed[/email])
([email]address-removed[/email])

Back to top
Pavel Pribyl
Posted via mailing list.





PostPosted: Tue Jun 30, 2009 8:32 am    Post subject: wamp + Xdebug Reply with quote

Hello.

I am not sure about WAMPP, but in XAMPP there is sometimes a problem
that user tries to edit wrong php.ini file. There are two of them - one
in /php directory, and the other in /apache/bin (that's the one that
should be edited).

I am not telling this is your case, but when everything fails, the
simplest solution may be the right one Smile So I am just giving this a try

Regards

Pavel

michalmas wrote:
Quote:
Hello guys,



I cannot make it working. I have checked all the settings and still nothing.



php.ini:



[xdebug]

xdebug.remote_enable=1

xdebug.remote_host="localhost"

xdebug.remote_port=9000

xdebug.remote_handler="dbgp"

zend_extension_ts="C:\wamp\bin\php\php5.2.9-2\ext\php_xdebug-2.0.4-5.3.0-vc6.dll"



php version:

php5.2.9



This php is loaded, and the path to the file is correct. I am not sure only about the version of the xdebug file (vc6/vc9), but i tired both of them with the same result.



When i go to the phpinfo() i can't see this php module loaded.



Can you help?










Back to top
Filip Zamboj
Posted via mailing list.





PostPosted: Tue Jun 30, 2009 11:05 am    Post subject: wamp + Xdebug Reply with quote

sure there are two. However, not sure about WAMP. Anyway, for ubuntu,
for instance, there is (usually) folder structure like this

/etc/php5/
|-- apache2
| |-- conf.d -> ../conf.d
| |-- php.ini
| `-- php.ini.ucf-dist
|-- cli
| |-- conf.d -> ../conf.d
| |-- php.ini
| `-- php.ini.ucf-dist
`-- conf.d
|-- mysql.ini
|-- mysqli.ini

You need to change php.ini in apache2 folder.

-------------
Filip Zamboj
Sun Microsystems

http://www.netbeans.org/community/issues.html
http://qa.netbeans.org



Pavel Pribyl wrote:
Quote:
Hello.

I am not sure about WAMPP, but in XAMPP there is sometimes a problem
that user tries to edit wrong php.ini file. There are two of them -
one in /php directory, and the other in /apache/bin (that's the one
that should be edited).

I am not telling this is your case, but when everything fails, the
simplest solution may be the right one Smile So I am just giving this a try

Regards

Pavel

michalmas wrote:
Quote:
Hello guys,



I cannot make it working. I have checked all the settings and still
nothing.



php.ini:



[xdebug]

xdebug.remote_enable=1

xdebug.remote_host="localhost"

xdebug.remote_port=9000

xdebug.remote_handler="dbgp"

zend_extension_ts="C:\wamp\bin\php\php5.2.9-2\ext\php_xdebug-2.0.4-5.3.0-vc6.dll"




php version:

php5.2.9



This php is loaded, and the path to the file is correct. I am not
sure only about the version of the xdebug file (vc6/vc9), but i tired
both of them with the same result.



When i go to the phpinfo() i can't see this php module loaded.


Can you help?
















Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> PHP Users All times are GMT
Page 1 of 1

 
Jump to:  
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
You can attach files in this forum
You can download files in this forum


Powered by phpBB