I'm trying to use a Shared Object which I made using C++ from within PHP.
But when I use 'dl("libhello.so")' I get an error:
"Warning: Invalid library (maybe not a PHP library) 'libhello.so' in /var/www/html/hello.php on line 8
Fatal error: Call to undefined function: helloworld() in /var/www/html/hello.php on line 9"
I compiled my SO using the GCC and I can use it from another C-program.
What's wrong ??