Re: error loading php_gtk2.so
| From: | sent by Nabble.com) | Date: | Mon, 30 Jan 2006 15:48:32 +0000 |
| Subject: | Re: error loading php_gtk2.so | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-6609@lists.php.net to get a copy of this message | ||
I installed everything from scratch. But I ran into a little bit of a problem.
Here are the steps I took to install php5.1:
./buildconf
./configure --prefix=/php-gtk/php_5_1 --with-config-file-path=/php-gtk/php_5_1 --disable-cgi
make
make install
echo extension=php_gtk2.so >> /php-gtk/php_5_1/php.ini
/php-gtk/php_5_1/bin/php-config --extension-dir |xargs echo \
'extension_dir='>>/php-gtk/php_5_1/php.ini
Here are the steps I took to install php-gtk2:
./buildconf --with-phpize=/php-gtk/php_5_1/bin/phpize
./configure --with-php-config=/php-gtk/php_5_1/bin/php-config
make
make install
After both php5.1 and php-gtk2 was installed I checked out the php.ini file and it only had these
two lines in it:
extension=php_gtk2.so
extension_dir= /php-gtk/php_5_1/lib/php/extensions/no-debug-non-zts-20050922
I'm not too sure If I should copy the php.ini-recommended file and add those two lines or just
leave the php.ini file the way it is?
--
View this message in context: http://www.nabble.com/error-loading-php_gtk2.so-t1019739.html#a2662154
Sent from the Php - GTK - General forum at Nabble.com.