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

  • 5 months 3 weeks ago
    1.27.2 update
  • 6 months 2 days ago
    Drupal 10/11 config
  • 6 months 4 days ago
  • PHP
    6 months 4 days ago
    PHP 8.3.11 and AlmaLinux
  • 6 months 4 days ago
    New version of Pound