OT: PHP question, club related ... |
|
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. |
|
OT: PHP question, club related ... |
SirAndy |
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 |
lapuwali |
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. |
Lo-Fi Version | Time is now: 10th June 2024 - 05:49 AM |
All rights reserved 914World.com © since 2002 |
914World.com is the fastest growing online 914 community! We have it all, classifieds, events, forums, vendors, parts, autocross, racing, technical articles, events calendar, newsletter, restoration, gallery, archives, history and more for your Porsche 914 ... |