php-windows Digest 16 Apr 2004 15:18:48 -0000 Issue 2211
Topics (messages 23466 through 23470):
Re: Question about PHP on Win2k Advanced Server
23466 by: Henrik Hornemann
23468 by: John Lim
23469 by: Anthony M. Saffer
Anyone who can help me??????
23467 by: Peter Hansen
Re: PHP + COM
23470 by: Gryffyn, Trevor
Administrivia:
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]
To post to the list, e-mail:
[EMAIL PROTECTED]
----------------------------------------------------------------------
--- Begin Message ---
Hi,
Imho you will never get a 100% uptime on a windows server, whatever
scripting language you use.
In my experience php on windows is as (or more) stable as asp.
Regards Henrik Hornemann
-----Oprindelig meddelelse-----
Fra: Anthony M. Saffer [mailto:[EMAIL PROTECTED]
Sendt: 15. april 2004 18:22
Til: PHP Windows
Emne: [PHP-WIN] Question about PHP on Win2k Advanced Server
Hello Everyone,
I'm currently working on an application for a social service agency and
I was writing it with a LAMP target. I was informed on yesterday that
LAMP will not be the target but rather Win2k Advanced Server. I thought
"no problem" since I know that PHP can run on both Linux and Windows and
figured my application would be fine. But then, after doing some
research, I found that PHP seems to not be terribly reliable on Windows
and it gave me pause. This application MUST have a near 24/7 uptime and
I cannot afford to have PHP crashing in the middle of things. So, I am
seriously considering using ASP to do this since 1) it's native to
Windows and stable and 2) it's tightly integrated.
What does everyone think of PHP on Windows? IS it stable enough to be
nearly 100% reliable? What are the problems with using PHP on Windows?
Thanks,
Anthony M. Saffer
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
Hi,
FastCGI provides the best reliability on Windows. It's as close to 99.99% as
you can get. Zend has a commercial windows enabler built on FastCGI at
http://zend.com
There is also a free FastCGI installer at http://php.weblogs.com/easywindows
which i wrote.
Regards, John
"Anthony M. Saffer" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hello Everyone,
>
> I'm currently working on an application for a social service agency and I
> was writing it with a LAMP target. I was informed on yesterday that LAMP
> will not be the target but rather Win2k Advanced Server. I thought "no
> problem" since I know that PHP can run on both Linux and Windows and
figured
> my application would be fine. But then, after doing some research, I found
> that PHP seems to not be terribly reliable on Windows and it gave me
pause.
> This application MUST have a near 24/7 uptime and I cannot afford to have
> PHP crashing in the middle of things. So, I am seriously considering using
> ASP to do this since 1) it's native to Windows and stable and 2) it's
> tightly integrated.
>
> What does everyone think of PHP on Windows? IS it stable enough to be
nearly
> 100% reliable? What are the problems with using PHP on Windows?
>
> Thanks,
> Anthony M. Saffer
--- End Message ---
--- Begin Message ---
On Fri, 16 Apr 2004 19:56:11 +0800, John Lim <[EMAIL PROTECTED]> wrote:
Hi,
FastCGI provides the best reliability on Windows. It's as close to
99.99% as
you can get. Zend has a commercial windows enabler built on FastCGI at
http://zend.com
There is also a free FastCGI installer at
http://php.weblogs.com/easywindows
which i wrote.
Regards, John
I was reading about the FastCGI application today and was wondering if
that might help. Thanks for the input!
Anthony
--- End Message ---
--- Begin Message ---
Hello
i need some help with my battlefield livestat
i have two website
www.flashwebb.se
and
www.flashwebb.com
and the help i need is on the www.flashwebb.com site
You can look here
http://www.flashwebb.se/bf1942live/vietnam.pl
and see it on action
so now i have download the php nuke
and i want to have the same page as above when i click on a link to my new
site ..And i been told to make a php page and put this code to call the
vietnam.pl
<?php
require_once("mainfile.php");
include("header.php");
$content = `/C:/Inetpub/com/html/bf1942live/vietnam.pl`;
print $content;
include("footer.php");
?>
and i save the page as bflive.php and put a link to it on my page
http://www.flashwebb.com/bflive.php
so now when i click on the link i get this errormessage
Warning: shell_exec(): Unable to execute
'/C:/Inetpub/com/html/bf1942live/vietnam.pl' in
C:\Inetpub\Com\html\bflive.php on line 7
You can see for your self here
http://www.flashwebb.com/bflive.php
so now i don't know what's wrong
i want the page vietnam.pl to come up when i click on the link
as you can do by click on the link below and see the error message
http://www.flashwebb.se/bf1942live/vietnam.pl
I'am running win2003
Anyone who can help me here???
Regards
Peter
--- End Message ---
--- Begin Message ---
I didn't see if this was answered yet. This is something I'm interested in as well,
so if anyone has any good information on using PHP with COM objects, that'd be great.
Specifically I want to do some things with Microsoft MapPoint.
This should work, just in the context of instantiating Word and showing it (making it
'visible'):
----------
$objapp = new COM("word.application") or die("Unable to instanciate mappoint");
$objapp -> Activate;
print "Loaded Word, version {$objapp->Version}\n";
$objapp -> Visible = True;
$objapp->Quit() or die("Quit didn't work");
# Quit does seem to work, but still get the DIE message for some reason
----------
I'm a little hazy on using objects with PHP, but to access any MS apps via COM, just
change "word.application" to "mappoint.application" or whatever the name of the MS app
is. Beyond that, I need to actually make some time to figure out how to convert VBA
scripts to PHP COM calls to make all this work the way I want it to.
Good luck Cleber!
-TG
> -----Original Message-----
> From: Cleber Tinoco Atanásio [SMTP:[EMAIL PROTECTED]
> To: Svensson, B.A.T. (HKG)
> Sent: 15-3-2004 22:48
> Subject: PHP + COM
>
> Hi Mr. B.A.T Svensson,
>
> My name is Cleber.
> I'm Brazilian and my English is poor :).
> I didn't obtain help in e-mail list in my country.
> My doubt is related about Word.
> I type this code:
>
> $WordApp = new COM("Word.Application") or die ("Error");
>
> $WordApp->Visible = 1; // it does not function.
>
>
> Word Application don't be visible, only run in Background.
> Somebody can help me in this case?
>
> Thanks.
> Cleber..
--- End Message ---