Is xdebug OK in my local server?
Posted by: Juan.Vicente (---.36.15.37.dynamic.jazztel.es)
Date: March 07, 2022 07:57AM

Hi,

I'm running wamserver 3.1.4 64 bit on my win10 laptop.

I'm trying to use xdebug there with my VSC IDE so I want to check if xdebug is OK on my wamp.

I donwloaded php_xdebug-2.2.7-5.3-vc9-x86_64.dll and then renamed it to php_xdebug.dll at C:\wamp64\bin\php\php5.3.28\zend_ext

I've this config at my C:\wamp64\bin\php\php5.3.28\phpForApache.ini:
[xdebug]
;zend_extension =C:/wamp64/bin/php/php5.3.28/zend_ext/php_xdebug.dll
zend_extension = php_xdebug.dll
xdebug.remote_enable = off
xdebug.profiler_enable = off
xdebug.profiler_enable_trigger = off
xdebug.profiler_output_name = cachegrind.out.%t.%p
xdebug.profiler_output_dir ="c:/wamp64/tmp"
xdebug.show_local_vars=0

So, I see xdebug version 2.2.7 at my phpinfo(), and quite a lot of xdebug info there. BUT wampserver panel keeps showing me this red square for php_xdebug extension at "no dll" section from PHP extensions.

So, it's OK or not?

Thanks,
Juan Vicente

PS: I also see the red square for php_opcache but I'm not realley sure I need it at my local server.

Options: ReplyQuote
Re: Is xdebug OK in my local server?
Posted by: Otomatic (Moderator)
Date: March 07, 2022 09:17AM

Hi,

> wamserver 3.1.4
Much too old and no longer supported.

> ;zend_extension =C:/wamp64/bin/php/php5.3.28/zend_ext/php_xdebug.dll
> zend_extension = php_xdebug.dll

PHP 5.3.28 is an antique.
And... think about it!
You should not rename the xdebug dll file and where is the xdebug dll file?
So :

zend_extension =C:/wamp64/bin/php/php5.3.28/zend_ext/php_xdebug-2.2.7-5.3-vc9-x86_64.dll

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

Options: ReplyQuote
Re: Is xdebug OK in my local server?
Posted by: Juan.Vicente (---.36.15.37.dynamic.jazztel.es)
Date: March 07, 2022 09:40AM

Hi Otomatic,

First thanks for your quick answer, I really appreciate it smiling smiley


So, yes, I'm working with quite OOOOOLD versions, but these are what my client make me work because they doesn't want even hear about updating a single thing sad smiley

So, I'll try to change my php5.3.28\phpForApache.ini config into zend_extension =C:/wamp64/bin/php/php5.3.28/zend_ext/php_xdebug-2.2.7-5.3-vc9-x86_64.dll

I'm pretty sure that I tried this one, but I'll do it again.


Thanks,
Juan Vicente

PS: wamserver 3.1.4 is not supported... does it mean that I'm not alloweb to ask any question more until I update it?

Otomatic Wrote:
-------------------------------------------------------
> Hi,
>
> > wamserver 3.1.4
> Much too old and no longer supported.
>
> > ;zend_extension
> =C:/wamp64/bin/php/php5.3.28/zend_ext/php_xdebug.d
> ll
> > zend_extension = php_xdebug.dll
>
> PHP 5.3.28 is an antique.
> And... think about it!
> You should not rename the xdebug dll file and
> where is the xdebug dll file?
> So :
>
> zend_extension
> =C:/wamp64/bin/php/php5.3.28/zend_ext/php_xdebug-2
> .2.7-5.3-vc9-x86_64.dll

Options: ReplyQuote
Re: Is xdebug OK in my local server?
Posted by: Otomatic (Moderator)
Date: March 07, 2022 10:08AM

Hi,

> wamserver 3.1.4 is not supported... does it mean that I'm not alloweb to ask any question
> more until I update it?
Soon Wampserver 3.2.8 !
No, it doesn't mean that you can't ask questions ! It means that you won't be able to apply some possibilities or make some checks because these options don't exist on your version of Wampserver.

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

Options: ReplyQuote


Sorry, only registered users may post in this forum.