PHP Manuals - Was -> [PHP] Apache on Linux vs. IIS on W2K

From: Date: Sat, 17 Feb 2001 15:59:54 +0000
Subject: PHP Manuals - Was -> [PHP] Apache on Linux vs. IIS on W2K
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-40350@lists.php.net to get a copy of this message
That figures :) I was using Off-Line manual I downloaded from PHP.net homepage and that note is not in it, but it's well documented in the On-Line Manual :) Thanks! SED -----Original Message----- From: Alexander Wagner [mailto:wagner@globalpark.de] Sent: 17. febrúar 2001 15:07 To: SED; php-general@lists.php.net Subject: Re: [PHP] Apache on Linux vs. IIS on W2K 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 (#40350) next »