UB Information Technology


Pre HyperText Processor - PHP

Please Note: Wings has migrated to the latest stable version of PHP 5

The PHP development team announced that support for PHP 4 ceased at the end of 2007. There will be no more releases of PHP 4.4.

Please note that updating code is the responsibility of the information provider. The Wings Team has limited resources to troubleshoot and update code. To aid in testing and migration, developers should review the PHP 5 migration guide:
        http://www.php.net/manual/en/migration5.php

We are providing a test environment where PHP developers can test their code in the new environment before it goes production. To test your code, append a colon (:) followed by the port number 8081 (or 9443 for https) after the hostname portion of your URL. For example:
        http://wings.buffalo.edu:8081/directory/subdirectory
        http://yourvirtualhost.buffalo.edu:8081/directory/subdirectory

*****Note that there is a different port for SSL secure connections:
        https://wings.buffalo.edu:9443/directory/subdirectory
        http://yourvirtualhost.buffalo.edu:9443/directory/subdirectory

We will also be upgrading all currently installed PHP modules to their respective latest versions.

Currently, the following version of PHP and modules are installed:

  • PHP 4.4.4
  • GD v1.2
  • MySQL v3.23.49 (Note: MySQL database software is not installed on Wings.)
  • Oci8 v3.23.49 (for Oracle 10.1)

We will be upgrading to the following:

  • PHP 5.2.5
  • GD bundled version, compatible with 2.0.34
  • MySQL 5.0.51a (Note: MySQL database software will NOT be installed on Wings as part of this upgrade.)
  • Mcrypt 2.5.8 (this is new for wings)
  • Oci8 v1.2.4 (for Oracle 10.2)


For security reasons, we will be changing the current setting of register_globals from 'on' to the recommended setting of 'off'. For more information regarding how this may affect your PHP code, please see:
        http://www.php.net/register_globals

One other change to note from our PHP 4 environment to PHP 5 -- in our installation of PHP 4 "magic quotes" were enabled. This is now deprecated and turned off in our PHP 5 environment. Magic quotes will be removed altogehter as of PHP 6.0. Relying on this feature is highly discouraged:
        http://us.php.net/magic_quotes