Copied a working website from one server to another, now I’m getting this error – browsing to the main page of the website.
Fatal error: Could not convert the script from the detected encoding "UTF-32LE"
to a compatible encoding in /usr/local/share/zf/library/Zend/Application.php
on line 320
And the global httpd-error.log shows, the server is runnign other vhosts, but pretty sure it’s related to the above error.
[notice] child pid 8012 exit signal Segmentation fault (11)
The servers both run FreeBSD 8.1, one 32bit (with error) and the other 64bit. Just updated the one having the error to newest versions of Apache and PHP, available in Ports-catalog. Error also occurred before update.
Please note that, my intention of the copy is to use large parts for a new website, so have been doing some deletion of files, but should not have any impact on the error above.
To solve this I had to remove everything again, download the tar with the website from the origin server to my mac. Extracted on my mac, and uploaded to new server with FTP – now the error is gone.