SymptomsI have migrated sites from i386 server to x64 server. What additional changes should I do?
ResolutionChange extension _dir value in php.ini files for every site to correspond the current location of php modules.
For example, the old location could be:
extension_dir = /usr/lib/php/modules
and the new one is:
extension_dir = /usr/lib64/php/modules
You can use this script to update all sites at once:
sed -i "s|extension_dir = /usr/lib/php/modules|extension_dir = /usr/lib64/php/modules|" /home/virtual/*/etc/php.ini
NOTE: Use this script at your own risk. Make sure it corresponds your situation before running it.