Hello... I am trying to evaluate vs.php for Visual Studio 2008. I have PHP 5.2.12 installed locally and it works fine when browsing files in the inetpub/wwwroot directory using the http://localhost/ url. After installing vs.php I created a new vs.php project from my existing code. When trying to debug the code the pages render in the browser without the PHP being parsed - some of the tags are visible and no code is executed.

Any help?

juanc says:

Did you set up VS.Php to debug in external mode rather than built-in mode. Since you already have your own web server you need to configure VS.Php this way.

BTW, if you want to debug, you need to enable xdebug on your web server and configure it accordingly. See the php-xdebug.ini file in the VS.Php programs file for an example on how to configure XDebug. But please note that depending on the version of XDebug you may need to do things a bit different. In particular for 5.2 you want to use zend_extension_ts instead of zend_extension

Also note that the xdebug dll that comes with VS.Php does not work with PHP 5.2 so you should download the one form xdebug.org

Good luck,

Juan