Hello laruence,
I'm pretty new to the linux world but I gave it a try at installing php-lua in order to play with some lua scripts in laravel.
I create a simple php file :
$lua = new Lua();
$lua->assign("php_var", array(1=>1, 2, 3));
var_dump($lua->php_var);
If I launch it from linux terminal, I get the correct output.
When trying the same code inside a laravel class, I get the following message : "Class 'Lua' not found".
Do you know if there is some extra setup steps required to make it work with laravel ? I added extension=lua.so to php.ini file.
Thank you !
Hello laruence,
I'm pretty new to the linux world but I gave it a try at installing php-lua in order to play with some lua scripts in laravel.
I create a simple php file :
$lua = new Lua();
$lua->assign("php_var", array(1=>1, 2, 3));
var_dump($lua->php_var);
If I launch it from linux terminal, I get the correct output.
When trying the same code inside a laravel class, I get the following message : "Class 'Lua' not found".
Do you know if there is some extra setup steps required to make it work with laravel ? I added extension=lua.so to php.ini file.
Thank you !