Re: Re: runtime error on new installation

From: Date: Sun, 08 Sep 2002 09:04:57 +0000
Subject: Re: Re: runtime error on new installation
References: 1 2 3  Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-2402@lists.php.net to get a copy of this message
Sorry, disregard... Stupid mistake on my part. Used a ; instead of a : in the directory list. Works now. One more question, though... It still doesn't work if I use ./:/usr/... (in other words, if I specify multiple directories.) It gives me the same basic error: Unable to load dynamic library './:/usr/lib/php/extensions/no-debug-non-zts-20020429/php_gtk.so' It appears as if it's trying to load the entire list of paths as a single path. Is this a bug someplace, or am I still doing something wrong? Thanks! Mike On Sunday 08 September 2002 01:56 am, Mike Payson wrote: > 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

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