follow us on google+ follow us feedburner

FORUM
We will close this forum soon. Please, now use Stack Overflow. Don't forget to add the tag "easyphp" to your post.

You can follow your activity on Stack Overflow with the Stack Exchange Android App. An iPhone version is coming...

One more thing. EasyPHP is on GitHub. You will find the repositories at this address : https://github.com/easyphp. If you want to report a bug, please use the GitHub issue management system of each repository.

xdebug install problem



Posted by: rickdog
August 27, 2013 04:00AM
Installed latest xdebug 1.2 on easyphp 3.11vc11

APACHE 2.4.4
MYSQL 5.6.12
PHP 5.5.0

when starting up get this error:

Failed loading G:\EASYPH~1.1VC\binaries\php\php_runningversion\php_xdebug-2.2.2-5.4-vc9.dll
PHP Warning: PHP Startup: Unable to load dynamic library 'G:\\EASYPH~1.1VC\\binaries\\php\\php_runningversion\\ext\\php_yaz.dll' - The specified module could not be found.

tried installing latest YAZ but did not work:

PHP Warning: PHP Startup: yaz: Unable to initialize module
Module compiled with module API=20100525
PHP compiled with module API=20121212
These options need to match

Anyone successfully install xdebug?
Options: ReplyQuote
Posted by: WaveHack
September 16, 2013 09:26PM
For EasyPHP 13.1 VC11:

Go to the xdebug website and to the downloads page. Scroll down to Xdebug 2.2.2 and download 'PHP 5.5 VC11 TS (32 bit)' (php_xdebug-2.2.2-5.5-vc11.dll). Put that file in your EasyPHP\binaries\php\php_runningversion\ext directory.

Go to your PHP settings (php.ini), and change the following:

zend_extension="${path}\binaries\php\php_runningversion\php_xdebug-2.2.2-5.4-vc9.dll"

To:

zend_extension="${path}\binaries\php\php_runningversion\ext\php_xdebug-2.2.2-5.5-vc11.dll"

Restart EasyPHP.
Options: ReplyQuote
Posted by: WaveHack
September 16, 2013 09:45PM
If you're getting errors on your EasyPHP administration screen ('Connection Reset' in Chrome) like me after trying my fix above, try the following:

Open EasyPHP\modules\xdebugmanager\xdebugmanager.php

Around line 26, change the following:

foreach(new RecursiveIteratorIterator(new RecursiveDirectoryIterator(str_replace('"', '', $trace_dir))) as $files){
$trace_dir_size+=$files->getSize();
}

To:

foreach (glob(str_replace('"', '', $trace_dir) . '\*') as $file) {
$trace_dir_size+=filesize($file);
}

Around line 37, change the following:

foreach(new RecursiveIteratorIterator(new RecursiveDirectoryIterator(str_replace('"', '', $profiler_dir))) as $files){
$profiler_dir_size+=$files->getSize();
}

To:

foreach (glob(str_replace('"', '', $profiler_dir) . '\*') as $file) {
$profiler_dir_size+=filesize($file);
}
Options: ReplyQuote


Your Name: 
Your Email: 
Subject: 
Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.