PHP Question

Does using PHP on the server side mean that you are NOT using something like Apache ?  Is it a different animal?

Thanks
Anthony LuciaAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Dave BaldwinFixer of ProblemsCommented:
PHP is a server side programming language, not a web server.  It requires a web server to run on to deliver web pages.  It will run on almost any web server.  I have it running here on Apache, IIS, and nginx.  Although IIS is strictly Windows, Apache and nginx will run on Windows, Linux, and Macs and other systems that you may never have heard of.  And so will PHP although for some exotic systems, they may have to compile their own version.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
F PCommented:
A bit much, but thorough,

PHP is an interpreted scripting language. It isn't compiled, but rather has a compiled C application which interprets what your PHP code tells it to do. There are some languages out there that compile PHP into C extensions, such as PHPNG, Phalcon, or HHVM with the Java JIT (Just-In-Time) compiler and make PHP even faster than what it is now. Apache, or whatever web server platform your using, does have integration points that pass data to the PHP as the request is fulfilled, and that is where the the super global $_SERVER array variables are stored.

PHP, the language's compiled binaries themselves, is compiled in C (and C++), and all binaries themselves are available to be downloaded from php.net. Once downloaded you can compile the binaries on any system's architecture whose kernel supports the C language. The installation of PHP is usually done in Windows with precompiled binaries, and most people are familiar with actually using precompiled objects instead of running the compiler on their system from scratch. This is why it's important to never use PHP binaries from an untrusted source and verify the checksum before using them to prevent malicious or incomplete/broken code from executing when you execute PHP.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
PHP

From novice to tech pro — start learning today.