Re: [PHP] how can I find out if I have mcrypt and mhash installed?

2007-02-21 Thread Eric Butera

On 2/21/07, Ross [EMAIL PROTECTED] wrote:

Thought it would be in the phpinfo() but cannot find it.


R.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



If it is compiled in then you should see it in phpinfo.  I looked at
mine and saw a header for mcrypt and mhash.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] how can I find out if I have mcrypt and mhash installed?

2007-02-21 Thread Jürgen Wind



Ross Hulford wrote:
 
 Thought it would be in the phpinfo() but cannot find it.
 
 
 R. 
 
 
 
 
?php
echo 'mcrypt is '; 
if(!function_exists('mcrypt_encrypt')) echo '*NOT* '; 
echo 'available'; 
?

J.
-- 
View this message in context: 
http://www.nabble.com/how-can-I-find-out-if-I-have-mcrypt-and-mhash-installed--tf3266193.html#a9088770
Sent from the PHP - General mailing list archive at Nabble.com.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] how can I find out if I have mcrypt and mhash installed?

2007-02-21 Thread Jürgen Wind



Jürgen Wind wrote:
 
 
 
 Ross Hulford wrote:
 
 Thought it would be in the phpinfo() but cannot find it.
 
 
 R. 
 
 
 
 
 ?php
 echo 'mcrypt is '; 
 if(!function_exists('mcrypt_encrypt')) echo '*NOT* '; 
 echo 'available'; 
 ?
 
 J.
 
... but if you intend to activate it :
remove the semicolon infront of
extension=php_mcrypt.[dll | so]
in your php.ini and restart your webserver

-- 
View this message in context: 
http://www.nabble.com/how-can-I-find-out-if-I-have-mcrypt-and-mhash-installed--tf3266193.html#a9088894
Sent from the PHP - General mailing list archive at Nabble.com.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php