Click to See Complete Forum and Search --> : PHP-GTK Running A File


elementaluk
07-10-2004, 10:59 PM
Hey,

PHP-GTK seemed to get thrown in my face and it seems as easy as PHP to write but Linux seems to be doing its usual (being a giant pain in the ass).

I have the following installed:
mod_PHP 4.3.4 for apache
PHP devel 4.3.4 pack
Apache 2.0
PHP-GTK 1.0
...a few hundred plugins/extensions.
on Mandrake 10 (cause red hat sucks).

The problem is PHP-GTK lacks tutorials, info and anyone to tell me how the hell I run a GTK php script (where I put it and how to run it).

I have no php commands in my console and making the php file executable then trying to run it via command line gives me an error saying: bad interpreter: Permission denied.

I most likely need to install a proper version of PHP but really cant be bother so if anyone has an easier way to get this working that would be great.

-Vince

P.S. this is still sorta an install problem as I may have installed it wrong or have to install PHP again...

elementaluk
07-11-2004, 12:16 AM
woohoo! fixed it, PHP-CLI was messed up. Ok lets begin.

P.S. i'll probably be back in about an hour.