[PHP]
extension_dir = "c:\php\ext"
include_path="C:\php\pear"
error_reporting = E_ALL & ~E_NOTICE
short_open_tag = On
display_errors = On
variables_order = "EGPCS"
allow_url_fopen = On
max_execution_time = 30 ; Maximum execution time of each script, in seconds
post_max_size = 8M
display_startup_errors = On
track_errors = On
; require、include を http 経由で取り込むのに必要
allow_url_include = On
; IIS を含む Windows 用の一部の WEB サーバーで必要
cgi.force_redirect = 0
max_execution_time = 30 ; Maximum execution time of each script, in seconds
max_input_time = 60 ; Maximum amount of time each script may spend parsing request data
memory_limit = 128M ; Maximum amount of memory a script may consume (128MB)
engine = On
zend.ze1_compatibility_mode = Off
asp_tags = Off
precision = 12
y2k_compliance = On
output_buffering = Off
zlib.output_compression = Off
implicit_flush = Off
unserialize_callback_func=
serialize_precision = 100
allow_call_time_pass_reference = On
safe_mode = Off
safe_mode_gid = Off
safe_mode_include_dir =
safe_mode_exec_dir =
safe_mode_allowed_env_vars = PHP_
safe_mode_protected_env_vars = LD_LIBRARY_PATH
disable_functions =
disable_classes =
expose_php = On
log_errors = Off
log_errors_max_len = 1024
ignore_repeated_errors = Off
ignore_repeated_source = Off
report_memleaks = On
register_globals = Off
;register_long_arrays = On
register_argc_argv = On
auto_globals_jit = On
;magic_quotes_gpc = On
magic_quotes_runtime = Off
magic_quotes_sybase = Off
auto_prepend_file =
auto_append_file =
default_mimetype = "text/html"
doc_root =
user_dir =
enable_dl = On
file_uploads = On
; 実用で 2M は少し小さい可能性があります
upload_max_filesize = 2M
default_socket_timeout = 60
コマンドラインスイッチについては、pear help install で参照できます
↓go-pear.bat の実行結果
拡張子:
C:\php>go-pear
Are you installing a system-wide PEAR or a local copy?
(system|local) [system] :
Below is a suggested file layout for your new PEAR installation. To
change individual locations, type the number in front of the
directory. Type 'all' to change all of them or simply press Enter to
accept these locations.
1. Installation base ($prefix) : C:\php
2. Temporary directory for processing : C:\php\tmp
3. Temporary directory for downloads : C:\php\tmp
4. Binaries directory : C:\php
5. PHP code directory ($php_dir) : C:\php\pear
6. Documentation directory : C:\php\pear\docs
7. Data directory : C:\php\pear\data
8. Tests directory : C:\php\pear\tests
9. Name of configuration file : C:\WINNT\pear.ini
10. Path to CLI php.exe : C:\php\.
1-10, 'all' or Enter to continue: c:\php\pear\pear.ini
Below is a suggested file layout for your new PEAR installation. To
change individual locations, type the number in front of the
directory. Type 'all' to change all of them or simply press Enter to
accept these locations.
1. Installation base ($prefix) : C:\php
2. Temporary directory for processing : C:\php\tmp
3. Temporary directory for downloads : C:\php\tmp
4. Binaries directory : C:\php
5. PHP code directory ($php_dir) : C:\php\pear
6. Documentation directory : C:\php\pear\docs
7. Data directory : C:\php\pear\data
8. Tests directory : C:\php\pear\tests
9. Name of configuration file : C:\WINNT\pear.ini
10. Path to CLI php.exe : C:\php\.
1-10, 'all' or Enter to continue: 9
(Use $prefix as a shortcut for 'C:\php', etc.)
Name of configuration file [C:\WINNT\pear.ini] : c:\php\pear\pear.ini
Below is a suggested file layout for your new PEAR installation. To
change individual locations, type the number in front of the
directory. Type 'all' to change all of them or simply press Enter to
accept these locations.
1. Installation base ($prefix) : C:\php
2. Temporary directory for processing : C:\php\tmp
3. Temporary directory for downloads : C:\php\tmp
4. Binaries directory : C:\php
5. PHP code directory ($php_dir) : C:\php\pear
6. Documentation directory : C:\php\pear\docs
7. Data directory : C:\php\pear\data
8. Tests directory : C:\php\pear\tests
9. Name of configuration file : c:\php\pear\pear.ini
10. Path to CLI php.exe : C:\php\.
1-10, 'all' or Enter to continue:
Beginning install...
Configuration written to c:\php\pear\pear.ini...
Initialized registry...
Preparing to install...
installing phar://go-pear.phar/PEAR/go-pear-tarballs/Archive_Tar-1.3.2.tar...
installing phar://go-pear.phar/PEAR/go-pear-tarballs/Console_Getopt-1.2.3.tar...
installing phar://go-pear.phar/PEAR/go-pear-tarballs/PEAR-1.6.1.tar...
installing phar://go-pear.phar/PEAR/go-pear-tarballs/Structures_Graph-1.0.2.tar...
pear/PEAR can optionally use package "pear/XML_RPC" (version >= 1.4.0)
install ok: channel://pear.php.net/Archive_Tar-1.3.2
install ok: channel://pear.php.net/Console_Getopt-1.2.3
install ok: channel://pear.php.net/Structures_Graph-1.0.2
install ok: channel://pear.php.net/PEAR-1.6.1
PEAR: Optional feature webinstaller available (PEAR's web-based installer)
PEAR: Optional feature gtkinstaller available (PEAR's PHP-GTK-based installer)
PEAR: Optional feature gtk2installer available (PEAR's PHP-GTK2-based installer)
PEAR: To install optional features use "pear install pear/PEAR#featurename"
** WARNING! Old version found at C:\php, please remove it or be sure to use the new c:\php\pear.bat command
The 'pear' command is now at your service at c:\php\pear.bat
* WINDOWS ENVIRONMENT VARIABLES *
For convenience, a REG file is available under C:\php\PEAR_ENV.reg .
This file creates ENV variables for the current user.
Double-click this file to add it to the current user registry.
↓パッケージ検索( 時間がかかるので注意 )
拡張子:
C:\php>pear search IMAGE
Retrieving data...0%....50%....MATCHED PACKAGES, CHANNEL PEAR.PHP.NET:
=======================================
PACKAGE STABLE/(LATEST) LOCAL
Image_3D 0.4.0 (alpha) This class allows the rendering of 3 dimensional objects utilizing PHP.
Image_Barcode 1.1.0 (stable) Barcode generation
Image_Canvas 0.3.1 (alpha) A package providing a common interface to image drawing, making image source code
independent on the library used.
Image_Color 1.0.2 (stable) Manage and handles color data and conversions.
Image_Color2 0.1.4 (alpha) Color conversion and mixing for PHP5
Image_GIS 1.1.1 (stable) Visualization of GIS data.
Image_Graph 0.7.2 (alpha) A package for displaying (numerical) data as a graph/chart/plot.
Image_GraphViz 1.3.0RC3 (beta) Interface to AT&T's GraphViz tools
Image_IPTC 1.0.2 (stable) Extract, modify, and save IPTC data
Image_MonoBMP 0.1.0 (beta) Manipulate monochrome BMP images
Image_Puzzle 0.2.1 (beta) Generates puzzle pieces from image file.
Image_Remote 1.0.1 (stable) Retrieve information on remote image files.
Image_Text 0.6.0beta (beta) Image_Text - Advanced text maipulations in images.
Image_Tools 0.4.2 (beta) Tools collection for image manipulation.
Image_Transform 0.9.1 (alpha) Provides a standard interface to manipulate images using different libraries
Image_WBMP 0.1.0 (alpha) Manipulate WBMP images
Image_XBM 0.9.0RC1 (beta) Manipulate XBM images
XML_image2svg 0.1 (stable) Image to SVG conversion
XML_svg2image 0.1 (beta) Converts a svg file to a png/jpeg image