PHP is a popular general-purpose scripting language that powers everything from your blog to the most popular websites in the world.
>
What's up with the "non-thread-safe" binaries? What exactly
does non-thread-safe mean? And what are the benefits/faults?
>
And finally, is PHP run by Microsoft? There are no Linux/Unix
binaries?
>
Thanks.
>
--
Jim Carlock
Post replies to the group.
The only the CGI/FastCGI portion of the non-thread-safe version will
work correctly. None of the in-process modules (Apache 2, ISAPI, etc)
will function correctly, since web servers on Windows are always
multithreaded.
Not building thread-safety into the binary means better performance,
as the way it's done in PHP isn't terribly inefficient. Whether it's
worth the confusion this will create is debatable.
And finally, is PHP run by Microsoft? There are no Linux/Unix
binaries?
Providing binaries for "Linux/Unix" opens up a huge can of worms. Take a
look at a variety of Linux distributions. You'll find:
- the version of Apache varies between them;
- the versions of major libraries vary between them;
- they support different architectures (x86, Sparc, PowerPC, etc)
A single PHP binary build could not work universally on all Linux
distributions because of these variables. So you have two options:
1. Download the source and build it yourself; or
2. Get a binary copy of PHP from your Linux distribution -- the
vast majority of distros include at least one version of PHP.
(Many contain both PHP 4 *and* 5.)
"Jim Carlock" <anonymous@127. 0.0.1wrote in message
news:4640b27f$0 $8933$4c368faf@ roadrunner.com. ..
And finally, is PHP run by Microsoft? There are no Linux/Unix
binaries?
My goodness, no! It's open source, baby! There are no binaries because all
*nix users are supposed to know how to download the source and compile the
binary. Windows users, on the other hand, are supposedly too dumb to know
how to compile the source, hence the pre-compiled binaries.
I've no idea how to compile from source. When I installed php in my Kubuntu,
I just used Adept, cos I'm all thumbs with command line.
Comment