By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,890 Members | 1,050 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,890 IT Pros & Developers. It's quick & easy.

How do I know if crypt is installed?

P: n/a
Raj
I'm trying to find out how to know if crypt is installed on the
system. With mcrypt there is a section in phpinfo() but I can't find
any similar section for crypt.

How do people know?

Thanks in advance,

Raj
Jul 17 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Raj wrote:
I'm trying to find out how to know if crypt is installed on the
system. With mcrypt there is a section in phpinfo() but I can't find
any similar section for crypt.

How do people know?


Try function_exists('crypt') http://www.php.net/function_exists

As far as I am aware crypt() is part of the PHP core and should always be
present. I couldn't find anything that says it isn't in the manual page
http://www.php.net/crypt

--
Chris Hope - The Electric Toolbox - http://www.electrictoolbox.com/
Jul 17 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.