Xdebug not as zend extension IIS7 - iis

I can't get xdebug loaded as Zend extension, because the php.ini automatically puts in the wrong term.
The message in phpinfo() is
XDEBUG NOT LOADED AS ZEND EXTENSION
I'm Using IIS 7.5 on Windows Server 2008 R2 Enterprise
PHP 5.3.8
Zend Engine v2.3.0
My part of php.ini:
[xdebug]
zend_extension=php_xdebug-2.2.0-5.3-vc9-nts.dll
xdebug.remote_enable=1
xdebug.remote_host="localhost"
xdebug.remote_port=9000
xdebug.remote_handler="dbgp"
No errors logged.
I need to activate every extension in IIS settings. When I then restart IIS, php.ini is updated with the line
[PHP_XDEBUG-2.2.0-5.3-VC9-NTS]
extension=php_xdebug-2.2.0-5.3-vc9-nts.dll
Why this?

(Solved by the OP and answered in a question edit. Converted to a community wiki answer. See Question with no answers, but issue solved in the comments (or extended in chat) )
The OP wrote:
It now works after changing the extension path to absolute. The 2 lines were added anyway, but phpinfo() now shows the full xdebug config.
Working part of php.ini:
[PHP_XDEBUG-2.2.0-5.3-VC9-NTS]
zend_extension="C:\Program Files (x86)\php\ext\php_xdebug-2.2.0-5.3-vc9-nts.dll"
xdebug.remote_enable=1
xdebug.remote_host="localhost"
xdebug.remote_port=9000
xdebug.remote_handler="dbgp"
[PHP_XDEBUG-2.2.0-5.3-VC9-NTS]
extension=php_xdebug-2.2.0-5.3-vc9-nts.dll

Related

How can I enable "URL Rewrite" Module in IIS 8.5 in Server 2012?

I have windows server 2012 and I have installed the IIS 8.5 but I could not see the URL rewrite module. How can I enable or install?
Download it from here:
http://www.iis.net/downloads/microsoft/url-rewrite
or if you already have Web Platform Installer on your machine you can install it from there.
Worth mentioning: you should download the x64 version!
From the main download page (https://www.iis.net/downloads/microsoft/url-rewrite) click "additional downloads" (under the main download button) and download the x64 version (because for some reason - the default download version is x86)
First, install the URL Rewrite from a download or from the Web Platform Installer. Second, restart IIS. And, finally, close IIS and open again. The last step worked for me.
Thought I'd give a full answer combining some of the possible intricacies required for completeness.
Check if you have 32-bit or 64-bit IIS installed:
Go to IIS Manager → Application Pools, choose the appropriate app pool then Advanced Settings.
Check the setting "Enable 32-bit Applications". If that's true, that means the worker process is forced to run in 32-bit. If the
setting is false, then the app pool is running in 64-bit mode.
You can also open up Task Manager and check w3wp.exe. If it's showing as w3wp*32.exe then it's 32-bit.
Download the appropriate version here: https://www.iis.net/downloads/microsoft/url-rewrite#additionalDownloads.
Install it.
Close and reopen IIS Manager to ensure the URL Rewrite module appears.

Unable to configure Tomcat 7 on Eclipse Juno

I have Eclipse Juno with Spring Tools Suite plugin installed.
I need to deploy a newly imported web project to Tomcat 7, which I installed on my system via repository.
The problem is that the New Server Wizard screen won't allow me to select Tomcat 7, as the description is empty and unmodifiable.
How can I fix this? I can select other versions of Tomcat but when I select the installation path of Tomcat I get an error that the installed version is 7.
As per the instruction s provided in this site
Follow these steps, as this is a known issue
Go to Window–>Preferences–>Server–>Runtime Environments and fix the broken path/link for the server.
Rename the org.eclipse.jst.server.tomcat.core.prefs to org.eclipse.jst.server.tomcat.core.prefs.bak (or you can delete this file). This file can be found at \workspace\.metadata\.plugins\org.eclipse.core.runtime\.settings
Rename the org.eclipse.wst.server.core.prefs to org.eclipse.wst.server.core.prefs.bak (or delete the file). This file also can be found at the same location as above.
Follow these steps
1.)Go to Window–>Preferences–>Server–>Runtime Environments and fix the broken path/link for the server.
2.)delete this file org.eclipse.jst.server.tomcat.core.prefs under this location \workspace\.metadata\.plugins\org.eclipse.core.runtime\.settings
3.)delete this file org.eclipse.wst.server.core.prefs under this location \workspace\.metadata\.plugins\org.eclipse.core.runtime\.settings
After following these step's you can configure tomcat in eclipse.
Click on Add Configuration Runtime environments
On the Server Runtime Environments Window you will more than likely see Apache Tomcat 7.
If you remove the runtime environment and then go Back to the New Server Wizard Tomcat 7 will be available to add again.
Hope that helps. That drove me nuts for a few days
The Eclipse Juno may not be fully compatible with the Apache Tomcat 7 yet. Installing and configuring with Tomcat 6 works. Simple.

Symlink support in IIS Express (Visual Studio 2010)

Can I use symbolic links to files created by mklink <link> <target> in IIS7 and/or IIS Express?
I have created a simple HTML (it's MVC3 Razor but it's not the problem) project with line:
<link href="foo.js">
Then I moved foo.js file to another directory and created a link to this file using:
mklink foo.js bar\foo.js
HTML remains the same.
FireBug shows (on network tab) file size 0B (for discussion), because such a file in the system actually is 0B. The problem is that FireBug does not read the contents of a file or file is not served by IIS Express properly.
IE behaves similarly.
I'm using IIS Express with VS2010 for development, not tested yet on IIS7, the operating system is Windows 7 x64.
Hard links created by command:
mklink / h <link> <target>
works properly.
I tried the same thing for an image but using a symbolic link - so without the "/H" - and got the same result when I tried to use Visual Studio 2010's internal web server (Cassini).
Perhaps IIS Express does have the same the limitation, because when I retried using IIS on my Win 7 (64bit) laptop the image was server correctly.
Cheers

how to configure XHProf for drupal 6 on windows?

With the help of Lorenzo Alberton tutorial, i get XHProf installed for drupal 6 on linux server. Now i need to get it installed on windows but i found that XHProf cant be installed on windows. Additionally, at drupal.org XHProf, is available for drupal 7 onwards. If anyone has installed XHProf for drupal 6 on windows then please share.
This question has already been answered here: https://drupal.stackexchange.com/questions/19193/how-to-configure-xhprof-for-drupal-6-on-windows
Just for the records, you do NOT need the Drupal module to use XHProf. You must download a compiled version for your apache (I'm using WAMP http://www.wampserver.com/en/, but can't remember where I got mine) and then enable it in php.ini. You can set the settings in the php.ini or trigger on demmand profiles. http://es2.php.net/xhprof

Installing joomla on Microsoft IIS

i tried to install joomla using the microsoft web platform installer. I was able to install joomla, php and mysql successfully.
However when i browse the website from the IIS, it says page cannot be found..
What am i missing..please let me know
Its been more than 2 days i am trying this...
Try to install it using this tool Microsoft Web Platform Installer 2.0, it will help you setup everything. Because may be there is something you missed such as setup the iis to handle php files.

Resources