Hello, on a Debian Wheezy machine i have installed and enabled latest version of Jailkit. It is working great and i have the flexibility to fix issues in no time. Thanks Olivier!
Although, today my user just faced an issue. He is running Magento in the jail and i have enabled php5-fpm
[php]
comment = the php interpreter and libraries
executables = /usr/bin/php
directories = /usr/lib/php5, /usr/include/php5, /usr/share/php, /usr/share/php5, /etc/php5, [B]/usr/share/zoneinfo[/B]
includesections = env
basic php commands are working great , but a module in magento return this issue
Fatal error: Uncaught exception 'Zend_Validate_Exception' with message 'Validate class not found from basename 'StringLength'' in /home/gilmar/public_html/lib/Zend/Validate.php:244
i have created a php file:
<?php
echo iconv_strlen("Test iconv_strlen here", "ISO-8859-1");
?>
if i run this with root user, outside the jail, i get:
"22"
if i run same file in jail i get:
PHP Notice: iconv_strlen(): Wrong charset, conversion from `ISO-8859-1' to `UCS-4LE' is not allowed in /home/gilmar/strlen.php on line 2
Notice: iconv_strlen(): Wrong charset, conversion from `ISO-8859-1' to `UCS-4LE' is not allowed in /home/gilmar/strlen.php on line 2
any one can please identify the root cause and fix the issue?
thank you
Simone
--
Simone Fantini
CTO Infrastrutture
Mob. +39 340 7015980 Email address@hidden
Tunda Srl
SS Padana Superiore 16-18, Centro Tessile Milano - Edificio Q3
20063 Cernusco s/Naviglio (MI) - Italy
Tel +39 02 92853907 Fax +39 02 92853909
www.tunda.com
CONFIDENTIALITY NOTICE: This message may contain confidential and/or privileged information. If you are not the intended recipient, please do not use its contents for any purpose, advise the sender immediately by reply e-mail and delete this message and any attachments without retaining a copy.
--
NOTA CONFIDENZIALE: Questo messaggio può contenere informazioni confidenziali e/o riservate. Se lo avete ricevuto per errore, Vi preghiamo di non usarne il contenuto a nessun scopo, informare immediatamente il mittente rispondendo alla mail e cancellare il messaggio ed eventuali allegati, senza farne copia.