RE: [PHP-WIN] Running dual Apache and IIS

From: Date: Mon, 24 Sep 2001 17:02:31 +0000
Subject: RE: [PHP-WIN] Running dual Apache and IIS
Groups: php.windows 
Request: Send a blank email to php-windows+get-9493@lists.php.net to get a copy of this message
> Plogon? As in: > > http://www.php.net/manual/en/function.ora-plogon.php > > Why start up Apache to do that when you can hit it via php cgi? Actually, OCIPLogon... Because there is no persistant logon to Oracle when you are in cgi mode. You can call the function, and it logs on, but as soon as the php.exe instance is dropped, so is the connection. And since the logon takes 10-19 seconds of the total execution time of 12-20 seconds, I'm fairly certain of where the bottleneck is. I guess you only have to logon to Oracle with SQL+ to notice the amount of time spent logging on... People will be doing data entry with this application (I take that back, we ARE doing data entry with this application) and I NEED/MUST HAVE a true persistant connection. I was running the isapi module with 4.0.6 on ocassion only to have it break every 3 or 4 hours... I put 4.0.7 on and can't even get the isapi module to 'kind of' run. I guess I could give 4.0.8-dev on from php4win but I don't really have high hopes. I'm not giving up on PHP... it was a rash and idiotic response to the problem I'm having... BUT I've got to get something to work! --------------------- John Asendorf - jasendorf@lcounty.com Web Applications Developer http://www.lcounty.com - NEW FEATURES ADDED DAILY! Licking County, Ohio, USA 740-349-3631 Nullum magnum ingenium sine mixtura dementiae fuit > -----Original Message----- > From: Erik H. Mathy [mailto:erik@butlerandco.com] > Sent: Monday, September 24, 2001 12:00 PM > To: Php-Windows (E-mail) > Subject: RE: [PHP-WIN] Running dual Apache and IIS > > > Hi All! > > > Well, I've had it with the isapi module and am feeling a > bit of a crunch > > here. I'm getting it from all sides and am starting to think > > that I should > > have just gone with ASP with our Oracle db as an ODBC > source and been done > > with it. > > Egads, man! Don't do it! ;) > > Seriously, though...the ISAPI module with IIS has been > notoriously buggy to > date. A few people on the list have had success with Win2000, > PHP4 isapi and > IIS5. If someone wants to pipe up feel free. > > Otherwise, I've gotten plenty of performance out of the cgi > route. I mean > plenty, as in blow the doors off of .asp plenty. Going with > .asp and Oracle > via ODBC will be insanely slow. .ASP has never really managed > to attain > PHP-like speeds. The Oracle ODBC drivers (MSoft and Oracle > versions) are > both major bottlenecks. This is experience talkin'. A client > of mine has me > hitting Oracle via ODBC. Ei yi yi! Not good. > > Plus, if you could include some specifics about the setup > (Win version, IIS > version, etc...) someone might have run into your situation > before. Info > never hurts. :) > > > Since it seems impossible to make the isapi module work, > I'm going to try > > running Apache on a separate port so that I can get the > Plogon functions > > from the OCI8 module to work. Is anyone else doing something > > like this? I > > remember 'someone' running both IIS and Apache on a server and > > having Apache > > listen to a specific port, but I don't remember who. If > anyone has some > > experience with this, could you drop me a note? Thanks, John > > Plogon? As in: > > http://www.php.net/manual/en/function.ora-plogon.php > > Why start up Apache to do that when you can hit it via php cgi? > > > P.S. Has someone added a function called format_phone to > PHP? I keep > > getting a "Cannot redeclare..." error on a function I have called > > format_phone... > > Nope. Double check your function's code. There might be > something in there > that's gumming up the works. If you don't see anything wrong > with it drop it > out to list. > > Hope this helps, > - Erik > > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net > For additional commands, e-mail: php-windows-help@lists.php.net > To contact the list administrators, e-mail: > php-list-admin@lists.php.net >

« previous php.windows (#9493) next »