logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in  RSS Apache Lounge  


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

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.


Post new topic   Forum Index -> Building & Member Downloads View previous topic :: View next topic
Reply to topic   Topic: PHP 5.3.10 & Xdebug - unable to find correct version
Author
laurin1



Joined: 26 Oct 2014
Posts: 71
Location: Flower Mound, TX

PostPosted: Thu 30 Jun '22 14:57    Post subject: PHP 5.3.10 & Xdebug - unable to find correct version Reply with quote

I don't know if anyone here can help, but the company I am working at is using a very old version of PHP for Windows, 5.3.10, 32-bit (and yes, I know, it's a little hard to swallow).

I was able to find a version of Xdebug that should work with this (2.2.7-5.3-vc9, 32-bit), and tried both the TS and the NTS versions, but neither will load with this version of PHP (I pulled the one from dev web server, 5.3.10, 32-bit), but both fail to load (php -m).

First of all, is there a way to determine if the version of PHP we are using is TS or NTS? Secondly, is there a way to determine why Xdebug is failing to load and / or a way to know for certain that I've grabbing the correct version of Xdebug?
Back to top
laurin1



Joined: 26 Oct 2014
Posts: 71
Location: Flower Mound, TX

PostPosted: Thu 30 Jun '22 20:27    Post subject: Reply with quote

I just tried using the complete build here, https://phpdev.toolsforresearch.com/php-5.3.29-nts-Win32-VC9-x86.zip, and that one fails to load as well:

c:\PHP5329>c:\PHP5329\php.exe -m
Failed loading php_xdebug.dll
PHP Warning: PHP Startup: Unable to load dynamic library 'ext\php_xsl.dll' - The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log or use the command-line sxstrace.exe tool for more detail.
in Unknown on line 0
[PHP Modules]
bcmath
calendar
Core
ctype
date
dom
ereg
filter
ftp
gd
hash
iconv
json
ldap
libxml
mbstring
mcrypt
mhash
mysqlnd
odbc
openssl
pcre
PDO
pdo_mysql
Phar
Reflection
session
SimpleXML
soap
SPL
standard
tokenizer
wddx
xml
xmlreader
xmlwriter
zip
zlib

[Zend Modules]
Back to top
Otomatic



Joined: 01 Sep 2011
Posts: 83
Location: Paris, France, EU

PostPosted: Sun 03 Jul '22 11:26    Post subject: Reply with quote

Hi,

For PHP 5.3.10, I don't know, but I still have a PHP 5.3.29 addon for Wampserver that works with the following configuration:
In the php/php5.3.29/zend_ext/ folder there is the file :
php_xdebug-2.2.7-5.3-vc9.dll TS

And, at the end of php.ini file there is :
Code:
; XDEBUG Extension
[xdebug]
zend_extension = "J:/wamp/bin/php/php5.3.29/zend_ext/php_xdebug-2.2.7-5.3-vc9.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 = "J:/wamp/tmp"
xdebug.show_local_vars=0

You must adapt the paths to your own installation.

It is also necessary that the VC2008 VC9 redistributable packages are installed.
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7118
Location: Germany, Next to Hamburg

PostPosted: Sun 03 Jul '22 15:51    Post subject: Reply with quote

Hello,
in doubt use https://xdebug.org/wizard it will guide you to the correct download for you version.
Back to top
laurin1



Joined: 26 Oct 2014
Posts: 71
Location: Flower Mound, TX

PostPosted: Mon 04 Jul '22 13:42    Post subject: Reply with quote

I've tried php_xdebug-2.2.7-5.3-vc9.dll TS (and php_xdebug-2.2.7-5.3-vc9.dll NTS), I'll check the wizard, but I'm pretty sure that is the correct version.

I don't know what I was thinking anyway, the problem is that this machine does not have VC9 installed (and I have no admin rights on this laptop). I was able to get Xdebug to load for PHP 5.5 (because it uses VC11), which may have to be good enough for my development for now (hopefully I can push and get us to 7.4 or 8 soon).
Back to top


Reply to topic   Topic: PHP 5.3.10 & Xdebug - unable to find correct version View previous topic :: View next topic
Post new topic   Forum Index -> Building & Member Downloads