Afficher un message
Vieux 27/02/2008, 13h42   #2
Jerry Stuckle
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Is fast-cgi a drop-in replacement for mod_php?

Evil Son wrote:
> Hello group,
>
> If I switched from mod_php to fast-cgi, would I need to make any
> changes to my php source?
>


Not much.

> Also, will something like APC still be useful?
>


If you find it useful now, yes.

> Will my database connections suddenly become persistent?
>


Nope.

> If I had static data in my script, will it persist when that same
> script is called again?
>


Nope.

> Essentially, my question is: is fast-cgi a drop-in replacement for
> mod_php?
>


Pretty much. But nothing will give you the behavior you're looking for.
The web is by nature transactional, and all languages act the same way
- scripts are initialized when you call them and do not carry over
values or connections from previous executions.

> Thank you for your time.
>
> E Wilson
>



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

  Réponse avec citation
 
Page generated in 0,04945 seconds with 9 queries