![]() |
Compiling PHP?
What exactly is compiling PHP?
I cant find anything on google. |
Dunno if this helps. This is a dictionary term, that leans more in the direction of desktop programming.
Quote:
|
Compiling PHP is the way you install it on your computer..
|
You write your source code. You upload it to your server. It runs. That's it.
It's not like C where you write source code, then compile to create a standalone executable, then run that. |
Quote:
|
Generally when one speaks of compiling PHP, the context is in terms of taking the source code for PHP itself ("Complete Source Code" on the PHP download page) and running a series of programs from the command line to create the PHP executable. That process of going from raw source code into an executable/binary program is compilation. The compiled program (php on linux/unix, php.exe on windows) is what interprets/runs all of our PHP code.
Are you looking to compile PHP yourself, or just looking to see what it's about because you didn't understand the meaning? |
Quote:
Because YOU don't compile it. The server does so, but only when requested to run it. A separate compiled version doesn't exist (except in memory), unlike with C. Glad we agree on that. |
Oh, that is a very good thing O.o
The first language I learned (or tried to learn) was CPP, and I stopped trying because Dev-CPP didn't work for me, and it was the only free compiler that I knew of. |
Quote:
|
Everything O.o.
The thing would never compile properly. It opened up a DOS prompt and closed it like instantly, and that was what happened. No .exe or anything. |
| All times are GMT. The time now is 02:40 PM. |
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0