Link to home
Start Free TrialLog in
Avatar of firstnetsupport
firstnetsupportFlag for United Kingdom of Great Britain and Northern Ireland

asked on

installing mycrypt on ubuntu running on a virtual server

Hi guys i need to install mycrypt on a virtual server running Linux 2.6.38-11-server

I have SSH access only and i have tried using:

sudo apt-get install php5-mcrypt
 sudo /etc/init.d/apache2 restart

but i get:

:~# apt-get install php5-mcrypt /etc/init.d/apache2 restart
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package php5-mcrypt

this is on a fasthosts virtual server and im not sure what todo next?
ASKER CERTIFIED SOLUTION
Avatar of larsrohr
larsrohr
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of firstnetsupport

ASKER

that seemed to work, my web application is saying that The mcrypt module is not configured to load with PHP. Please review the instructions for enabling mcrypt in the PHP manual.

they are pointing me towards the following link

http://us.php.net/manual/en/mcrypt.installation.php

how do i find my php.ini file using ssh? and furthermore how to i edit it?
I think you may just need to enable the module with:
 sudo a2enmod php5-mcrypt
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks for your help on this one its now working like a dream...