• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 780
  • Last Modified:

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?
0
firstnetsupport
Asked:
firstnetsupport
  • 3
  • 2
2 Solutions
 
larsrohrCommented:
Try an update first:
 apt-get update
 apt-get install php5-mcrypt

If that doesn't work, please show us the output of:
 lsb_release -a
and the contents of /etc/apt/sources.list
0
 
firstnetsupportAuthor Commented:
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?
0
 
larsrohrCommented:
I think you may just need to enable the module with:
 sudo a2enmod php5-mcrypt
0
 
larsrohrCommented:
Or possibly just restarting apache.
 sudo /etc/init.d/apache2 restart
0
 
firstnetsupportAuthor Commented:
Thanks for your help on this one its now working like a dream...
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now