0

I have no control over the PHP application, but I have on Apache.

I know how to set php_value for a particular vhost. I need to tell that vhost to use latin1 character set when connecting to MySQL instead of the system's default utf8. Other vhosts must not be affected.

Any ideas? From what I can read that shouldn't be possible via php.ini. While I have the option of running a custom PHP script for every request (with auto_prepend_file) I must have already opened a MySQL connection.

usr-local-ΕΨΗΕΛΩΝ
  • 2,359
  • 7
  • 34
  • 52

0 Answers0