You are here: Re: PHP + IIS + Visual Studio.NET 2005 and Apache « All PHP « IT news, forums, messages
Re: PHP + IIS + Visual Studio.NET 2005 and Apache

Posted by Steve Belanger on 04/10/07 18:57

i am the QA approval for VS.Php for 2005

let me see if i understand you right.

you are using VS.Php as your PHP authoring tool, but when you want to launch
the project either directly or through a debugging mode, you want to load it
on IIS server instead of the bundled Apache that comes with Vs.PHP

The apache version that comes with VS.Php however will shut itself down
after a debugging or preview session occurs, it's a separate installation
that should not interfere with any other local web servers installed, either
Apache or IIS.

The thing is that to take advantage of VS.Php debugging features, you need
to use the DBG module installed inside PHP inside the version of Apache
bundled with VS.php in case you do not have any other web server installed.
The way you described the problem also leads me to believe you are using the
Built-In debugging method. If you want to use an external server as your
source of either debugging or preview, you will need to go inside your
project properties, and select the debug item on the configuration
properties tree menu.

under the General view on the right side, you will see Debug Mode. Set it
to external mode, select the type of debuggnig you want to use (you can
choose to only debug PHP, or debug PHP AND Javascript within the same
debugging session), Then select the start url (the url you will want the
browser to point at when opening), and then your preferred browser.

in order to the debugging features of VS.Php to work in IIS you will need to
download the windows binaries to install DBG inside your PHP installation,
you can find these at this url http://dd.cron.ru/dbg/downloads.php

Feel free to let me know if you have any questions or if you need any help.

Steve.

"PI" <ire.ogunsina@gmail.com> wrote in message
news:1176214042.142762.168720@e65g2000hsc.googlegroups.com...
> Hi guys,
> I trust that you guys can help me out with this one - I'm having
> problems setting up IIS as the only web server within Visual Studio
> 2005 environment. I simply don't have a way around this. The machine
> has Apache installed and everytime a program is run, it starts up an
> instance of Apache rather than the desired IIS. I am trying out the
> VS.PHP for Visual Studio.NET 2005 application, and I have not able to
> run programs correctly. Using Apache seems to run half way then shoots
> off an error (Apache HTTP Server has encountered a problem and needs
> to close. We are sorry for the inconvenience > details >"AppName:
> apache.exe AppVer: 2.0.49.0 ModName: php5ts.dll
> ModVer: 5.2.0.0 Offset: 000978e5"), but at least it shows some signs
> of life. I resolved to use IIS but for some reason, Apache starts off
> rather than IIS as it displays the same errors (above) - apparently,
> Apache was still set up as web server and not IIS. Where within the
> Studio do I configure IIS as web server and not any other alternative?
> I have checked a number of fora on this but the recommendations don't
> seem to be the fix I need. Any clues will be appreciated. Thanks!
>

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация