Trying Hard - Getting Nowhere
| From: | Martin Cameron | Date: | Sun, 11 Mar 2001 19:39:31 +0000 |
| Subject: | Trying Hard - Getting Nowhere | ||
| Groups: | php.gtk | ||
| Request: | Send a blank email to php-gtk+get-682@lists.php.net to get a copy of this message | ||
Further to my lass missive, I should have said that when I try to run
hello.php (from the test sub-directory) in a browser, I get this error:
Warning: Unable to load dynamic library './php_gtk.so' -
./php_gtk.so: cannot open shared object file: No such file or
directory in /home/httpd/htdocs/hello.php on line 6
Fatal error: Cannot instantiate non-existent class: gtkwindow
in /home/httpd/htdocs/hello.php on line 40
Which tends to suggest that I haven't compiled properly. When run from
the command line I get this:
%./hello.php
./hello.php: ?: No such file or directory
./hello.php: syntax error near unexpected token
`(strtoupper(substr('
./hello.php: ./hello.php: line 3: `if
(strtoupper(substr(PHP_OS, 0, 3)) == 'WIN')'
I know that there will some of you hitting your forehead right now
thinking that this guy shouldn't be in charge of a computer but ...
didn't we all start somewhere?
Regadrs
Martin Cameron
PS Before starting on php-gtk, I thought I was competent in PHP, PERL,
C++, SQL ... Now I feel like a real newbie.