Should you need to upgrade your local version or retrieve an alternative format,
navigate to the following page and click the appropriate link: http://www.php.net/
docs.php.
Installing Apache and PHP on Linux
This section guides you through the process of building Apache and PHP from source,
targeting the Linux platform. You need a respectable ANSI-C compiler and build
system, two items that are commonplace on the vast majority of distributions available
today. In addition, PHP requires both Flex (http://flex.sourceforge.net/) and
Bison (http://www.gnu.org/software/bison/bison.html), while Apache requires at
least Perl version 5.003. If you??™ve downloaded PHP 6, you??™ll also need to install
the International Components for Unicode (ICU) package version 3.4 (http://
icu.sourceforge.net/), although this may very well be bundled with PHP in the
future. Again, all of these items are prevalent on most, if not all, modern Linux platforms.
Finally, you??™ll need root access to the target server to complete the build process.
For the sake of convenience, before beginning the installation process, consider
moving both packages to a common location??”/usr/src/, for example. The installation
process follows:
1. Unzip and untar Apache and PHP. In the following code, the X represents the
latest stable version numbers of the distributions you downloaded in the
previous section:
%>gunzip httpd-2_X_XX.
Pages:
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92