Description
PHP is an HTML-embedded scripting language. PHP attempts to make it easy for developers to write dynamically generated webpages. PHP also offers built-in database integration for several commercial and non-commercial database management systems, so writing a database-enabled webpage with PHP is fairly simple. The most common use of PHP coding is probably as a replacement for CGI scripts.
Homepage: http://www.php.net/
Current version: 5.6.32-1
Please note:
- As I learned the hard way that you need to compile PHP against the specific Apache (httpd) version as the Apache APIs between versions 2.2.X and 2.4.X have changed in an incompatible manner, I provide now not a
php
RPM file anymore but instead a mod_php_ap22
(compiled against Apache V2.2.X) and a mod_php_ap24
(compiled against Apache V2.4.X) RPM file!
- This has been started with PHP V5.3.15-2 and PHP V5.4.3-2.
- As of versions 5.3.18-2 and 5.4.8-2 I have added LDAP support and thus introduced a dependency on OpenLDAP.
- As of versions 5.3.19-2 and 5.4.9-2 I have added PFM support and enabled Zip read/write support.
- As of versions 5.3.19-2 and 5.4.9-2 I have switched to the latest version of OpenSSL (1.0.1) to avoid version mismatches, therefore starting with these versions the latest OpenSSL version is required.
Please note: This the 32-bit version! The 64-bit version can be found here.
Downloads
RPMs:
Source RPM:
Package dependencies:
- mod_php_ap22
- mod_php_ap24
- php-cli
- php-common
- php-devel
- php-fpm
Notes:
- The default location for the PHP shared object
libphp5.so
for Apache is /opt/freeware/lib/httpd/modules
.
- Please do not forget to adapt the config file
/opt/freeware/etc/php.ini
to your specific needs.
- Especially you need to adapt your local timezone which is currently set to '
Europe/Berlin
'. This is necessary as PHP on AIX still has some issues with the TZ environment variable as set by AIX. For details please see here.
Older version
RPMs:
Source RPM:
Package dependencies:
- mod_php_ap22
- mod_php_ap24
- php-cli
- php-common
- php-devel
- php-fpm
Notes:
- The default location for the PHP shared object
libphp5.so
for Apache is /opt/freeware/lib/httpd/modules
.
- Please do not forget to adapt the config file
/opt/freeware/etc/php.ini
to your specific needs.
- Especially you need to adapt your local timezone which is currently set to '
Europe/Berlin
'. This is necessary as PHP on AIX still has some issues with the TZ environment variable as set by AIX. For details please see here.
All versions