Simple Machines Community Forum

Archived Boards and Threads... => Archived Boards => SMF Feedback and Discussion => Aiheen aloitti: Maksud - maaliskuu 06, 2006, 08:56:58 AP

Otsikko: Compiling simple machines forum
Kirjoitti: Maksud - maaliskuu 06, 2006, 08:56:58 AP
Hello, everybody!!

Is there a way to compile php script on which simple machines forum runs? What I mean is I want to make it work not interpreted but like executable.

Thanks in advance
Otsikko: Re: Compiling simple machines forum
Kirjoitti: Dannii - maaliskuu 07, 2006, 02:28:25 AP
That's not how php works. If you run cache programs it won't interpret it every page view though, which will increase performance a lot.
Otsikko: Re: Compiling simple machines forum
Kirjoitti: H - maaliskuu 07, 2006, 11:36:23 AP
You really need to explain what you want more.

SMF is not standalone, it needs a webserver.

However it would be possible to run it with a standalone webserver so it can be distributed, but that would make no sense
Otsikko: Re: Compiling simple machines forum
Kirjoitti: Kindred - maaliskuu 07, 2006, 12:59:00 IP
except for the fact that the SMF license does not allow re-distribution...


Maksud, I don't think you quite understand how php works. 

PHP is a run-time SERVER-SIDE langauge. It is processed on every page access and an HTML page is generated from the process. All the CLIENT receives is straight HTML.

This is the opposite of javascript which is a run-time CLIENT-SIDE langauge and is sent along with the HTML and processed on the client's machine.