I have just downloaded your product, PHP 2.9 for Visual Studio 2010. I am an IT Consultant with 20 yeras of software development experience.
I am running your product under Windows 7 32-bit. I have included a summary of the phpinfo() run on the my computer.
I have no issues with my PHP runtime and when I use Dreamweaver for development, I have no issues. Of course I have no debugging capabilites.
I am using IIS 7.0 bundled with Windows 7.
When I attempt to debug under a new project with
<?php
phpinfo();
?>and place a breakpoint on the phpinfo() line, I get "...no symbols loaded...." when in run mode. The page renders, just no break point. I have not made any changes or customizations to Visual Studio 2010. I have all Windows Updates and service packs and am running the latest Symantec AntiVirus 11.06.
I also cannot debug the project that I MUST debugged (larger project). I get the name issue with no symbols.
Any help would be greatly appreciated.
Thanks,
Steven
-------------------------------
PHP Version 5.2.13
System Windows NT M6400 6.1 build 7600
Build Date Feb 24 2010 14:35:36
Configure Command cscript /nologo configure.js "--enable-snapshot-build" "--enable-debug-pack" "--with-snapshot-template=d:\php-sdk\snap_5_2\vc6\x86\template" "--with-php-build=d:\php-sdk\snap_5_2\vc6\x86\php_build" "--disable-zts" "--disable-isapi" "--disable-nsapi" "--with-pdo-oci=D:\php-sdk\oracle\instantclient10\sdk,shared" "--with-oci8=D:\php-sdk\oracle\instantclient10\sdk,shared" "--without-pi3web" "--enable-mongo=shared"
Server API CGI/FastCGI
Virtual Directory Support disabled
Configuration File (php.ini) Path C:\Windows
Loaded Configuration File C:\Program Files\PHP\php.ini
Scan this dir for additional .ini files (none)
additional .ini files parsed (none)
PHP API 20041225
PHP Extension 20060613
Zend Extension 220060519
Debug Build no
Thread Safety disabled
Zend Memory Manager enabled
IPv6 Support enabled
Registered PHP Streams php, file, data, http, ftp, compress.zlib, https, ftps, zip
Registered Stream Socket Transports tcp, udp, ssl, sslv3, sslv2, tls
Registered Stream Filters convert.iconv.*, string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed, zlib.*
Luigi2010 says:
Hi Steven,
did you set Xdebug for debugging?
In your question there is no information regarding debuger setting.
Example about xdebug use you can find in tutorials section and on xdebug.org web.
If you use xdebug, you have to have similar configuration settings in php.ini.
php ini xdebug important parts:
=====================
; Windows: "\path1;\path2"
include_path = ".;C:\Program Files (x86)\Jcx.Software\VS.Php\2010\php 5.2\pear;C:\Program Files (x86)\Jcx.Software\VS.Php\2010\"
; Directory in which the loadable extensions (modules) reside.
extension_dir = "C:\Program Files (x86)\Jcx.Software\VS.Php\2010\php 5.2\ext"
zend_extension_ts="C:\Program Files (x86)\Jcx.Software\VS.Php\2010\php 5.2\ext\php_xdebug.dll"
;;;;;;;;;;;;;;;;;;;
; Module Settings ;
;;;;;;;;;;;;;;;;;;;
[XDebug]
xdebug.idekey = vsphp
xdebug.remote_enable = 1
xdebug.remote_host = 127.0.0.1
xdebug.remote_port = 7870
xdebug.remote_autostart = 1
xdebug.remote_log = "C:\xdebug\xdebug.log"