Re: adding lib files...
| From: | Rasmus Lerdorf | Date: | Wed, 14 Feb 2001 14:56:35 +0000 |
| Subject: | Re: adding lib files... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-39630@lists.php.net to get a copy of this message | ||
No, you can't just add random .so libraries directly like that. You will
have to write a PHP extension that maps the API implemented by your
library to a set of user-callable PHP functions. The ext/ext_skel script
gets you on your way towards writing such an extension, but you need to be
an experienced C programmer to actually do this.
-Rasmus
On Wed, 14 Feb 2001, Julia A . Case wrote:
> If I have a lib.so file can I just link it in with php and have access to the
> functionality in lib.so? If not can someone show me the way to adding things to
> php?
>
> Julia
> (sorry if this is a stupid question)
>
> --
> [ Julia Anne Case ] [ Ships are safe inside the harbor, ]
> [Programmer at large] [ but is that what ships are really for. ]
> [ Admining Linux ] [ To thine own self be true. ]
> [ Windows/WindowsNT ] [ Fair is where you take your cows to be judged. ]
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>