Is it possible to make a product with close PHP source code?

I am curious if the whole PHP product should be open if it is deployed to another website. Since the PHP code is executed by interpretation, if I have a PHP product to deploy on a different host, there seems to be no reason to prevent others from viewing the source code.

So, the PHP product is intended for open source, right?

To be more precise, suppose I am creating a PHP blog system. I would like to sell this product to some hosting company. Is it true that I cannot stop them from viewing my source code if they buy it?

+5
source share
5 answers
+1

Open source , , , ... , , .

+7

" ". , . .

.

+2

.

, " " , , , .

. , . , , . , ( ).

0

, :

exec(base64_decode(''));

Although he is not “perfect,” he can hide it from curious viewers. However, I would not recommend hiding your code. If you do this in open source products, the application must also be open source. Just pat the license on it.

0
source

All Articles