Re: Re: runtime error on new installation
| From: | Mike Payson | Date: | Sun, 08 Sep 2002 08:56:04 +0000 |
| Subject: | Re: Re: runtime error on new installation | ||
| References: | 1 2 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-2401@lists.php.net to get a copy of this message | ||
This suggestion looks correct, but I made the recommended change and nothing
happened. The output of php -i remains the same (extension_dir: ./). What am
I missing? I know if this was mod_php I'd need to restart Apache, but
shouldn't the CLI version reread it's config file every time it starts up?
On Sunday 08 September 2002 01:04 am, franc wrote:
> Put php.ini in the right place. See the output of "php -i" to find where
> php looks for it.
> Edit php.ini. Find a line like this:
>
> extension_dir=
>
> and put there the path to the php_gtk extension. Then php should find it.
>
> regards
> Francesco
> "Mike Payson" <mpayson@dawgdayz.com> ha scritto nel messaggio
> news:3D7B012A.2080406@dawgdayz.com...
>
> > I just installed php-gtk. Everything went fine, no errors were reported.
> > However, I am unable to execute scripts:
> >
> > mike@bucky test $ php -q gtk.php
> > <br />
> > <b>Warning</b>: Unable to load dynamic library './php_gtk.so' -
> > ./php_gtk.so: cannot open shared object file: No such file or directory
> > in <b>/home/mike/sources/php-gtk-0.5.1/test/gtk.php</b> on line
> > <b>8</b><br />
> > <br />
> > <b>Fatal error</b>: Undefined class name 'gtk' in
> > <b>/home/mike/sources/php-gtk-0.5.1/test/gtk.php</b> on line
> > <b>2661</b><br />
> >
> > I have tried both 0.51 and CVS with the same result. I also get the same
> > error if I specify the full path to the library (Unable to load dynamic
> > library
> > './/usr/lib/php/extensions/no-debug-non-zts-20020429/php_gtk.so').
> >
> > Any suggestions?
>
--
Mike Payson | DawgDayz Dog Walking & Pet Sitting
(206) 280-7295 | www.dawgdayz.com | mpayson@dawgdayz.com