You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PHP Warning: PHP Startup: Unable to load dynamic library './hello.so' - dlopen(./hello.so, 9): Symbol not found: _zval_used_for_init
Referenced from: ./hello.so
Expected in: flat namespace
in ./hello.so in Unknown on line 0
Warning: PHP Startup: Unable to load dynamic library './hello.so' - dlopen(./hello.so, 9): Symbol not found: _zval_used_for_init
Referenced from: ./hello.so
Expected in: flat namespace
in ./hello.so in Unknown on line 0
PHP Fatal error: Uncaught Error: Call to undefined function foo_hello() in /Users/robbin/go/src/github.com/kitech/php-go/examples/hello.php:5
Stack trace:
#0 /Users/robbin/go/src/github.com/kitech/php-go/examples/hello.php(58): test_funcs()
#1 {main}
thrown in /Users/robbin/go/src/github.com/kitech/php-go/examples/hello.php on line 5
Fatal error: Uncaught Error: Call to undefined function foo_hello() in /Users/robbin/go/src/github.com/kitech/php-go/examples/hello.php:5
Stack trace:
#0 /Users/robbin/go/src/github.com/kitech/php-go/examples/hello.php(58): test_funcs()
#1 {main}
thrown in /Users/robbin/go/src/github.com/kitech/php-go/examples/hello.php on line 5
And php 5.6 is ok
The text was updated successfully, but these errors were encountered:
make sure to build using the correct php settings. you can point the PHPCFG env variable while building to the correct location. E.g. in my case: PHPCFG=/usr/local/php7/bin/php-config make
Otherwise it will use by default /usr/bin/php-config which in OSX's case is php5 and then you probably ran it with the php 7 version.
Also the make clean doesn't clean up in the correct place if you use OSX.
And php 5.6 is ok
The text was updated successfully, but these errors were encountered: