Hello All, during the installation ofan OXID eshop 4.0.0.1 CE
i had 2 solve 2 basic problems. I regularily run into them but as so often forget the solutions allready known.
I guess, it might be helpfull for on or an other OXID USERs to know about.
The new Rootserver I should configure for a customer (8 Processors, 16 GB RAM, Debian ETCH, PLESK 8.6) was a promising powerfull machine, but somehow i had 2 Problems to solve.
- despite the processors are indicated 64bit ZEND OPTIMIZER 3.3.3 64bit did not work out.
look into the linux cpu info.
cat /proc/cpuinfo
as “Quad-Core AMD Opteron™ Processor 2344 HE” the installation with ZEND Optimizer Version “3.3.3 64bit” worked “OK” during the installation, but the restart of the Apache Server was not possible. I killed the apache processes but restart still failed until i removed the ZEND installed Symbolic link for the php.ini at ->
/etc/php5/apache2/php.ini
and replaced it with ZEND made backup from the same directory.
Long search and discussion did not solve anything, from the PLESK Forum i got repeatedly the hint to check the ZEND Version touroughly. So i tryed to install ZEND OPTIMIZER 3.3.3. 32bit and “BINGO” - now ZEND and the Environment worked perfect. I guess my provider or plesk put into the default installation for the debian system some a 32 Bit Libraries (shame on the provider or Plesk - to force 32bit on such fine hardware) !.
Then the OXID installation was possible but now the
üöäßÜÖÄ
Umlaute and russian
абвгдеёжзийклмно
etc. have been not visible.
- Every year i run into this problem and forget what was the simple solution.
I started googling around, pushed the provider for help, mad a lot of fuzz before i read an old forum entry wich i allready remembered reading it.
It just recomended to check the Apache Config file and define the default Charset. That somehow enables the Apache2 to switch in case of the VHOST conf files does not reconfiger or enable it later.
The Apache Configuration was w/o default switche off. I started vi and found the entry (you know the magic “/” ? in vi just try its nice)
vi /etc/apache2/apache2.conf
AddDefaultCharset ISO-8859-1
So since the complete Environment of the server runs UTF-8
I had a hard time to display the Umlauts (even switching correctly the charset inside the oxid ./out/basic/de/lang.php)
vi /etc/apache2/apache2.conf
AddDefaultCharset UTF-8
saving, testing and restarting
apache2 -t
apache2 -k restart
the Shop did what was expected from him.
I have no idea why some apache configuration dont switch codepages and charsets correctly until this is done. Might be there is a wise guy telling me - but i guess this exceeds the sope of the oxid forum.
Regards
Max