![]() |
|
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. |
|
![]() ![]() |
![]() |
SirAndy |
![]() ![]()
Post
#1
|
Resident German ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Admin Posts: 42,234 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 |
double-a |
![]()
Post
#2
|
Senior Member ![]() ![]() ![]() Group: Members Posts: 989 Joined: 15-September 03 From: vancouver, wa, usa Member No.: 1,162 Region Association: Pacific Northwest ![]() |
i'm not sure i understand the question, could you throw out some additional acronyms please? (IMG:http://www.914world.com/bbs2/html/emoticons/biggrin.gif)
~a |
Trekkor |
![]()
Post
#3
|
I do things... ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 7,809 Joined: 2-December 03 From: Napa, Ca Member No.: 1,413 Region Association: Northern California ![]() |
WYSIWYG? (IMG:http://www.914world.com/bbs2/html/emoticons/ohmy.gif)
sorry... (IMG:http://www.914world.com/bbs2/html/emoticons/dry.gif) |
lapuwali |
![]()
Post
#4
|
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. |
SirAndy |
![]()
Post
#5
|
||
Resident German ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Admin Posts: 42,234 Joined: 21-January 03 From: Oakland, Kalifornia Member No.: 179 Region Association: Northern California ![]() |
alright, so you don't know the answer to my question ... next! |
||
fiid |
![]()
Post
#6
|
Turbo Megasquirted Subaru Member ![]() ![]() ![]() ![]() Group: Members Posts: 2,827 Joined: 7-April 03 From: San Francisco, CA Member No.: 530 Region Association: Northern California ![]() |
Ignoring all the comments I am actually making under my breath about windows...
Are you running PHP as a CGI script? |
SirAndy |
![]()
Post
#7
|
||
Resident German ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Admin Posts: 42,234 Joined: 21-January 03 From: Oakland, Kalifornia Member No.: 179 Region Association: Northern California ![]() |
nope, PHP.exe is referenced in the ISAPI mappings to be run for all .php files. it works fine, but PHP.EXE is by default not build as an extension to IIS, unlike the ASP.DLL that handles ASP pages. it is running multiple instances of PHP.EXE instead of one task hooked directly into the web-servers API. my question is simple: is there a (DLL) extension for IIS that runs PHP as a real plugin? that would make the server run faster, eating up much less CPU time and ressources ... and thanks for keeping your unix vs. windows bullshit to yourself. i'm sooo tired of hearing that crap from people who don't know anything about both worlds ... (IMG:http://www.914world.com/bbs2/html/emoticons/dry.gif) Andy |
||
McMark |
![]()
Post
#8
|
914 Freak! ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Retired Admin Posts: 20,180 Joined: 13-March 03 From: Grand Rapids, MI Member No.: 419 Region Association: None ![]() |
AmigaOS FOREVER!!!! (IMG:http://www.914world.com/bbs2/html/emoticons/wink.gif)
|
SirAndy |
![]()
Post
#9
|
||
Resident German ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Admin Posts: 42,234 Joined: 21-January 03 From: Oakland, Kalifornia Member No.: 179 Region Association: Northern California ![]() |
haha, did my first *real* game on a amiga. sprite collision detection on a per pixel base rocks! you even got your own interrupt for that type of collision ... (IMG:http://www.914world.com/bbs2/html/emoticons/aktion035.gif) oh, and btw. the C64 had that feature as well. still, the amiga was sooooo cool and i was soooo young ... (IMG:http://www.914world.com/bbs2/html/emoticons/boldblue.gif) Andy |
||
fiid |
![]()
Post
#10
|
Turbo Megasquirted Subaru Member ![]() ![]() ![]() ![]() Group: Members Posts: 2,827 Joined: 7-April 03 From: San Francisco, CA Member No.: 530 Region Association: Northern California ![]() |
I don't know what version of IIS you are running, but I think this is what you want:
http://www.peterguy.com/php/install_IIS6.html Are you currently using the php5isapi.dll plugin? I think that's what you need. |
SirAndy |
![]()
Post
#11
|
||
Resident German ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Admin Posts: 42,234 Joined: 21-January 03 From: Oakland, Kalifornia Member No.: 179 Region Association: Northern California ![]() |
aha! no, as i said earlier, i'm just running php.exe, which is the default install. but i knew that there had to be a better way! (IMG:http://www.914world.com/bbs2/html/emoticons/aktion035.gif) Andy |
||
fiid |
![]()
Post
#12
|
||
Turbo Megasquirted Subaru Member ![]() ![]() ![]() ![]() Group: Members Posts: 2,827 Joined: 7-April 03 From: San Francisco, CA Member No.: 530 Region Association: Northern California ![]() |
Thanks for the faith. I've done plenty of work on windows, linux (redhat, debian, fedora and others), solaris, macos, hpux, freebsd and netbsd to be able to comment. |
||
lapuwali |
![]()
Post
#13
|
Not another one! ![]() ![]() ![]() ![]() Group: Benefactors Posts: 4,526 Joined: 1-March 04 From: San Mateo, CA Member No.: 1,743 ![]() ![]() |
Doing a Google for PHP IIS also found several hits on installing a PHP4 DLL for IIS, in case you don't want to move to PHP5, yet.
(and I'm sooo sick of hearing people tell me I don't know about "both worlds" when I recommend against Windows...cause I spent far too much time admin'ing a Windows shop) |
vortrex |
![]()
Post
#14
|
Senior Member ![]() ![]() ![]() Group: Members Posts: 1,687 Joined: 24-December 02 From: SF, CA Member No.: 4 Region Association: None ![]() |
why are you running windows?
|
SirAndy |
![]()
Post
#15
|
Resident German ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Admin Posts: 42,234 Joined: 21-January 03 From: Oakland, Kalifornia Member No.: 179 Region Association: Northern California ![]() |
i'm a computer guy, i work with all of them. whatever you have, put it in front of me and i'll make it work.
do i have personal preferences? sure. but not for one OS in particular. it depends on the intended use of the system. want a high end gaming workstation? get a PC. want a graphic/video workstation? get a MAC. want a tricked out FTP server? get a linux box. in my view, most of peoples frustration with windows is due to the lack of knowledge. which is actually true for most of the frustration on *all* operating systems. the lack is usually with the user, not the machine ... i have run windows servers for years straight with only 1 or 2 harddrives burn up. i have run linux servers for years straight with only 1 or 2 harddrives burn up. what really pisses me off are stupid comments like "i don't know the answer to your question but you really should switch over to linux. it'll solve all your problems" ... (IMG:http://www.914world.com/bbs2/html/emoticons/bs.gif) the server is running fine. php works under windows. mysql works under windows. cgi works under windows. i was looking for a way to optimize the php performance and fiid pointed me in the right direction. i don't need any of this "my computer is soooo much better than your computer" crap. leave it at home ... i'm tired, (IMG:http://www.914world.com/bbs2/html/emoticons/wacko.gif) Andy |
SirAndy |
![]()
Post
#16
|
||
Resident German ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Admin Posts: 42,234 Joined: 21-January 03 From: Oakland, Kalifornia Member No.: 179 Region Association: Northern California ![]() |
yeah, but without me asking the right question, would you even have known what to search for? i think not ... |
||
SirAndy |
![]()
Post
#17
|
||
Resident German ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Admin Posts: 42,234 Joined: 21-January 03 From: Oakland, Kalifornia Member No.: 179 Region Association: Northern California ![]() |
(IMG:http://www.914world.com/bbs2/html/emoticons/poke.gif) (IMG:http://www.914world.com/bbs2/html/emoticons/biggrin.gif) |
||
lapuwali |
![]()
Post
#18
|
||||
Not another one! ![]() ![]() ![]() ![]() Group: Benefactors Posts: 4,526 Joined: 1-March 04 From: San Mateo, CA Member No.: 1,743 ![]() ![]() |
So, why didn't you just Google yourself and save yourself all of this "why windows?" grief? (IMG:http://www.914world.com/bbs2/html/emoticons/biggrin.gif) In any case, good luck, but I still think you're not going to see a huge decrease in memory usage by switching to the DLL version, unless my understanding of PHP internals is drastically wrong. PHP doesn't play well with Apache 2.0, either (as in it isn't a full multi-threaded all-resources-shared thing, but just a PHP interpreter per thread), so it's not an IIS or Windows problem, but a PHP problem. |
||||
ThinAir |
![]()
Post
#19
|
Best friends ![]() ![]() ![]() ![]() Group: Members Posts: 2,569 Joined: 4-February 03 From: Flagstaff, AZ Member No.: 231 Region Association: Southwest Region ![]() ![]() |
I'm a Windows system admin who is trying to find time to work on his MCSE and has a lot of interest in Linux, so there is a lot I don't know. I'm just curious about the criteria for deciding which OS in the beginning. I ask because my non-profit can't afford to stay on Windows for the long run and I've been eyeing Linux, but the bottom line is that there is a job to get done and that overrides any "theoretical advantage" for one OS over another.
|
SirAndy |
![]()
Post
#20
|
||
Resident German ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Admin Posts: 42,234 Joined: 21-January 03 From: Oakland, Kalifornia Member No.: 179 Region Association: Northern California ![]() |
it entirely depends on what your non-profit wants to do with it ... workstations? servers? what software needs do you have? (IMG:http://www.914world.com/bbs2/html/emoticons/idea.gif) Andy |
||
![]() ![]() |
![]() |
Lo-Fi Version | Time is now: 3rd July 2025 - 05:53 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 ... |