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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to