PHP is the PHP Hypertext Preprocessor. Primary used in dynamic web sites, it allows for programming code to be directly embedded into the HTML code.
Download (HTTP): http://us2.php.net/distributions/php-4.3.3.tar.bz2
Download (FTP): ftp://ftp.isu.edu.tw/pub/Unix/Web/PHP/distributions/php-4.3.3.tar.bz2
Download size: 3.5 MB
Estimated Disk space required: 79 MB
Estimated build time: 1.24 SBU
OpenSSL-0.9.7c, bc-1.06, cURL-7.10.7, Berkeley DB-4.1.25, libjpeg-6b, libpng-1.2.5, FreeType-2.1.5, MySQL-4.0.15 and Apache-2.0.47
GDBM-1.8.3, Sendmail-8.12.10, pcre-4.3, PostgreSQL-7.3.4, readline-4.3, libtiff-3.5.7, expat-1.95.6 and GMP-4.1.2
Install PHP by running the following commands:
./configure --prefix=/usr --with-apxs2=/usr/sbin/apxs \ --with-config-file-path=/etc --with-openssl=/usr \ --with-zlib=/usr --enable-bcmath --with-bz2=/usr \ --with-curl --enable-ftp --with-gd --with-jpeg-dir=/usr \ --enable-gd-native-ttf --with-db4 --with-png-dir=/usr \ --with-freetype-dir=/usr --with-gettext --with-mysql=/usr \ --with-ncurses --sysconfdir=/etc && make && make install && cp php.ini-dist /etc/php.ini |
Note: PHP has many more configure options that will enable support for certain things. You can use ./configure --help to see a full list of the available options. Also, use of the PHP web site is highly recommended, as their online docs are very good.