Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I've tried a number of guides on this issue, but so far I cannot get php5enmod mcrypt to work.

Ubuntu 12.04
PHP 5.3.10

Here is the output ls of /etc/php5/conf.d and /etc/php5/mods-available

https://privatepaste.com/35aee04356

root:~# sudo php5enmod mcrypt
sudo: php5enmod: command not found
root:~#
share|improve this question
1  
What's the exact error you have, please ? –  Benoit Jul 10 at 7:24
    
command not found is the exact error –  Guardian Jul 10 at 15:39
    
Please, be more specific. The error is simply command not found, without any other string? Could you copy/paste the string and update your question? –  Letizia Jul 10 at 16:02
    
updated the 1st post 'root:~# sudo php5enmod mcrypt sudo: php5enmod: command not found root:~#' –  Guardian Jul 10 at 18:48

1 Answer 1

up vote 1 down vote accepted

php5enmod was introduced in Debian in version 5.4.0~rc6-2 of the package php5 (see the changelog, Ctrl+F is your friend). Since Ubuntu packages are imported from Debian, it is only available in PHP 5.4+ packages in Ubuntu as well.

share|improve this answer
    
i looked up upgrading from 5.3 to 5.4 and it fixed the problem, thank you! –  Guardian Jul 10 at 20:54

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.