Re: compiling 3'd party php modules
| From: | Curt Zirzow | Date: | Mon, 05 Jul 2004 20:16:14 +0000 |
| Subject: | Re: compiling 3'd party php modules | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-189750@lists.php.net to get a copy of this message | ||
* Thus wrote Zilvinas Saltys:
> Hello,
>
> I need to compile sqlanywhere module.
> http://www.sybase.com/detail/1,6904,1019698,00.html
heh.. thats funny a zip that contains a tar.gz file...
> Theyr documentation says that i need to compile the whole php source tree. That is not an easy
> task on gentoo with ebuilds. Well i managed to do that.
>
> But maybe there is an easier way? To compile seperate modules and just load them with dl()
> function..
>
If they have things set up properly, you can simply extract that
into a directory, run phpize (you'll need some development tools
like automake and autconf)
then ./configure; make install
You can use dl() but it's deprecated in php5. Loading it via your
extension_dir would be prefered.
Curt
--
First, let me assure you that this is not one of those shady pyramid schemes
you've been hearing about. No, sir. Our model is the trapezoid!