Re: PHP + IIS + Visual Studio.NET 2005 and Apache



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@xxxxxxxxx> wrote in message
news:1176214042.142762.168720@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
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!



.



Relevant Pages

  • Re: Apache vs IIS
    ... Windows Server not on my Linux Server so there for I would chose IIS. ... Not that Apache is bad but ASP.NET is far easier and faster to create good web forms in. ... PHP on a IIS server is rather easy to run once you install PHP on a PC but if you only use PHP why not use Apache for Windows. ...
    (alt.php)
  • RE: NT/2000 vs Unix based Web Servers
    ... the choice of web server platform borders on religious hysteria. ... In the case of IIS vs. ... Apache, which is the most common comparison made, each one has a lot to ...
    (Security-Basics)
  • Re: Apache vs IIS
    ... my Windows Server not on my Linux Server so there for I would ... IIS is designed for ASP, ... can run asp on Apache, ... in running php from IIS vs Apache. ...
    (alt.php)
  • Re: Apache vs IIS
    ... Windows Server not on my Linux Server so there for I would chose IIS. ... Not that Apache is bad but ASP.NET is far easier and faster to create good web forms in. ... You can run asp on Apache server, and you can do that even on an Apache running on a Linux server. ... PHP on a IIS server is rather easy to run once you install PHP on a PC but if you only use PHP why not use Apache for Windows. ...
    (alt.php)
  • Re: trying to get apache to work through an alt port instead of 80
    ... Yes, through xp IIS, I can access my http://wanip:8008 web server fine. ... computer on the lan. ... NO, only apache is running. ...
    (alt.os.linux)