com gtk/php-gtk: Prettifying our .ini file. It makes sense to distribute a php.ini that people can actually use.: win32/php.ini

[email protected] (David Soria Parra) Thu, 15 Sep 2005 17:02:38 +0000
Newsgroups php.gtk.cvs
Message-ID <[email protected]>
Commit:    c73eeb079fdc31e245a27f6a9d4614fb3f29388d=0AAuthor:    Steph Fox =
<[email protected]>         Thu, 15 Sep 2005 17:02:38 +0000=0AParents:   07b1f77=
b01f516a86f73a248154a24ede079f88f=0ABranches:  master=0A=0ALink:       http=
://git.php.net/?p=3Dgtk/php-gtk.git;a=3Dcommitdiff;h=3Dc73eeb079fdc31e245a2=
7f6a9d4614fb3f29388d=0A=0ALog:=0APrettifying our .ini file.  It makes sense=
 to distribute a php.ini that people can actually use.=0A=0AChanged paths:=
=0A  M  win32/php.ini=0A=0A=0ADiff:=0Ac73eeb079fdc31e245a27f6a9d4614fb3f293=
88d=0Adiff --git a/win32/php.ini b/win32/php.ini=0Aindex 0f032a6..5edcf4d 1=
00644=0A--- a/win32/php.ini=0A+++ b/win32/php.ini=0A@@ -1,8 +1,54 @@=0A-=0A=
 [PHP-GTK]=0A-; For Win32 only.=0A-; php-gtk.extensions =3D =0A-; php-gtk.c=
odepage =3D CP1252=0A =0A-; For Unix only.=0A-; php-gtk.extensions =3D =0A+=
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;=0A+; About the php.ini in PHP-GTK ;=0A+;;;=
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;=0A+;=0A+; This file introduces the php.ini se=
ttings that you will need in order to=0A+; run PHP-GTK on your system. You =
may also need other settings from PHP's=0A+; standard php.ini file, e.g. to=
 load further extensions or otherwise control=0A+; PHP's behaviour in matte=
rs such as error reporting.=0A+=0A+; You may use either PHP's CGI or CLI ex=
ecutable to run PHP-GTK. This php.ini=0A+; file should be in the same direc=
tory as the PHP executable, to avoid conflict=0A+; with any other copies of=
 PHP that may be installed on your machine.=0A+=0A+; The first thing you wi=
ll need to do is tell PHP where you want it to look=0A+; for the PHP extens=
ion libraries (php_*.dll or php_*.so files) on your system.=0A+=0A+;extensi=
on_dir =3D "./"=0A+=0A+; Make sure that php-gtk2.dll under Windows, or php-=
gtk2.so under Unix, is in=0A+; the directory named in extension_dir, and te=
ll PHP to load it.=0A+=0A+;extension =3D php-gtk2.**=0A+=0A+;;;;;;;;;;;;;;;=
;;;;;;;=0A+; PHP-GTK extensions ;=0A+;;;;;;;;;;;;;;;;;;;;;;=0A+=0A+; Extens=
ions written for PHP-GTK are in the format php_gtk_*.dll (Windows) or=0A+; =
php_gtk_*.so (Unix), written here as a comma-separated list. The library=0A=
+; files need to be in the same directory as the PHP-GTK library, along wit=
h=0A+; any other PHP extensions you are using.=0A+=0A+;php-gtk.extensions =
=3D =0A+=0A+;;;;;;;;;;;;;=0A+; Code Page ;=0A+;;;;;;;;;;;;;=0A+=0A+; The st=
ring variables used for titles and other text values in GTK+ are=0A+; encod=
ed in UTF-8 internally. A code page is needed so that PHP-GTK 'knows'=0A+; =
which character set is being used, and can convert it to UTF-8 as necessary=
.=0A+=0A+; If your environment uses UTF-8 already, you can set the codepage=
 directive=0A+; to UTF-8 to skip the conversions.=0A+=0A+; The default code=
page setting in PHP-GTK 2 is ISO-8859-1, but you can also=0A+; use either O=
EM (e.g. 850) or Windows Code Pages (e.g. CP1250) here, so=0A+; long as the=
 encoding format you choose is capable of iconv conversion. See=0A+; http:/=
/www.microsoft.com/globaldev/reference/cphome.mspx for a list of=0A+; the c=
ode pages and character sets that are supported on Windows systems.=0A+=0A+=
;php-gtk.codepage =3D CP1250=0A