I've inherited a sever on which PHP is installed:
- Code: Select all
$ php -version
PHP 5.1.6 (cli) (built: Nov 3 2006 10:51:56)
Copyright (c) 1997-2006 The PHP Group
Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies
with Zend Extension Manager v1.2.2, Copyright (c) 2003-2007, by Zend Technologies
with Zend Optimizer v3.3.3, Copyright (c) 1998-2007, by Zend Technologies
Quite an old version of PHP. I'd like to move an existing site to a new server with recent version of PHP installed on it and I'd like to do it as safely as I could.
Would I be able to compile the existing code against a newer version of PHP to ensure nothing's broken (e.g.: no backward incompatible function or feature is used)? Or do I have to go version by version and extract changes from change logs and search the code for possible infringement?
Could Zend Engine do that for us?
Thanks,
~Amir


