PHP

http://www.afp548.com/article.php?story=20041104230209410

Prerequisites

  • CentOS 7.x Linux

    yum -y install libxml2-devel libjpeg-devel libpng-devel gd-devel libcurl-devel bzip2-devel sqlite-devel oniguruma-devel

    If you are going to install LDAP support (--with-ldap), you will likely need to install OpenLDAP development tools:

    yum -y install openldap-devel
  • Mac OS X 10.3 (Panther) - Special Instructions for making this work!

Download the Source
Download the most recent version of PHP. At the time of writing, that was 7.4.5:

cd /extra/src
wget https://www.php.net/distributions/php-8.1.5.tar.gz
tar zxf php-8.1.5.tar.gz
cd php-8.1.5

Installation
Instructions are provided for installing PHP with either the Apache or lighttpd web servers:

You can test your installation by putting a simple script into a install-test.php file and loading it from your webserver:

<?php phpinfo(); ?>

Configuration
Ideally, you should set the appropiate timezone in /usr/local/lib/php.ini. phpMyAdmin, in particular is fussy about wanting a timezone set.

date.timezone = America/Thunder_Bay

PHP Caches
Alternative PHP Cache
eAcclerator

Recent Updates

  • 3 months 3 weeks ago
  • 3 months 3 weeks ago
  • 3 months 3 weeks ago
    php 8.x
  • 3 months 3 weeks ago
    10.6.7
  • 3 months 4 weeks ago
    Drop Centos 5/6 stuff