Tag Archives: php

How to install PHP

PHP Installation PHP is a server-side scripting language designed for web development. Download php-4.3.4.tar.gz from one of the mirrors at http://www.php.net/downloads.php # tar xvzf php-4.3.4.tar.gz # cd php-4.3.4 export CFLAGS=”-O2 -march=i686 -funroll-loops -D_REENTRANT -fPIC” export LIBS=”-lttf -lfreetype -ljpeg -lz -lnsl” export EXTENSION_DIR=/usr/lib/php4 ./configure \ –prefix=/usr \ –with-layout=GNU \ –with-config-file-path=/etc/httpd \ –enable-force-cgi-redirect \ –with-apxs2=/usr/sbin/apxs \ –with-exec-dir=/usr/bin… Read More »