Home  |  Forums  |  914 Info  |  Blogs
 
914World.com - The fastest growing online 914 community!
 
Porsche, and the Porsche crest are registered trademarks of Dr. Ing. h.c. F. Porsche AG. This site is not affiliated with Porsche in any way.
Its only purpose is to provide an online forum for car enthusiasts. All other trademarks are property of their respective owners.
 

Welcome Guest ( Log In | Register )

> OT: PHP question, club related ...
SirAndy
post Feb 13 2005, 11:33 PM
Post #1


Resident German
*************************

Group: Admin
Posts: 41,679
Joined: 21-January 03
From: Oakland, Kalifornia
Member No.: 179
Region Association: Northern California



ok, here's a silly PHP question ...

any given time (with traffic on the BBS) i see between 6 and 15 instances of PHP.EXE in the task manager. they all eat up memory and ressources ...

is there a way to tell PHP to run through the IIS-API ???
that should channel it all through 1 thread, right? same as it does with ASP or CGI ...

does PHP have the ability to run as a IIS extension? and if so, how do i configure it for that?
(IMG:http://www.914world.com/bbs2/html/emoticons/idea.gif) Andy
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
 
Reply to this topicStart new topic
Replies
lapuwali
post Feb 14 2005, 12:08 AM
Post #2


Not another one!
****

Group: Benefactors
Posts: 4,526
Joined: 1-March 04
From: San Mateo, CA
Member No.: 1,743



Why on earth are you running under Windows, anyway? You LIKE applying security patches every 10 minutes?

I'd expect the Windows version of PHP was a straight, least-effort port of the Unix code, which would mean that it was designed to run in Apache 1.3, which isn't multi-threaded. So, running N processes isn't going to help you much. Unless Windows is far more broken than I believe it to be, all of the code memory should be shared between the processes. Only data memory isn't shared, and much of that would NOT be shared even in a multi-threaded environment unless the PHP engine itself was coded to be multi-threaded (which it wasn't). The Windows version is also going to be a red-haired stepchild in the PHP universe. The main PHP guys like Lerdorf all target Linux and FreeBSD as their dev platforms (and the latter primarily because several of them work at Yahoo, and Yahoo is a FreeBSD shop).

So, in short, while I don't KNOW for certain you can't get there, I'm 99% certain you can't.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

Posts in this topic
SirAndy   OT: PHP question   Feb 13 2005, 11:33 PM
double-a   i'm not sure i understand the question, could ...   Feb 13 2005, 11:39 PM
trekkor   WYSIWYG? http://www.914world.com/bb...   Feb 13 2005, 11:41 PM
lapuwali   Why on earth are you running under Windows, anyway...   Feb 14 2005, 12:08 AM
SirAndy   ...   Feb 14 2005, 12:14 AM
fiid   Ignoring all the comments I am actually making und...   Feb 14 2005, 12:21 AM
SirAndy     Feb 14 2005, 12:31 AM
McMark   AmigaOS FOREVER!!!!   Feb 14 2005, 12:39 AM
fiid   I don't know what version of IIS you are runni...   Feb 14 2005, 12:43 AM
SirAndy     Feb 14 2005, 12:46 AM
fiid     Feb 14 2005, 12:46 AM
lapuwali   Doing a Google for PHP IIS also found several hits...   Feb 14 2005, 11:13 AM
vortrex   why are you running windows?   Feb 14 2005, 11:47 AM
SirAndy   i'm a computer guy, i work with all of them. w...   Feb 14 2005, 11:51 AM
SirAndy   ...   Feb 14 2005, 11:52 AM
SirAndy   <...   Feb 14 2005, 11:52 AM
lapuwali   <...   Feb 14 2005, 12:35 PM
ThinAir914   I'm a Windows system admin who is trying to fi...   Feb 14 2005, 10:59 PM
SirAndy   <...   Feb 14 2005, 11:51 PM
ThinAir914   This is for servers. We host the web site with an ...   Feb 15 2005, 12:23 AM
lapuwali   <...   Feb 15 2005, 09:36 AM
SirAndy   ...   Feb 15 2005, 11:43 AM
fiid   I am a little confused as to why we switched to li...   Feb 15 2005, 11:55 AM
fiid   Did you get the DLL going in the end, btw?   Feb 15 2005, 11:55 AM
Rockaria   <...   Feb 15 2005, 11:57 AM
SirAndy     Feb 15 2005, 12:24 PM
SirAndy     Feb 15 2005, 12:32 PM
fiid   <...   Feb 15 2005, 12:41 PM
ThinAir914   <...   Feb 15 2005, 02:15 PM
Tom Perso   I monitor and administer close to 200 Windows 2000...   Feb 15 2005, 02:44 PM


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

- Lo-Fi Version Time is now: 10th June 2024 - 05:49 AM