473,396 Members | 1,929 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

compiling php scripts - does it really work?

I am confused regarding the status of development for converting php
scripts into compiled, distributable files. Can anyone provide a
summary of the current situation?

I have a set of about 200 php scripts that all work together to create
a CMS-like system. I've worked a long time on those scripts, and they
will, hopefully, someday make a living for my family, but I need to
take measures that to protect the code. It seems to me that the best
way to do that is to put all the scripts into a single, compiled
executable and run that on the server, instead of the human-readable
php.

Is this possible, and, if so, what are the best tools for the job?
Jun 2 '08 #1
3 1386
On 20 Apr, 20:41, firewoodtim <firewood...@cavtel.netwrote:
I am confused regarding the status of development for converting php
scripts into compiled, distributable files. Can anyone provide a
summary of the current situation?

I have a set of about 200 php scripts that all work together to create
a CMS-like system. I've worked a long time on those scripts, and they
will, hopefully, someday make a living for my family, but I need to
take measures that to protect the code. It seems to me that the best
way to do that is to put all the scripts into a single, compiled
executable and run that on the server, instead of the human-readable
php.

Is this possible, and, if so, what are the best tools for the job?
Yes - but be warned there are lots of PHP obfuscators out there
masquerading as compilers/proper encryptors. As such they will slow
down your code significantly.

I only have experience of the bad sort - but hope that Zend Guard or
Turck encoder might do a better job.

C.
Jun 2 '08 #2
NC
On Apr 20, 12:41 pm, firewoodtim <firewood...@cavtel.netwrote:
>
I am confused regarding the status of development for converting php
scripts into compiled, distributable files. Can anyone provide a
summary of the current situation?
There are commercial PHP compilers that do not rely on Zend engine:

http://www.roadsend.com/home/index.php?pageID=compiler
http://www.php-compiler.net/

(The last one is Windows-only)
I have a set of about 200 php scripts that all work together to create
a CMS-like system. I've worked a long time on those scripts, and they
will, hopefully, someday make a living for my family,
That, in my opinion, is not likely to happen. To pull it off, you
need
either a Microsoft-size marketing machine (which they use to sell
SharePoint) or a razor-sharp focus on a well-defined market niche (in
which case you still need a boatload of money; witness SugarCRM
raising
another $20 million in February, which brings the total funding
raised
from outside sources to $46 million).
but I need to take measures that to protect the code.
If you do that, your target audience is automatically limited to
those
with dedicated servers; you can't run an executable on a shared
server.

Rather than play "code protection" games, consider versioning. Give
away the "Community Edition", sell the "Professional Edition" for
deployment on customers' hardware (with an option to buy a
preconfigured
"appliance"), and offer the "Enterprise Edition" strictly as a hosted
solution.

Cheers,
NC
Jun 2 '08 #3
On Sun, 20 Apr 2008 15:41:32 -0400, in comp.lang.php firewoodtim
<fi*********@cavtel.net>
<qe********************************@4ax.comwrote :
>| I am confused regarding the status of development for converting php
| scripts into compiled, distributable files. Can anyone provide a
| summary of the current situation?
|
| I have a set of about 200 php scripts that all work together to create
| a CMS-like system. I've worked a long time on those scripts, and they
| will, hopefully, someday make a living for my family, but I need to
| take measures that to protect the code. It seems to me that the best
| way to do that is to put all the scripts into a single, compiled
| executable and run that on the server, instead of the human-readable
| php.
|
| Is this possible, and, if so, what are the best tools for the job?
Have a look at:
http://www.nusphere.com/products/nucoder.htm
http://www.nusphere.com/products/phpexpress.htm
-- -------------------------------------------------------------
jn******@yourpantsyahoo.com.au : Remove your pants to reply
-- -------------------------------------------------------------
Jun 2 '08 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: David W. Fenton | last post by:
Today I was working on a hideous old app that I created a long time ago that does a lot of showing/hiding/resizing of fields on one of the forms. I had used constants to store reference values for...
7
by: Clint Herron | last post by:
Howdy! I posted this question on CSharpCorner.com, but then realized I should probably post it on a more active newsgroup. This will be my only cross-post. I'm creating a game engine, and...
1
by: Mike Hutton | last post by:
I need some help. I am trying to set up our development environment so as to make life easy for my fellow developers (none of whom have used ASP.NET or VS.NET before). We are developing our...
45
by: Pat | last post by:
its seems asp.net validation doesn't fire when using FireFox? Tested a page and it doesn't fire. It seems the javascript doesn't fire Any ideas?
0
by: Kirt Loki Dankmyer | last post by:
So, I download the latest "stable" tar for perl (5.8.7) and try to compile it on the Solaris 8 (SPARC) box that I administrate. I try all sorts of different switches, but I can't get it to compile....
0
by: phoolimin | last post by:
Dear all, I am trying to embed python into another scripting language, to do this I need to solve a number of problems on importing or compiling python script. First let me state what exactly I...
8
by: WebSnozz | last post by:
I have an application written in C that does a lot of low level stuff. It does a lot of things like casting from void*'s. I want to create a new GUI for it in either C# or MC++, but reuse the...
2
by: giovannifreda | last post by:
I am new to python and I am wondering if there is a way to take a python script and turn it into an object of some kind such that the python system doesn't have to take the script and compile it down...
10
by: Tomás Ó hÉilidhe | last post by:
I'd post this on a gcc newsgroup but I'd be more productive talking to the wall. Anyway, let's say someone throws some source code at you for a particular program and says, "Just compile it, it...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.