Re: extension problem
| From: | Richard Lynch | Date: | Thu, 04 Jul 2002 22:17:42 +0000 |
| Subject: | Re: extension problem | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-105529@lists.php.net to get a copy of this message | ||
>hi
>I have an extension problem.
>i have wrote this exemple
>#include.......
>char* xx(){
>
>return "true";
>
>
>}
>it's a simple example.
>I have compiled it into .SO dynamic library.
>when I try to load it into PHP i get this message
>cannot include .....(may be not php extension).
>CAN YOU HELP ME PLEASE.
You need to do some extra C macros to change it from a *normal* .so dynamic
library into a PHP .so dynamic library.
I don't know exactly what they are, but you can find a nice short sample
here:
http://conf.php.net
in Rasmus' talks
--
Like Music? http://l-i-e.com/artists.htm