Re: Apache on Linux vs. IIS on W2K

From: Date: Sat, 17 Feb 2001 15:06:31 +0000
Subject: Re: Apache on Linux vs. IIS on W2K
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-40345@lists.php.net to get a copy of this message
SED wrote: > $foo = round (1.95583, 0); > > When I saved the code on a different server, Apache on Linux, I got > this error up: > > Warning: Wrong parameter count for round() ... bla, bla A look into the manual reveals: "Note: The precision parameter is only available in PHP 4." Looks like your Apache is running PHP 3. > So the question is, why is this acting like this? (When I meet "pro" > they say Apache, Linux e.g.. is the best, and curse the IIS and W2K, > but at this time I would say it's a myth..) Well, LAMP and IIS should at least meet on equal ground. You just can't compare two servers, when they are running different versions of PHP or have different configurations in php.ini. regards Wagner -- Three may keep a secret, if two of them are dead.

« previous php.general (#40345) next »