You need to check the version of all software components.
In general, you can't hope for an application to work successfully when migrating between your development and production environments unless all software components are the same version. This includes:
- Operating system vendor
- Operating system version
- Database vendor
- Database version
- Web server vendor and version
- Any third party software components used.
It also includes many configuration settings for most of the above.
If you cannot say with complete certainty that all of the software is exactly the same between your development and production environments, you cannot reasonably expect your application to work.
Configuration also matters, particularly with PHP configuration where it affects general behaviour, including but not limited to: register_globals, magic_quotes_gpc, safe_mode, open_basedir.
If your hosting provider does not allow you to install an arbitrary version of all of the above, you must adapt your development environment to match production. This is usually desired anyway because your operations staff may want to choose the software versions for operational reasons.
Therefore, I suggest that you change your development system's software set until it matches production as closely as you can get (ideally exactly the same).
Where I work, we use virtual machines (Vmware, but others are available) to enable us to develop in a software environment as close to production as possible. I would recommend you do the same if possible.
Mark