Hallo,
würde gerne PHP-GTK installieren.
Hab dazu das Paket von
runtergeladen und hab dann versucht, nach der README.TXT vorzugehen:
Arbeite mit xampp. Hab also den Inhalt (!) des Verzeichnisses php4 in php4 des bestehenden php eingefügt. Die php_gtk.dll hab ich den Extensions hinzugefügt. Server runter- und wieder raufgefahren.
Fehlermeldung beim Testen des beiliegenden hello.php:
Wo muss ich ansetzen?
Gruß Michi
würde gerne PHP-GTK installieren.
Hab dazu das Paket von
runtergeladen und hab dann versucht, nach der README.TXT vorzugehen:
Welcome to php-gtk for Win32.
The Win32 binary distribution for php-gtk is a zip file with this structure
\php4 -> php and php-gtk binary files
\winnt -> the default php.ini file
\test -> a few samples to demonstrate the usage
README.TXT -> this file.
How to install install:
Copy \php4 to your existing php directory, or a new directory. If this is a new instalation you
should create c:\php4 and copy the files to this directory.
Copy \winnt to you winnt directory. On Windows NT and Windows 2000 that is c:\winnt.
On Windows 95/98/XP that is c:\windows. If you have an existing php.ini you dont need to copy this file,
but make sure you are adding the php-gtk specific options found in \php4\php.ini-gtk.
You can also install php.ini in yor php directory. This will reduce conflicts with an existing php.ini file
in the windows directory.
Copy \test to the location where you want to run your scripts (c:\php4\test)
How to use:
Php-gtk applications can be started from the command line (or a shortcut) with this syntax:
c:\php4\php c:\php4\test\hello.php
or to avoid the dos-box
c:\php4\php_win c:\php4\test\gtk.php
The Win32 binary distribution for php-gtk is a zip file with this structure
\php4 -> php and php-gtk binary files
\winnt -> the default php.ini file
\test -> a few samples to demonstrate the usage
README.TXT -> this file.
How to install install:
Copy \php4 to your existing php directory, or a new directory. If this is a new instalation you
should create c:\php4 and copy the files to this directory.
Copy \winnt to you winnt directory. On Windows NT and Windows 2000 that is c:\winnt.
On Windows 95/98/XP that is c:\windows. If you have an existing php.ini you dont need to copy this file,
but make sure you are adding the php-gtk specific options found in \php4\php.ini-gtk.
You can also install php.ini in yor php directory. This will reduce conflicts with an existing php.ini file
in the windows directory.
Copy \test to the location where you want to run your scripts (c:\php4\test)
How to use:
Php-gtk applications can be started from the command line (or a shortcut) with this syntax:
c:\php4\php c:\php4\test\hello.php
or to avoid the dos-box
c:\php4\php_win c:\php4\test\gtk.php
Fehlermeldung beim Testen des beiliegenden hello.php:
Fatal error: Class 'GtkWindow' not found in F:\My Documents\Seiten fuer andere Leute\tests\test\hello.php on line 40
Gruß Michi
Kommentar