timmerdanny
Verified User
- Joined
- Apr 2, 2014
- Messages
- 14
Hello DirectAdmin forum,
I configured my VPS with two versions of php.
First PHP version: 7.0
Second PHP version: 5.6
A customer want's to have cronjobs working with php version 5.6, but cronjob instead of using version 5.6 cronjob uses the primary php version.
I call the cronjob with the command:
/usr/local/bin/php /home/user/domains/domain.ext/public_html/script.php
See error:
The file /home/web9/domains/web9.nl/private_html/Pro/cronjob.php was encoded by the ionCube Encoder for PHP 5.3 and cannot run under PHP 7.0.
Please ask the provider of the script to provide a version encoded with the ionCube Encoder for PHP 5.6. in Unknown on line 0
I configured my VPS with two versions of php.
First PHP version: 7.0
Second PHP version: 5.6
A customer want's to have cronjobs working with php version 5.6, but cronjob instead of using version 5.6 cronjob uses the primary php version.
I call the cronjob with the command:
/usr/local/bin/php /home/user/domains/domain.ext/public_html/script.php
See error:
The file /home/web9/domains/web9.nl/private_html/Pro/cronjob.php was encoded by the ionCube Encoder for PHP 5.3 and cannot run under PHP 7.0.
Please ask the provider of the script to provide a version encoded with the ionCube Encoder for PHP 5.6. in Unknown on line 0