|
Ensight supports PHP 5 from version 3.0.3 onwards. Here are a few handy tips for upgrading to PHP 5.
New/modified php.ini settings:
- You can now set register_long_arrays to Off if you no longer use $HTTP_* variables in your code
For MySQL users:
MySQL's libraries are no longer bundled with PHP from version 5. For Windows installations of PHP 5, you will need to do the following in order to connect to MySQL:
- uncomment the line: extension=php_mysql.dll
- copy the file libmysql.dll from the php install directory into C:\WINDOWS or C:\WINNT (your Windows directory)
- click here for additional MySQL support
Windows CLI installation changes:
- /cli/php.exe is now php.exe in the php install directory
- /php.exe (the old CGI version) is now php-cgi.exe
- /php-win.exe is a GTK version - don't touch this
You will also need to install a new Zend Optimizer
|