Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is It Possible to Make Close Sourced PHP Product? [closed]

I'm curious that whether all PHP product must be open sourced if it is to be deployed to other's web site. Since PHP code is executed by interpretation, if I have PHP product to be deployed on other's host, it seems no reason to prevent others view the source code.

So, PHP product is destined to be open source, right?

To be more precise, suppose I make a PHP blog system. I'd like to sale this product to some blog hosting company. Is it true that I cannot prevent them from viewing my source code if they buy it?

like image 700
Morgan Cheng Avatar asked Apr 30 '10 15:04

Morgan Cheng


People also ask

Can an open source project become closed?

Yes, it is possible to make an open source project into a closed source project. The copyright holder can change the license of a project at any time, or cease to distribute source code of new releases.

Is PHP closed source?

PHP (recursive acronym for PHP: Hypertext Preprocessor ) is a widely-used open source general-purpose scripting language that is especially suited for web development and can be embedded into HTML.

Why you would opt for open source over closed source?

With closed source software (also known as proprietary software), the public is not given access to the source code, so they can't see or modify it in any way. But with open source software, the source code is publicly available to anyone who wants it, and programmers can read or change that code if they desire.


2 Answers

Open source is about the license to get the source code and not about the ability to view it ... Even with compiled languages it is possible to extract source code - which does not make the code open source automatically - but any open source license can even turn this binary code into open source.

like image 121
tanascius Avatar answered Sep 20 '22 23:09

tanascius


Yes, it is possible. Zend Guard can encrypt your source code. The server then simply needs to use the Zend Optimizer to be able to execute your application

I've never tried it though, so I have no experience.

like image 45
Dan Soap Avatar answered Sep 20 '22 23:09

Dan Soap