I installed zephir OK (0.3.7a) and run the test, and got error as follows:
[root@vmlinux64 test]# zephir build PHP Warning: system() has been disabled for security reasons in /usr/local/lib64/zephir/Library/CompilerFile.php on line 107 PHP Warning: file_get_contents(.temp/0.3.7a/_root_test_test_Hello.zep.js): failed to open stream: No such file or directory in /usr/local/lib64/zephir/Library/CompilerFile.php on line 110 Zephir\Exception: Cannot parse file: /root/test/test/Hello.zep
I run zephir help
is ok. 0.3.7a .
and I do like this:
$ zephir test
$ cd test/test/
$ vim Hello.zep
in Hello.zep
:
namespace Test;
class Hello
{
public function say()
{
echo "hello from test";
}
}
and save it, then go to ../
and run zephir build
the errors popped as above ...
I installed lnmp-1.0-full on my centOS6.5_x86_64, php version is 5.3.17.
Thanks in advance!