hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Software and Control Panels : Php Compiler
Reply

Forum Jump

Php Compiler

Reply Post New Thread In Hosting Software and Control Panels Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 04-04-2001, 10:11 AM
NHosting NHosting is offline
Newbie
 
Join Date: Nov 2000
Posts: 28
Question

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





Sponsored Links
  #2  
Old 04-04-2001, 02:13 PM
Ricky_1 Ricky_1 is offline
Newbie
 
Join Date: Jan 2001
Posts: 21
Cool

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

  #3  
Old 04-05-2001, 10:41 AM
NHosting NHosting is offline
Newbie
 
Join Date: Nov 2000
Posts: 28
Talking

Thank you!

NHosting

Sponsored Links
  #4  
Old 04-07-2001, 12:59 AM
Matt Lightner Matt Lightner is offline
Web Hosting Master
 
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.com

__________________
Matt 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

  #5  
Old 04-07-2001, 02:21 AM
NHosting NHosting is offline
Newbie
 
Join Date: Nov 2000
Posts: 28
Unhappy

I see, thank you.
Is it the only one encoder ? Isn't there anything else ? 2500$ is too high in my opinion.

NHosting

  #6  
Old 04-07-2001, 02:23 AM
Matt Lightner Matt Lightner is offline
Web Hosting Master
 
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.com

__________________
Matt 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

  #7  
Old 04-07-2001, 06:52 PM
Travis Travis is offline
Web 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.


Reply

Related posts from TheWhir.com
Title Type Date Posted


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?