Trying to setup a server to test a magento shopping cart. I thought I had everything setup but apparently not. When I try to configure a new magento cart I get this warning: PHP extension “mcrypt” must be loaded.
I’m unable to continue because of this.
My droplet is ubuntu 14.04
apt-get install apache2 php5 php5-mcrypt php5-gd php5-curl libapache2-mod-php5 mysql-server mysql-client php5-mysql libapache2-mod-suphp vftpd
my suphp.conf reads like this
<IfModule mod_suphp.c>
AddType application/x-httpd-suphp .php .php3 .php4 .php5 .phtml
suPHP_AddHandler application/x-httpd-suphp
<Directory />
suPHP_Engine on
</Directory>
This droplet is replacing an old server that was configured a couple of years back. I always had permission problems until someone installed suphp for me. Although suphp wasn’t installed till quit some time after the previous server was provisioned so not sure if I should just temporarily disable suphp just to proceed and then enable it after, or if I’m just not configured properly.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Make sure php5-mcrypt is enabled: <br> <br><pre> <br>sudo php5enmod mcrypt <br>sudo service apache2 restart <br></pre>
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.