Revision of PHP from Mon, 02/14/2011 - 13:27

Revisions allow you to track differences between multiple versions of your content, and revert back to older versions.

PHP (PHP: Hypertext Preprocessor) is a computer scripting language, originally designed for producing dynamic web pages. It is mainly used in server-side scripting, but can be used from a command line interface or in standalone graphical applications.

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

Prerequisites

  • Linux

    yum -y install libxml2-devel libjpeg-devel libpng-devel gd-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 5.2.17:

cd /extra/src
wget http://ca.php.net/distributions/php-5.2.17.tar.gz
tar zxf php-5.2.17.tar.gz
cd php-5.2.17

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

  • PHP
    1 year 8 months ago
    PHP 7.4
  • 1 year 9 months ago
    MariaDB 10.4.12
  • 1 year 9 months ago
    Dovecot 2.3.10
  • 1 year 9 months ago
    CentOS 6 revisions
  • 1 year 9 months ago
    Copy of the revision from Wed, 08/22/2018 - 13:39.