Skip to content

A convenient PHP script that automates the entire process of downloading, extracting, and installing the latest IonCube and SourceGuardian loaders on Linux x86-64 systems. It detects your PHP version and thread safety mode, fetches the correct loader files, installs them, and configures PHP automatically.

License

Notifications You must be signed in to change notification settings

BaseMax/php-installer-ioncube-sourceguardian

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

php-installer-ioncube-sourceguardian

php-installer-ioncube-sourceguardian is a PHP script that automates downloading, extracting, and installing the latest IonCube and SourceGuardian loaders for PHP on Linux x86-64 systems.

It simplifies the process of enabling these widely-used PHP encoders' loaders by fetching the appropriate loader versions for your current PHP installation.


Features

  • Automatically detects your PHP version and thread safety (ZTS/non-ZTS).
  • Downloads the correct IonCube and SourceGuardian loaders.
  • Extracts and installs loaders to your PHP extension directory.
  • Generates .ini configuration files to enable loaders.
  • Cleans up temporary files after installation.
  • Supports Linux x86-64 architecture.

Requirements

  • PHP 7.x or 8.x installed on a Linux x86-64 system.
  • PHP CLI access with permissions to write to the PHP extension directory and PHP config directory (conf.d).
  • PHP Phar extension enabled (required for archive extraction).

Usage

  1. Clone or download this repository.
  2. Run the installer script from the command line:
php install_loaders.php

The script will automatically detect your PHP version and install the matching IonCube and SourceGuardian loaders.


Loader JSON URLs

The script fetches loader information from the following JSON data sources:

  • IonCube Loaders: https://basemax.github.io/ioncube-loaders-linux-x86-64/data.json

  • SourceGuardian Loaders: https://basemax.github.io/sourceguardian-loader-linux-x86-64/data.json


Related Repositories


Notes

  • This script assumes the PHP extension directory and configuration directory are writable.
  • Tested primarily on Linux x86-64 with PHP 7.x and 8.x.
  • Please run with appropriate permissions (e.g., sudo) if necessary.

If you encounter any issues or have feature requests, please open an issue in this repository.


License

This project is licensed under the MIT License. © 2025 Max Base


Author

Max Base https://github.com/BaseMax


Thank you for using php-installer-ioncube-sourceguardian!

Happy PHP encoding 😊

About

A convenient PHP script that automates the entire process of downloading, extracting, and installing the latest IonCube and SourceGuardian loaders on Linux x86-64 systems. It detects your PHP version and thread safety mode, fetches the correct loader files, installs them, and configures PHP automatically.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages