Re: PHP emulator



Doan Noahlot wrote:

Fair enough.
The only thing that really makes sense is to mirror the
server environment on your desktop. I like to use Netbeans
for Java. I have an old Zend for php. Can't say I like it much.
I'll have to suck it up and get eclipse/php going.
Last time I looked it was still in beta.

QUESTION:
Does it make any sense to use php on a windows server?
I mean it might be better than asp/.net (which I don't
know about). But why *would* a person code in php on
a windows machine, when they could do it on a linux box,
which is sooooo much more convenient, it seems to me.
(ssh, perl, python, version control, cron, etc).

I'm not trying to insult or start a war, I'm just
curious. Why run php on a windows server *rather* than
linux? I'm perfectly willing to believe there is a
good reason. I just can't imagine what it is.

Sure, I run it on a Windows box for a lot of reasons.

For instance, one of my sites is mostly VBScript/ASP, so it needs Windows. But they wanted some other things (like blogs) which are more readily available in PHP. Additionally, I'm working on a project right now where I need to post data to another site. This is easy with PHP AND CURL; much more difficult in VBScript/ASP. So sometimes I'm passing stuff from a VBScript page to a PHP page, and vice versa. Maybe eventually we'll get it all PHP.

And I run it at home because I duplicate environments. I've got both IIS and Apache on this system; I just start whichever one I need at the time.

Plus I use this machine for things in another business where I pretty much need some MS products to work with customers there.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@xxxxxxxxxxxxx
==================
.



Relevant Pages

  • Re: PHP Instalation problems. Browser doesnt know what to do
    ... This is loaded and run as a local server (for class ... PHP 5.2.0 from php-5.2.0-win32-installer.msi ... # configuration directives that give the server its instructions. ...
    (comp.lang.php)
  • Re: PHP Instalation problems. Browser doesnt know what to do
    ... This is loaded and run as a local server (for class ... PHP 5.2.0 from php-5.2.0-win32-installer.msi ... # configuration directives that give the server its instructions. ...
    (comp.lang.php)
  • Re: write with cURL
    ... execute permissions. ... This is assuming that the PHP script runs ... of potential security risks from other users on the same server. ... Apache as the global web server user and thus needs world write ...
    (alt.php)
  • mysqli error?
    ... I'm just setting up my php enviroment and I typed in a simple script ... # configuration directives that give the server its instructions. ...
    (comp.lang.php)
  • Re: write with cURL
    ... execute permissions. ... This is assuming that the PHP script runs ... of potential security risks from other users on the same server. ... web server itself is part of the group. ...
    (alt.php)