/configure --help
To make adjustments to the build process, you just need to add one or more of these
arguments to PHP??™s configure command, including a value assignment if necessary.
For example, suppose you want to enable PHP??™s FTP functionality, a feature not
enabled by default. Just modify the configuration step of the PHP build process like so:
%>./configure --with-apxs2=/usr/local/apache2/bin/apxs --enable-ftp
As another example, suppose you want to enable PHP??™s Java extension. Just reconfigure
PHP like so:
%>./configure --with-apxs2=/usr/local/apache2/bin/apxs \
>--enable-java=[JDK-INSTALL-DIR]
One common point of confusion among beginners is to assume that simply including
additional flags will automatically make this functionality available via PHP. This is not
necessarily the case. Keep in mind that you also need to install the software that is ultimately
responsible for enabling the extension support. In the case of the Java example,
you need the Java Development Kit (JDK).
Customizing the Windows Build
A total of 45 extensions are bundled with PHP 5.1 and 5.2, a number that was pared to
35 extensions with the current alpha version of PHP 6. However, to actually use any
of these extensions, you need to uncomment the appropriate line within the php.ini
file. For example, if you??™d like to enable PHP??™s XML-RPC extension, you need to make
a few minor adjustments to your php.
Pages:
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105