Results 1 to 7 of 7
Thread: Php Compiler
-
04-04-2001, 10:11 AM #1Newbie
- Join Date
- Nov 2000
- Posts
- 28
Hi,
Do you know if there is a php compiler ?
I need to compile a php script to execute it via shell.
Thank you
NHosting
-
04-04-2001, 02:13 PM #2Newbie
- Join Date
- Jan 2001
- Posts
- 21
You can execute a text-only browser from the shell, I use Lynx to execute PHP scripts from the shell and with cron jobs.
Try this way:
TERM=xterm; export TERM; /usr/bin/lynx -source - "http://www.yourdomain.com/script.php"
Bye
Ricky
-
04-05-2001, 10:41 AM #3Newbie
- Join Date
- Nov 2000
- Posts
- 28
Thank you!
NHosting
-
04-07-2001, 12:59 AM #4Eternal Member
- Join Date
- Sep 2000
- Posts
- 851
There is indeed a compiler available for PHP... It's called Zend Encoder.
http://zend.com/store/products/zend-encoder.php
Not cheap, however useful if you plan on selling PHP programs and don't want to worry about your code getting ripped off.
Best Regards,
Matt Lightner
mlightner@site5.comMatt Lightner - http://www.mattlightner.com/
- First initial to the last name at the mail service provided by the world's largest search engine
- Founder and CEO (Former) Site5.com, sold in 2008
- Really honestly wants to be a good WHT citizen but can never remember all the correct etiquette. Mods, sorry in advance
-
04-07-2001, 02:21 AM #5Newbie
- Join Date
- Nov 2000
- Posts
- 28
I see, thank you.
Is it the only one encoder ? Isn't there anything else ? 2500$ is too high in my opinion.
NHosting
-
04-07-2001, 02:23 AM #6Eternal Member
- Join Date
- Sep 2000
- Posts
- 851
The only one that I'm aware of... yes. I really think someone should (and will) make a GPL version of it.
Best Regards,
Matt Lightner
mlightner@site5.comMatt Lightner - http://www.mattlightner.com/
- First initial to the last name at the mail service provided by the world's largest search engine
- Founder and CEO (Former) Site5.com, sold in 2008
- Really honestly wants to be a good WHT citizen but can never remember all the correct etiquette. Mods, sorry in advance
-
04-07-2001, 06:52 PM #7Web Hosting Guru
- Join Date
- Oct 2000
- Posts
- 337
One thing nobody has mentioned is that PHP can be compiled as a CGI. Once you do this, you can use the CGI binary to run scripts from the shell just like you would for Perl. In fact, you can even set the script executable and put a:
#! /path/to/php
..at the top and run it directly, like any Perl script.