File tree Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Original file line number Diff line number Diff line change 33
33
tools : composer:v2
34
34
coverage : none
35
35
36
+ - name : Verify ionCube Loader
37
+ run : |
38
+ echo "Checking ionCube Loader installation..."
39
+ php -m | grep -i ioncube || {
40
+ echo "ionCube Loader not found, installing manually..."
41
+
42
+ # Download ionCube Loaders
43
+ wget -O ioncube.tar.gz https://downloads.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.tar.gz
44
+ tar -xzf ioncube.tar.gz
45
+
46
+ # Get PHP version info
47
+ PHP_VERSION=${{ matrix.php }}
48
+ PHP_EXT_DIR=$(php -r "echo ini_get('extension_dir');")
49
+ PHP_INI_DIR=$(php --ini | grep "Scan for additional" | cut -d: -f2 | xargs)
50
+
51
+ # Copy the loader
52
+ sudo cp ioncube/ioncube_loader_lin_${PHP_VERSION}.so $PHP_EXT_DIR/
53
+
54
+ # Create ionCube configuration file
55
+ echo "zend_extension=ioncube_loader_lin_${PHP_VERSION}.so" | sudo tee $PHP_INI_DIR/00-ioncube.ini
56
+
57
+ echo "ionCube Loader installed successfully"
58
+ }
59
+
60
+ # Final verification
61
+ echo "ionCube Loader status:"
62
+ php -m | grep -i ioncube
63
+
36
64
- name : Install dependencies
37
65
run : |
38
66
composer update --prefer-dist --no-interaction --no-progress --with="illuminate/contracts=^${{ matrix.laravel }}"
You can’t perform that action at this time.
0 commit comments