how to fix this error in the terminal?
tnxCode:PHP Warning: Module 'mcrypt' already loaded in Unknown on line 0
how to fix this error in the terminal?
tnxCode:PHP Warning: Module 'mcrypt' already loaded in Unknown on line 0
up for this one. anyone can help. tnx
If you could provide more information, I think that you will be more likely to get help. At the very least, what do you do for that message to occur? If it's code you have written, post the code. Perhaps tell us something about your environment - operating system version, php version etc.
even typing php-v to know my php version. still shows error.
Code:PHP Warning: Module 'mcrypt' already loaded in Unknown on line 0 PHP 5.4.15-1~dotdeb.2 (cli) (built: May 11 2013 20:26:49) Copyright (c) 1997-2013 The PHP Group Zend Engine v2.4.0, Copyright (c) 1998-2013 Zend Technologies jairoh@jairoh-300E4C-300E5C-300E7C:~/lamp/public_html/l4$
Hi
Page created date is in 2007 but i was last modified in 2011.
http://www.somacon.com/p520.php
See if it gets you nearer to a fix.
In future, you may want to add a lot more information to your first post.
You're far, far more likely to get an answer if you give as much detail as possible.
Kind regards
If you believe everything you read, you better not read. ~ Japanese Proverb
If you don't read the newspaper, you're uninformed. If you read the newspaper, you're mis-informed. - Mark Twain
Thinking about becoming an Ubuntu Member?
thanks sir but it does not solve. yes that error occurs when i try to see my php version in cli.
Are you sure this is the version of PHP from the repositories and not one compiled from source?
Take a look in /etc/php5 and see if anything there loads the mcrypt module.
If you ask for help, do not abandon your request. Please have the courtesy to check for responses and thank the people who helped you.
Blog · Linode System Administration Guides · Android Apps for Ubuntu Users
Yes, it looks like you have two files that both try to install mcrypt. The official repository files all start with a number that controls the order of loading. Rename the file called "mcrypt.ini" to "mcrypt.extra" then restart Apache or run php5 from the command line and see if you still get the error. If not, and phpinfo() or "php -i" from the command line show mcrypt is still installed, then delete the "extra" file.
If you ask for help, do not abandon your request. Please have the courtesy to check for responses and thank the people who helped you.
Blog · Linode System Administration Guides · Android Apps for Ubuntu Users
Bookmarks