This is the original setting of option.conf
I googled for multiple versions in DirectAdmin and it should be able to do it. Also in option.conf, there is php2 which is able to set.
But all tutorial will set php1_mode and php2_mode with different values.
I saw mod_php, php-fpm and suphp. Actually I don't know what is it. But currently I use nginx for my HTTPD proxy.
And now I have some websites using a BIG5 encoding. If a user input a non-BIG5 character, the rest of the string after that character will become null when they save this string into MySQL database. After the investigation, this is not MySQL's fault. So it must be either PHP version or nginx.
And what's I gonna do. I want to know if I can use the same mode in both PHP 5.5 and PHP 5.4.
- If not, which mode should I use for PHP 5.4 (I don't want to make changes to PHP 5.5)
Or the above issue is related to nginx, how can I disable it?
Thank you very much.
Code:
#PHP Settings
php1_release=5.5
php1_mode=mod_php
php2_release=no
php2_mode=php-fpm
opcache=no
htscanner=no
php_ini=no
php_timezone=Asia/Hong_Kong
php_ini_type=production
ioncube=no
zend=no
suhosin=no
x_mail_header=yes
I googled for multiple versions in DirectAdmin and it should be able to do it. Also in option.conf, there is php2 which is able to set.
But all tutorial will set php1_mode and php2_mode with different values.
I saw mod_php, php-fpm and suphp. Actually I don't know what is it. But currently I use nginx for my HTTPD proxy.
And now I have some websites using a BIG5 encoding. If a user input a non-BIG5 character, the rest of the string after that character will become null when they save this string into MySQL database. After the investigation, this is not MySQL's fault. So it must be either PHP version or nginx.
And what's I gonna do. I want to know if I can use the same mode in both PHP 5.5 and PHP 5.4.
- If not, which mode should I use for PHP 5.4 (I don't want to make changes to PHP 5.5)
Or the above issue is related to nginx, how can I disable it?
Thank you very much.