php-windows Digest 28 Mar 2002 07:15:23 -0000 Issue 1066

Topics (messages 12781 through 12797):

Re: decision between explorer types
        12781 by: Nicole Amashta
        12782 by: Dan Zarrella

PHP / WinNT 4.0 / Apache - what is most stabile?
        12783 by: Alan McKay
        12784 by: Rasmus Lerdorf
        12786 by: Rasmus Lerdorf
        12788 by: Alan McKay
        12789 by: Shane Caraveo
        12790 by: Alan McKay
        12791 by: Shane Caraveo
        12792 by: Alan McKay
        12793 by: Shane Caraveo

Session errors....
        12785 by: Martin.Andrew
        12787 by: R'twick Niceorgaw
        12797 by: Piotr Pluciennik

Re: connecting to a database using ODBC
        12794 by: Christoph Grottolo

Anyone use CodeCharge for PHP and have Resources?
        12795 by: scott.eesco.com

dynamic site on windows server
        12796 by: olinux

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, Dan,

Thanks, and I will use them also!

nicole =)

"Dan Zarrella" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> the php string functions strstr and stristr are faster and just as usefull
> as the regex stuff in this case, strstr(string haystack, string needle) is
> case sensitive, and stristr is insensitive.-dan
>
> _________________________________________________________________
> Join the world’s largest e-mail service with MSN Hotmail.
> http://www.hotmail.com
>


--- End Message ---
--- Begin Message ---
str_replace might also be of intrest, in replacing regex with faster string 
functions.

_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com

--- End Message ---
--- Begin Message ---
Folks,

This is kind of frustrating.

I'm reading the install.txt and near the top it explains about the 2 versions,
those being PHP.EXE and the SAPI modules.  It then says that the SAPI
version is not considered production grade, and is still unstable
"especially on platforms older than W2K".

Then later on in the same document it says :

"Now that version 4.1 introduces a safer sapi module, we recommend
that you configure PHP as a module in Apache."

OK, so which is it?  I am to be using this in a commercial product, and
absolutely have to have the most stabile version.  I'd prefer to run the
SAPIs because they are apparantly faster, but the document contradicts
itself on which is most stabile.

Can someone help clarify this?  (And if someone responsible for that
document is listening, could you please update it accordingly?)

thanks,
-Alan


--- End Message ---
--- Begin Message ---
Why don't you test the different versions and let us know which is more
stable.  On Windows stability is a very subjective thing.

-Rasmus

On Wed, 27 Mar 2002, Alan McKay wrote:

> Folks,
>
> This is kind of frustrating.
>
> I'm reading the install.txt and near the top it explains about the 2 versions,
> those being PHP.EXE and the SAPI modules.  It then says that the SAPI
> version is not considered production grade, and is still unstable
> "especially on platforms older than W2K".
>
> Then later on in the same document it says :
>
> "Now that version 4.1 introduces a safer sapi module, we recommend
> that you configure PHP as a module in Apache."
>
> OK, so which is it?  I am to be using this in a commercial product, and
> absolutely have to have the most stabile version.  I'd prefer to run the
> SAPIs because they are apparantly faster, but the document contradicts
> itself on which is most stabile.
>
> Can someone help clarify this?  (And if someone responsible for that
> document is listening, could you please update it accordingly?)
>
> thanks,
> -Alan
>
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>

--- End Message ---
--- Begin Message ---
Well, the standalone CGI version is the most stable and will likely always
be the most stable as it has the least integration with the destabilizing
forces around it.  It is also of course the slowest.

-Rasmus

On Wed, 27 Mar 2002, Alan McKay wrote:

> Sure, I guess I could do that, but I was hoping someone may
> have already done this.  If not, then I guess I don't have
> much of a choice in the matter ;-)
>
> thanks,
> -Alan
>
> > Why don't you test the different versions and let us know
> > which is more
> > stable.  On Windows stability is a very subjective thing.
>

--- End Message ---
--- Begin Message ---
Sure, I guess I could do that, but I was hoping someone may
have already done this.  If not, then I guess I don't have
much of a choice in the matter ;-)

thanks,
-Alan

> Why don't you test the different versions and let us know 
> which is more
> stable.  On Windows stability is a very subjective thing.
--- End Message ---
--- Begin Message ---
You can also try FastCGI.

I would suggest you get a load test program, and test your scripts under 
various loads.  Microsoft has a free one 
(http://webtool.rte.microsoft.com), and there is one by the Apache group.

Both the Apache and IIS sapi modules are multithreaded, and you may run 
into issues with stability in those modules depending on what extensions 
you use.  They will be the fastest, but most prone to problems.  The 
rock solid solution is CGI, but it is very slow.

Now a plug for the 'other' alternative, FastCGI.  Not quite as fast as 
the Apache or IIS modules 'could be', but MUCH faster than CGI, and 
gains the stability of CGI since it does not rely on threads and runs 
completely 'out-of-process' from the webserver.  The downside to FastCGI 
right now, it hasn't received as much use and attention yet, so there 
may still be some bugs in the server side modules (but not on the php 
end).

You can find the executables for FastCGI/IIS/iPlanet/PHP at 
www.caraveo.com/fastcgi/, and the Apache mod_fastcgi at fastcgi.com. 
Another plug for the IIS version, Apache doesn't have any support for 
IIS/NTFS security that I am aware of, the IIS/FastCGI plugin does.

Shane

Alan McKay wrote:
> Folks,
> 
> This is kind of frustrating.
> 
> I'm reading the install.txt and near the top it explains about the 2 versions,
> those being PHP.EXE and the SAPI modules.  It then says that the SAPI
> version is not considered production grade, and is still unstable
> "especially on platforms older than W2K".
> 
> Then later on in the same document it says :
> 
> "Now that version 4.1 introduces a safer sapi module, we recommend
> that you configure PHP as a module in Apache."
> 
> OK, so which is it?  I am to be using this in a commercial product, and
> absolutely have to have the most stabile version.  I'd prefer to run the
> SAPIs because they are apparantly faster, but the document contradicts
> itself on which is most stabile.
> 
> Can someone help clarify this?  (And if someone responsible for that
> document is listening, could you please update it accordingly?)
> 
> thanks,
> -Alan
> 
> 
> 



--- End Message ---
--- Begin Message ---

> You can find the executables for FastCGI/IIS/iPlanet/PHP at 
> www.caraveo.com/fastcgi/, and the Apache mod_fastcgi at fastcgi.com. 
> Another plug for the IIS version, Apache doesn't have any support for 
> IIS/NTFS security that I am aware of, the IIS/FastCGI plugin does.

IIS is not an option for us - too many security holes.

cheers,
-Alan
--- End Message ---
--- Begin Message ---
Alan McKay wrote:
> 
>  > You can find the executables for FastCGI/IIS/iPlanet/PHP at
>  > www.caraveo.com/fastcgi/, and the Apache mod_fastcgi at fastcgi.com.
>  > Another plug for the IIS version, Apache doesn't have any support for
>  > IIS/NTFS security that I am aware of, the IIS/FastCGI plugin does.
> 
> IIS is not an option for us - too many security holes.
> 
> cheers,
> -Alan
> 

Well, I'm just giving alternatives. Look at apache and mod_fastcgi as an 
alternative.  The phpfcgi.exe for 4.1.x is available from my site (will 
be included in php 4.2).

Shane

--- End Message ---
--- Begin Message ---

> Well, I'm just giving alternatives. Look at apache and 
> mod_fastcgi as an 
> alternative.  The phpfcgi.exe for 4.1.x is available from my 
> site (will 
> be included in php 4.2).

Oh, so it's available for apache, too?
OK, I may just give it a try then.  But what is the status of
this when using in a commercial product?  Is it something
I'd have to pay for?

thanks,
-Alan
--- End Message ---
--- Begin Message ---
Alan McKay wrote:
>>Well, I'm just giving alternatives. Look at apache and 
>>mod_fastcgi as an 
>>alternative.  The phpfcgi.exe for 4.1.x is available from my 
>>site (will 
>>be included in php 4.2).
> 
> 
> Oh, so it's available for apache, too?
> OK, I may just give it a try then.  But what is the status of
> this when using in a commercial product?  Is it something
> I'd have to pay for?
> 
> thanks,
> -Alan
> 

It's all free.  I know that the linux version of mod_fastcgi is used a 
lot, not so sure about the windows version.  You could ask on the 
fastcgi email list (see fastcgi.com).

Shane


--- End Message ---
--- Begin Message ---
Quick Question...

I am registering a session with the session_start(), session_register()
functions,
when I do it on our test server (UNIX, Apache) I have no problems, locally
(Win2K, Apache) I get the follwoing error

Warning: open(/tmp\sess_0ac1a7836d05713e245d299b54528e64, O_RDWR) failed: m
(2) in d:\projects\shop\cart.inc on line 5

I have checked the php.ini thinking it's a configuration problem but both
are identical, concerning session details anyway!
Could it be an apache configuration issue?
Anyone got any ides?
Thanks.
--- End Message ---
--- Begin Message ---
create a directory called c:\temp and replace \tmp to c:\\temp in your
php.ini file on the windows server.

----- Original Message -----
From: "Martin.Andrew" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, March 27, 2002 11:07 AM
Subject: [PHP-WIN] Session errors....


> Quick Question...
>
> I am registering a session with the session_start(), session_register()
> functions,
> when I do it on our test server (UNIX, Apache) I have no problems, locally
> (Win2K, Apache) I get the follwoing error
>
> Warning: open(/tmp\sess_0ac1a7836d05713e245d299b54528e64, O_RDWR) failed:
m
> (2) in d:\projects\shop\cart.inc on line 5
>
> I have checked the php.ini thinking it's a configuration problem but both
> are identical, concerning session details anyway!
> Could it be an apache configuration issue?
> Anyone got any ides?
> Thanks.
>


--- End Message ---
--- Begin Message ---
Hi,

PHP cannot save session information to your disk. As
described in error message you probably haven't
defined correct path to session directory (it's
different on linux and windows)... or not set rights
to it. So check php.ini "session.save_path" and
properties of that directory. 
 
For example:
session.save_path = c:\sessions

HTH 
Piotr

--- "Martin.Andrew" <[EMAIL PROTECTED]> wrote:
> Quick Question...
> 
> I am registering a session with the session_start(),
> session_register()
> functions,
> when I do it on our test server (UNIX, Apache) I
> have no problems, locally
> (Win2K, Apache) I get the follwoing error
> 
> Warning:
> open(/tmp\sess_0ac1a7836d05713e245d299b54528e64,
> O_RDWR) failed: m
> (2) in d:\projects\shop\cart.inc on line 5
> 
> I have checked the php.ini thinking it's a
> configuration problem but both
> are identical, concerning session details anyway!
> Could it be an apache configuration issue?
> Anyone got any ides?
> Thanks.
> 


__________________________________________________
Do You Yahoo!?
Yahoo! Movies - coverage of the 74th Academy Awards®
http://movies.yahoo.com/
--- End Message ---
--- Begin Message ---
| I need to connect to an acces database, Using php on Windows with Apache.
| If anyone has some sample code I would greatly appreciate it I am lost
about
| the wholeODBC thing.

watch at www.thickbook.com

there are sample scripts for almost every type of db connection

Christoph


--- End Message ---
--- Begin Message ---
Just curious if anyone uses CodeCharge to do RAD for PHP, and if they have
any
good links for sites with sample code, or discussion boards, or mailing
lists, etc.?

I have been learning it, and it seems really cool.

Also, any competitive products that actually work that might be COOLER than
codecharge?

Thanks,
Scott Szretter


--- End Message ---
--- Begin Message ---
Hi all,

My company is considering a move from static to db
driven site. 

I am looking to find a solution to allow URL's to be
structured in "search engine friendly" format [i.e.
http://website.com/region/article/article_id ] as
search engine traffic is very important.

I have found some great resources for doing this on
apache but nothing for IIS.

I would like to use mySQL as the db (majority of
selects will be simple selects)

Currently our site is on a windows server and with a
recent (large) investment in an ASP/MSSQL db project
they do not want to move from IIS. I'm not familiar
with ASP so I'd rather not go that route.

We are a news site with about 6000 articles and 15-20
additions each day. 600,000 monthly page views growing
by @ 40,000 per month.

Thanks much,
olinux

__________________________________________________
Do You Yahoo!?
Yahoo! Movies - coverage of the 74th Academy Awards®
http://movies.yahoo.com/
--- End Message ---

Reply via email to