Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I installed the mcrypt library, but for some reason Apache disregards it. The files are in place, reinstalling invokes messages that newest version is already installed.

Any ideas?

share|improve this question
Does it show up in phpinfo()? What kind of error do you get when you try to call an mcrypt function? – AaronLS Sep 20 '09 at 14:46
It doesn't show up on phpinfo(). The only error message I can describe is the one I get from phpMyAdmin, that mcrypt it cannot load the mcrypt extension. – Konzepz Sep 20 '09 at 14:56

Have you tried restarting apache after installing?

Edit: Yes, that's how I would restart it. Also FYI, after installing the mcrypt extension, you must then recompile php with the --with-mcrypt=/usr/local/bin/mcrypt option, except use the path to where the mcrypt extension is installed.

There are two individuals in the comments on this page who experienced the same error. Might try their suggestions:

Also, note the comment here regarding the same error:

share|improve this answer
I did, like so: "sudo apachectl restart". Any other way I should know about? – Konzepz Sep 20 '09 at 14:55
Also used "sudo /usr/sbin/apachectl restart" – Konzepz Sep 20 '09 at 15:00

Which platform do you use? Are you using a Mac? Installing an Apache module on a Mac can be a tricky process.

share|improve this answer
Also, "how did you install the module?" - i.e. using a pre-built package, or by compiling it yourself? – Rob Oct 4 '09 at 18:46
Operating system also helps... – Jakub Apr 29 '10 at 18:08

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .