Hi Ashkar,
PHP License applied to PHP source code and binaries. It is not applied to applications you have created using PHP.
Let me try to answer your questions.
Can you sell applications written using PHP?
Yes, you can. You can even encrypt your code using many third-party encoders available.
Is it legal to prevent the buyer from reselling it?
Yes, It is perfectly legal to prevent buyer from reselling it. (At least legally), on technically front, you may need to do lots of other work to prevent such activities. Encryption of code is one of them.
How PHP License is applicable?
PHP license is only applicable if you are bundling PHP source code with it. For example, it can be applicable to applications like WAMP or XAMP because they have PHP code with it, but it can not be applicable to PHPMyAdmin. PHPMyAdmin has been written in PHP Language, it does not ship PHP source code with it.
We also need to understand that earlier PHP was released under GPL license which is kind of restrictive about such activities, at a later stage, a better open-source approach (Apache style) license was adopted.
I hope, I was able to clear your doubt, feel free to shoot more questions. PHP community will be more than happy to help you understand them.
A disclaimer :
I am not a legal expert, please consult your legal team before taking any legal decision.
On Mon, Sep 16, 2019 at 3:32 AM Ashkar Dev <ashkardev@xxxxxxxxx> wrote:
Hi, what is these Licenses is about, is it about the software or a thing that PHP developed, or its on whats developed by it? for example PHP is the License on a web app that I created with it or PHP itself? is it legal to sell PHP Web Application that means it is developed by PHP, is it legal to prevent the buyer from reselling it?
with proof
PHP License:
https://www.php.net/license/index.php
Thanks