Use custom php binary for embedding PHP

cyberda

Verified User
Joined
Oct 20, 2020
Messages
22
Location
Spain
Hello:

I have a variable for storing the PHP path:
|?COMP_PHP_PATH=/usr/bin/php|

And I use it in all scripts where I need it:
|$|COMP_PHP_PATH|
<?php
...
?>
DONE|

It works well, but it's not useful for admin/license.html, because it throws errors:
/bin/sh: -c: line 0: syntax error near unexpected token `|'
/bin/sh: -c: line 0: `|COMP_PHP_PATH|'

Do you know how can I customize the path of the PHP binary in the admin/license.html script?

Thank you.
 
Back
Top