com gtk/php-gtk: Prettifying our .ini file. It makes sense to distribute a php.ini that people can actually use.: win32/php.ini
| From: | David Soria Parra | Date: | Thu, 15 Sep 2005 17:02:38 +0000 |
| Subject: | com gtk/php-gtk: Prettifying our .ini file. It makes sense to distribute a php.ini that people can actually use.: win32/php.ini | ||
| Groups: | php.gtk.cvs | ||
| Request: | Send a blank email to php-gtk-cvs+get-4831@lists.php.net to get a copy of this message | ||
Commit: c73eeb079fdc31e245a27f6a9d4614fb3f29388d
Author: Steph Fox <sfox@php.net> Thu, 15 Sep 2005 17:02:38 +0000
Parents: 07b1f77b01f516a86f73a248154a24ede079f88f
Branches: master
Link: http://git.php.net/?p=gtk/php-gtk.git;a=commitdiff;h=c73eeb079fdc31e245a27f6a9d4614fb3f29388d
Log:
Prettifying our .ini file. It makes sense to distribute a php.ini that people can actually use.
Changed paths:
M win32/php.ini
Diff:
c73eeb079fdc31e245a27f6a9d4614fb3f29388d
diff --git a/win32/php.ini b/win32/php.ini
index 0f032a6..5edcf4d 100644
--- a/win32/php.ini
+++ b/win32/php.ini
@@ -1,8 +1,54 @@
-
[PHP-GTK]
-; For Win32 only.
-; php-gtk.extensions =
-; php-gtk.codepage = CP1252
-; For Unix only.
-; php-gtk.extensions =
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+; About the php.ini in PHP-GTK ;
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+;
+; This file introduces the php.ini settings that you will need in order to
+; run PHP-GTK on your system. You may also need other settings from PHP's
+; standard php.ini file, e.g. to load further extensions or otherwise control
+; PHP's behaviour in matters such as error reporting.
+
+; You may use either PHP's CGI or CLI executable to run PHP-GTK. This php.ini
+; file should be in the same directory as the PHP executable, to avoid conflict
+; with any other copies of PHP that may be installed on your machine.
+
+; The first thing you will need to do is tell PHP where you want it to look
+; for the PHP extension libraries (php_*.dll or php_*.so files) on your system.
+
+;extension_dir = "./"
+
+; Make sure that php-gtk2.dll under Windows, or php-gtk2.so under Unix, is in
+; the directory named in extension_dir, and tell PHP to load it.
+
+;extension = php-gtk2.**
+
+;;;;;;;;;;;;;;;;;;;;;;
+; PHP-GTK extensions ;
+;;;;;;;;;;;;;;;;;;;;;;
+
+; Extensions written for PHP-GTK are in the format php_gtk_*.dll (Windows) or
+; php_gtk_*.so (Unix), written here as a comma-separated list. The library
+; files need to be in the same directory as the PHP-GTK library, along with
+; any other PHP extensions you are using.
+
+;php-gtk.extensions =
+
+;;;;;;;;;;;;;
+; Code Page ;
+;;;;;;;;;;;;;
+
+; The string variables used for titles and other text values in GTK+ are
+; encoded in UTF-8 internally. A code page is needed so that PHP-GTK 'knows'
+; which character set is being used, and can convert it to UTF-8 as necessary..
+
+; If your environment uses UTF-8 already, you can set the codepage directive
+; to UTF-8 to skip the conversions.
+
+; The default codepage setting in PHP-GTK 2 is ISO-8859-1, but you can also
+; use either OEM (e.g. 850) or Windows Code Pages (e.g. CP1250) here, so
+; long as the encoding format you choose is capable of iconv conversion. See
+; http://www.microsoft.com/globaldev/reference/cphome.mspx
for a list of
+; the code pages and character sets that are supported on Windows systems.
+
+;php-gtk.codepage = CP1250