php-windows Digest 23 May 2002 12:39:41 -0000 Issue 1158
Topics (messages 13930 through 13937):
Apache & IIS with PHP on Same System
13930 by: Tim Greenleaf
Re: windows 2000 server --- crashing
13931 by: Clay Culver
Varying Results Creating Table
13932 by: Tim Greenleaf
PHP version 4.2 and above
13933 by: Opere, James
13934 by: Matt Parlane
Re: [PHP] PHP version 4.2 and above
13935 by: Miguel Cruz
GD
13936 by: Brian McGarvie
Accessing CDO with PHP
13937 by: R.S. Herhuth
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 ---
Are there any issues with running Apache and IIS on the same system both
using PHP? The only obvious problem I can think of is I will need to
configure Apache to use some other port (other than 80).
Any pointers would be greatly appeciated.
Tim
--- End Message ---
--- Begin Message ---
Well I am not using the same hardware but the hardware of my server is a
dual PII Xeon 450 2mb cache per CPU with 1GB RAM, custom build. And it
has run MySQL and PHP 4.2.x flawlessly (until I create something that
makes it crash).
Best thing to do is always make sure that you have the latest
windows updates, you can get them the same was as with WinXP and Win9x
just head to http://windowsupdate.microsoft.com other then that make
sure you know what is being put on the server. Barring all that you
really shouldn't have any problems with Win2k IIS5 & PHP with either
security or stability.
Clay
> -----Original Message-----
> From: Brian McGarvie [mailto:[EMAIL PROTECTED]]
> Sent: May 22, 2002 1:15 AM
> To: [EMAIL PROTECTED]
> Subject: RE: [PHP-WIN] Re: windows 2000 server --- crashing
>
> hmm, I've been successfully using IIS 5/PHP 4.2.1 (also making use of
> mysql 3.23.49) and MSSQL Server, combination on win2k server for a few
> months now, recently using php 4.2.1 and still no 'nasties' have
> happened...
>
> It is worring tho that there seems to be such a leap from systems
> running fine to it going ape s*it on another identical(ish) install.
>
> I'm using at the moment a dual p4 2ghz 2gb ram compac proliant ML370
for
> our web applications. Ne1 using similar and had problems? I'd rather
> know sooner than wait till our service is launched and it going down.
No
> server, no cash flow ;)
>
> I have done some benchmarking on it running the application with IIS 5
> and also with Apache2, and there is virtually no speed gain/loss worth
> mentioning. But the question then is, what's more stable in the long
> run?
>
> We were/are trying to keep is MS-centric - I personally am Anti-MS -
but
> for the sake of ease of maintenance we we're trying to keep it MS.
>
> Also, while we're on about win2k, ne1 got any security tips for it in
> general for a webserver? I.e. typical precautuions to take wither it's
> IIS or Apache or other?
>
> > -----Original Message-----
> > From: Kevin Lilly [mailto:[EMAIL PROTECTED]]
> > Sent: 22 May 2002 4:59 AM
> > To: [EMAIL PROTECTED]
> > Subject: Re: [PHP-WIN] Re: windows 2000 server --- crashing
> >
> >
> > Thanks Clay...I'll try that when I get to work tommorrow
> >
> > Kevin
> > "Clay Culver" <[EMAIL PROTECTED]> wrote in message
> > 000601c20141$a5f2a5c0$1602a8c0@dark">news:000601c20141$a5f2a5c0$1602a8c0@dark...
> > > I have gotten PHP 4.2 to work well under Win2k Server, but
> > I do not use
> > > the dll file I use it as a CGI. I have four sites that are
PHP/MySQL
> > > driven that work fine and see quite a bit of traffic.
> > >
> > > In options disable automatically reboot when a STOP error
> > > occurs, and have a look at what driver or what the exact
> > error is. Then
> > > take this to support.microsoft.com there could be a chance
> > there is just
> > > something else causing the problem, but only shows when phpinfo()
is
> > > called.
> > >
> > > Clay
> > >
> > > > -----Original Message-----
> > > > From: Matt Parlane [mailto:[EMAIL PROTECTED]]
> > > > Sent: May 21, 2002 8:25 PM
> > > > To: [EMAIL PROTECTED]
> > > > Subject: [PHP-WIN] Re: windows 2000 server --- crashing
> > > >
> > > > Hi Kevin...
> > > >
> > > > I had the same problem a while back, and I came to the
> > conclusion that
> > > PHP
> > > > on windows with IIS is just plain dodgy.
> > > >
> > > > This may or may not help, but I managed to get around the
> > problem by
> > > > installing Apache, then setting up all the sites which
> > needed ASP on
> > > IIS
> > > > on
> > > > a different port. Set up all the ASP sites in the httpd.conf
file
> > > using
> > > > ProxyPass and ProxyPassReverse to point to the IIS web
> > server on the
> > > > non-standard port. My web server is now running
> > beautifully, with all
> > > the
> > > > ASP pages served through IIS, and all the PHP pages served
through
> > > Apache
> > > > (and I'm desperately trying to outsource all of our ASP
> > sites so I can
> > > > migrate to Linux... :)
> > > >
> > > > Of course, if you don't have any ASP sites, then get rid if IIS
> > > > alltogether.....
> > > >
> > > > If this is of any use to you, get back to me and I'll let
> > you know the
> > > > nitty-gritty of how to get it going.
> > > >
> > > > Thanks,
> > > >
> > > > Matt
> > > >
> > > > "Kevin Lilly" <[EMAIL PROTECTED]> wrote in message
> > > > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > > > > I am running php 4.2.1 on IIS 5 on windows 2000 server
edition.
> > > > >
> > > > > After configuring the server and php I tested it on
> > that computer by
> > > > calling
> > > > > phpinfo() and it served the page fine. I then tried to
> > call the page
> > > > from
> > > > a
> > > > > windows 98SE computer on the LAN and the server crashed
> > (blue screen
> > > of
> > > > > death -- memory dump -- computer restarted).
> > > > >
> > > > > After trying this several times with the same result I
> > tried to call
> > > > another
> > > > > page with a simple print() statement which comes up
> > with no problem
> > > on
> > > > > either machine.
> > > > >
> > > > > Any suggestions would be greatly appreciated.
> > > > > Thanks -- Kevin
> > > > >
> > > > >
> > > >
> > > >
> > > >
> > > > --
> > > > PHP Windows Mailing List (http://www.php.net/)
> > > > To unsubscribe, visit: http://www.php.net/unsub.php
> > >
> > >
> > >
> >
> >
> >
> > --
> > PHP Windows Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
I have a search page that creates a dynamic table of results from MS SQL
Server. The table created on the web page does not always get created
properly for the same recordset. Sometimes a field may have a black or red
background color and if the same exact search is run again it will display
properly. If I have a search with large number of records (few thousand)
there is usually html text printed above the table of results. If I perform
the exact search multiple times, I will get different html text printed
above the table.
It seems as if the PHP engine/interpretor is not processing the script
properly. I would think if I had a syntax issue with the script or HTML it
would either error out or return the same results everytime.
Has anyone else seen this problem before?
w2k SP2
IIS
PHP 4.2.1
Thanks for the help.
Tim
--- End Message ---
--- Begin Message ---
Hi all.
I have aproblem with php >= 4.2.I'm working on graphics but when i install
php4.2, i get an error that it doesn't support GD library.
Is there anybody who has any idea as to how it can be possible to use the
above versions and still run my scripts successfully?
Currently i'm using phpdev4 which with php 4.06 which does not support
global variables but support the GD library for Graphics.
--- End Message ---
--- Begin Message ---
Hi James...
As from PHP 4.1.0, a versioning system was introduced (why?) which means
that you can't use old extension modules with versions >= 4.1.0. You'll
need to get the php_gd.dll or php_gd2.dll which came with the binary you
have and use that instead of the one you already have. Or did I
misunderstand you? What does the error message say exactly?
Anyway... hope that helps...
Matt
"James Opere" <[EMAIL PROTECTED]> wrote in message
FC788AB9771FD6118E6F0002A5AD7B8F704FA1@ICRAFNTTRAIN">news:FC788AB9771FD6118E6F0002A5AD7B8F704FA1@ICRAFNTTRAIN...
> Hi all.
> I have aproblem with php >= 4.2.I'm working on graphics but when i install
> php4.2, i get an error that it doesn't support GD library.
> Is there anybody who has any idea as to how it can be possible to use the
> above versions and still run my scripts successfully?
>
> Currently i'm using phpdev4 which with php 4.06 which does not support
> global variables but support the GD library for Graphics.
>
>
--- End Message ---
--- Begin Message ---
On Wed, 22 May 2002, Opere, James wrote:
> I have aproblem with php >= 4.2.I'm working on graphics but when i install
> php4.2, i get an error that it doesn't support GD library.
> Is there anybody who has any idea as to how it can be possible to use the
> above versions and still run my scripts successfully?
>
> Currently i'm using phpdev4 which with php 4.06 which does not support
> global variables but support the GD library for Graphics.
Any version supports the GD library if you install it that way. But
without knowing your platform it's hard to guess what you might have to do
in order to get things going.
miguel
--- End Message ---
--- Begin Message ---
When I try to use the GD lib, it seems to create blank/errorsome images?
--- End Message ---
--- Begin Message ---
Hi,
Has anyone on this list successfully accessed CDO using the COM support
in PHP version 4.2.1?
I would be greatful if they would share configuration tips.
I have tried running this script a thousand times with no success:
<?php
$message = new COM('CDO.Message');
$message->To = '[EMAIL PROTECTED]';
$message->From = '[EMAIL PROTECTED]';
$message->Subject = 'This is a subject line';
$message->HTMLBody = '<html><body>This is <b>the</b> body!</body></html>';
$message->AddAttachment('http://www.ActiveState.com');
$message->Send();
?>
I don't get an error message or anything. The page looks like it is
processing for several seconds then the status line reads "Done." but i
check the email and nothing has been received.
I'm currently running Windows 2000 Professional under IIS configured as
described in the documentation. I also installed the CDO objects from
the Microsoft Office CD. Do I need to have Exchange Server installed on
the box too?
I have no problem accessing Word or Excel using PHP through COM so I
think the configurations are setup correctly in PHP?
I would really like to get this up and running, because the alternative
is having to get up to speed with ASP and doing it that way.
Any help would be greatly appreciated.
Ron
--- End Message ---