Cannot set PHP version in VS 2008
Posted July 30th, 2008 by kbrannigan
I have a command line php project in VS 2008 and I am unable to set the version to PHP4. I do not have the option to select the version in my toolbars at the top like the command line tutorial shows. Also when looking at the project properties I am able to select PHP 4 from the drop down but the property page goes blank and after clicking OK the project still says PHP 5.
Any help to get this resolved would be great.
Thanks,
Ken


command line projects only
command line projects only support php5. This is because xdebug does not really work well on php4. DBG can't be used for debugging command line.
You could try to force it by opening the phpproj file in notepad and replace Php 5 with Php 4.
Make sure you use xdebug for debugging.
I haven't try this so I'm not sure if it works.
Good luck
Change didn't work.
Thanks for the information. Unfortunately it did not work. It still said PHP 5 when I opened the project plus an error would be thrown if I tried to view the project properties.
Thanks,
Ken
Kenneth Brannigan
CTO
Vitruvian Solutions, LLC
http://www.vitruviansolutions.com