[csw-users] php: missing hash?
Gerard Henry
ghenry at cmi.univ-mrs.fr
Thu Nov 8 08:50:48 CET 2012
hello all,
i'm trying to deploy a symfony project with opencsw packages of apache
and php.
But i got an error:
PHP Fatal error: Call to undefined function
Sensio\Bundle\DistributionBundle\Configurator\Step\hash()
and this error seems to be that hash is missing in php. If i understand,
hash is now part of php since > 5.1.2:
http://php.net/manual/en/function.hash.php
and with a little test:
PHP Fatal error: Call to undefined function hash() in
/opt/csw/apache2/share/htdocs/titi.php on line 2
echo titi.php:
<?php
echo hash('ripemd160', 'The quick brown fox jumped over the lazy dog.');
?>
if i look at phpinfo(), i see:
'--enable-hash=shared'
'--with-mhash=shared,/opt/csw'
and:
# /opt/csw/php5/bin/php -m |grep hash
#
anybody can tell if i 'm wrong?
thanks in advance for help
gerard
More information about the users
mailing list