Re: phpGTK for OS X and Darwin

From: Date: Sun, 04 May 2003 15:05:11 +0000
Subject: Re: phpGTK for OS X and Darwin
References: 1 2  Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-3332@lists.php.net to get a copy of this message
Hi Ben, You'll need PHP CLI installed. Once you have this you simply download php_gtk.so and copy it into your php extensions directory. On my system this is in /usr/local/lib/php/extensions/no-debug-non-zts-20020429 Use this in your php code to load the extension: // load PHP-GTK extension if ('win' == strtolower(substr(PHP_OS, 0, 3))) { dl('php_gtk.dll'); } else { dl('php_gtk.so'); } if (FALSE == class_exists('gtk')){ die ('impossible to load PHP-GTK extension.'); } On Sat, 03 May 2003 11:47:01 +0000, Benjamin Smith wrote: > Do you have instructions for how to install and setup a Mac system with these? > > -Ben > > On Friday 02 May 2003 11:46 am, Sat wrote: >> I've put php_gtk.so for OSX online >> at:http://www.bolverker.com/public/php_extensions/

« previous php.gtk.general (#3332) next »