Shared extensions support
| From: | Andrei Zmievski | Date: | Tue, 20 Nov 2001 20:45:47 +0000 |
| Subject: | Shared extensions support | ||
| Groups: | php.gtk.general | ||
| Request: | Send a blank email to php-gtk-general+get-636@lists.php.net to get a copy of this message | ||
I have just commited code that adds support for building shared
PHP-GTK extensions. The Win32 building process has not been adjusted
yet, this is only for Unix so far.
The procedure is the same as for PHP extensions. You use
--enable-ext=shared or --with-ext=shared and when you do 'make install'
the .so file will be copied to the same directory that regular PHP
shared extensions live in.
To load extensions, there is an .ini setting called
'php-gtk.extensions'. You simply list the extension filenames, separated
by commas and/or spaces, like this:
php-gtk.extensions = php_gtk_sqpane.so, php_gtk_libglade.so
This should be a good step towards making PHP-GTK more modular and also
having a repository of extensions.
HTH,
-Andrei
* My wishlist: http://www.amazon.com/exec/obidos/wishlist/2Q2DIPY7BZLSH/
*