Home >Backend Development >PHP Problem >How to compile exe for programs written in php

How to compile exe for programs written in php

爱喝马黛茶的安东尼
爱喝马黛茶的安东尼Original
2019-09-28 09:41:098187browse

How to compile exe for programs written in php

PHP packager application scenario: After completing the website program, publish it to users, but do not want to leak the source code, you can choose "encapsulate source code to generate EXE file", it is recommended to use zend before encapsulation Waiting for the encrypted code can provide double insurance. The other party needs to crack the website source code while cracking the software. It is quite a test for the cracker's knowledge system, because it involves related knowledge such as operation and maintenance, programming, decompilation, zend encryption cracking, software cracking, and PHPWAMP has its own anti-cracking function, which will automatically destroy the software after being cracked.

PHPWAMP's commonly used tool "PHP website packaging tool" can package a PHP website with one click, or generate a single EXE executable file from a PHP website.

The software can be downloaded by searching "PHPWAMP" on Baidu, or it can be downloaded from the Baidu software library. Currently, the Baidu software library has been downloaded nearly 300,000 times.

How to compile exe for programs written in php

Notes on downloading: Do not click on high-speed download when downloading (clicking on high-speed download will download to Baidu Family Bucket), please click on normal download, or you can log in to the official website to download. Just search PHPWAMP on Baidu.

Related recommendations: "php Getting Started Tutorial"

After the download is completed, we can start using PHPWAMP's built-in PHP website packager.

The case of generating an EXE file for a website with one click is as follows:

1. Open PHPWAMP and click "PHP Website Packaging Tool" under Common Tools. It is recommended to use the latest version software, you can download it from the official website.

How to compile exe for programs written in php

2. Select the root directory of your website and the PHP version your website requires, and then select the WEB server. When selecting, you can customize the PHP and Mysql versions ( 32-bit/64-bit PHP versions can be added at will)

How to compile exe for programs written in php

Special note: Do not choose the PHP version randomly, you must know which version of PHP is suitable for your website program .

Warning: It must be configured normally in the phpwamp site management. The exe generation function can only be used after the website can run normally. The database and PHP and other related versions used in the generated EXE file are the same as those in the site management.

3. The WEB server is selected by default as Apache. If you want to run it under Nginx, you can also choose Nginx.

How to compile exe for programs written in php

4. The Mysql version is the database version selected on the current main interface. After the selection is correct, you can click "Simple Generate Website Package" to generate it.

Note: After selecting the exe generated by "Simple Generate Website Package", others can view the source code of your website. If you don't want to be viewed, please continue reading.

How to compile exe for programs written in php

#5. If you don’t want the other party to view the source code of our packaged PHP website, you can choose “Encapsulate source code to generate EXE file” in the previous step.

How to compile exe for programs written in php

The above is the detailed content of How to compile exe for programs written in php. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Related articles

See more