Can I encrypt PHP source or compile it so others can't see it? and how?

前端 未结 7 658
无人及你
无人及你 2020-11-29 06:56

I need to encrypt some PHP source that I\'ve released to the public.

Is this possible? Can PHP be \"compiled\" ?

7条回答
  •  囚心锁ツ
    2020-11-29 07:42

    You can buy Zend Guard to encode your PHP sources, and then use the Zend Optimizer to run it. There is an opensource/free PHP compiler project as well (bcompiler, and also take a look to this) but I never used it because at the time I needed it the project was still incomplete.

提交回复
热议问题