Revision of PHP from Mon, 12/21/2009 - 10:47

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.12:

cd /extra/src
wget http://ca.php.net/distributions/php-5.2.12.tar.gz
tar zxvf php-5.2.12.tar.gz
cd php-5.2.12

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

  • 1 month 23 hours ago
    1.27.2 update
  • 1 month 1 week ago
    Drupal 10/11 config
  • 1 month 1 week ago
  • PHP
    1 month 1 week ago
    PHP 8.3.11 and AlmaLinux
  • 1 month 2 weeks ago
    New version of Pound