A
A
amigo_0982015-06-29 17:06:53
1C-Bitrix
amigo_098, 2015-06-29 17:06:53

Site transfer to bitrix. The site worked in single-byte encoding, and the server configuration was designed for UTF-8 encoding. What should I do?

ba30816bffea42b694ee613366f0b62d.jpg
when transferring a site from another hosting via restore.php, such a conflict arose. Google: editing .htccess in this case is meaningless, because starting from version > 5.2, bitrik does not work with exe. There is an option: create a php.ini file on the machine at the root of the directory and configure it accordingly. Question: how to set it up? help me please.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
Maksim Zverev, 2015-06-30
@m1skam

Is recoding not an option?
php.ini - will depend on your current hosting, we are not telepaths and do not know what you have there, it is quite possible that the hoster can fix the encoding in php for your site, you just need to contact him.

A
Alex Khizhniy, 2015-07-22
@mendler

In general, it all depends on the hosting, timeweb, for example, allows overriding func_overload in .htaccess,
well, if you really want to change php.ini, then you need to add the following lines in the /etc/php.d/mbstring.ini file:

extension=mbstring.so
mbstring.func_overload=0

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question