Page 64 - Open Soource Technologies 304.indd
P. 64
Unit 5: PHP
options cause problems Notes
for PEAR:
--disable-pear
.
make install
will neither install the PEAR installer or any
packages.
--disable-cli
. The PEAR Installer depends on a standalone version of
PHP installed.
--without-xml
. PEAR requires the XML extension for parsing package
information files.
5.2.2 Windows
This section shows how to install PEAR on a Windows PHP installation. Start by just installing
a binary distribution of PHP from http://www.php.net/downloads.php (see Figure 5.1). If you
go with the defaults, your PHP install will end up in C:\PHP, which is what you will see in
the forthcoming examples.
Figure 5.1: PHP Welcome Screen
LOVELY PROFESSIONAL UNIVERSITY 59