|
|
|
@ -14,13 +14,15 @@ Zephir/aes-loader/hydraterbootloader/hydraterbootloader/ |
|
|
|
``` |
|
|
|
``` |
|
|
|
# Installing Zephir on DEV BOX ONLY |
|
|
|
# Installing Zephir on DEV BOX ONLY |
|
|
|
To INSTALL Zephir & Parser, see the websites: |
|
|
|
To INSTALL Zephir & Parser, see the websites: |
|
|
|
|
|
|
|
``` |
|
|
|
https://github.com/zephir-lang/php-zephir-parser |
|
|
|
https://github.com/zephir-lang/php-zephir-parser |
|
|
|
https://docs.zephir-lang.com/latest/installation/ |
|
|
|
https://docs.zephir-lang.com/latest/installation/ |
|
|
|
|
|
|
|
``` |
|
|
|
Follow their instructions, install/enable the Parser library for PHP, add to your php.ini files [NOTE: .so files are Linux..., .dll are Windows]: |
|
|
|
Follow their instructions, install/enable the Parser library for PHP, add to your php.ini files [NOTE: .so files are Linux..., .dll are Windows]: |
|
|
|
|
|
|
|
``` |
|
|
|
[Zephir Parser] |
|
|
|
[Zephir Parser] |
|
|
|
extension=zephir_parser.so |
|
|
|
extension=zephir_parser.so |
|
|
|
|
|
|
|
``` |
|
|
|
# Building the Extensions |
|
|
|
# Building the Extensions |
|
|
|
``` |
|
|
|
``` |
|
|
|
$ cd /usr/share/php/CodeHydrater/Zephir/aes-license/hydraterlicense |
|
|
|
$ cd /usr/share/php/CodeHydrater/Zephir/aes-license/hydraterlicense |
|
|
|
@ -37,7 +39,7 @@ AS long as your PROD Environment has the same system Architecture IE 64bit Linux |
|
|
|
zephir_parser and hydraterbootloader, to work for Encrypted Features to work. |
|
|
|
zephir_parser and hydraterbootloader, to work for Encrypted Features to work. |
|
|
|
If not using this then do not worry about zephir nor the bootloader... |
|
|
|
If not using this then do not worry about zephir nor the bootloader... |
|
|
|
## DEV will need: |
|
|
|
## DEV will need: |
|
|
|
Running Zephir gives you these Shared Object files, add them to your php.ini files (Examples: /etc/php/8.4/cli/php.ini and /etc/php/8.4/fpm/php.ini: |
|
|
|
Running Zephir gives you these Shared Object files, add them to your php.ini files (Examples: /etc/php/8.4/cli/php.ini and /etc/php/8.4/fpm/php.ini): |
|
|
|
``` |
|
|
|
``` |
|
|
|
[Zephir Parser] |
|
|
|
[Zephir Parser] |
|
|
|
extension=zephir_parser.so |
|
|
|
extension=zephir_parser.so |
|
|
|
@ -47,6 +49,8 @@ extension=hydraterbootloader.so |
|
|
|
# Update your Secret PHP Files on DEV BOX only |
|
|
|
# Update your Secret PHP Files on DEV BOX only |
|
|
|
``` |
|
|
|
``` |
|
|
|
$ cd /var/www/ProjectCodeHydrater/protected/src/secret_php_files |
|
|
|
$ cd /var/www/ProjectCodeHydrater/protected/src/secret_php_files |
|
|
|
|
|
|
|
Create you .php files inside of this DIR to keep them Secret. |
|
|
|
|
|
|
|
|
|
|
|
Each file should correspond with the Array_For_Files inside of make_license.php |
|
|
|
Each file should correspond with the Array_For_Files inside of make_license.php |
|
|
|
Don't Ship these secret_php_files, they do not belong on PROD!!!! |
|
|
|
Don't Ship these secret_php_files, they do not belong on PROD!!!! |
|
|
|
``` |
|
|
|
``` |
|
|
|
@ -54,9 +58,14 @@ The .php file names [in secret_php_files folder] must match the .aes file names! |
|
|
|
# Make a new License File and AES data |
|
|
|
# Make a new License File and AES data |
|
|
|
``` |
|
|
|
``` |
|
|
|
$ cd /var/www/ProjectCodeHydrater/protected/cli |
|
|
|
$ cd /var/www/ProjectCodeHydrater/protected/cli |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
EDIT the make license file: |
|
|
|
|
|
|
|
$ nano make_license.php |
|
|
|
|
|
|
|
RUN IT: |
|
|
|
$ php make_license.php |
|
|
|
$ php make_license.php |
|
|
|
``` |
|
|
|
``` |
|
|
|
That will generate both keydata and aes files and folders! |
|
|
|
That will generate both keydata and aes files and folders! |
|
|
|
|
|
|
|
|
|
|
|
# Do Ship to PROD the keydata and aes folders: |
|
|
|
# Do Ship to PROD the keydata and aes folders: |
|
|
|
``` |
|
|
|
``` |
|
|
|
/var/www/ProjectCodeHydrater/protected/keydata [Folder and files]. |
|
|
|
/var/www/ProjectCodeHydrater/protected/keydata [Folder and files]. |
|
|
|
|