Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Installing PHP extensions with Ubuntu Server 7.04
 
Anand
Jr. Member
 
Total Posts:  23
Joined:  2007-08-31
 

According to http://www.magentocommerce.com/system-requirements, there are a couple of extensions that need to be installed.
I only need to install PDO/MySQL, mhash and mcrypt. The other extensions are installed by default.
I use Ubuntu Server 7.04.

If I want to install mcrypt for PHP, can I just do this?:

apt-get install php5-mcrypt

Or do I have to install it like the examples at ONLAMP (http://www.onlamp.com/pub/a/php/2001/07/26/encrypt.html?page=3)?
They use:
1. Download the Mcrypt library
2. gunzip mcrypt-x.x.x.tar.gz
3. tar -xvf mcrypt-x.x.x.tar
4. ./configure --disable-posix-threads
5. make
6. make install
7. cd to your PHP directory.
8. ./configure -with-mcrypt=[dir] [--other-configuration-directives]
9. make
10. make install

The first option seems the easiest one, but I don’t know if that’s the correct one.

 
Magento Community Magento Community
Magento Community
Magento Community
 
Andreas V.
Jr. Member
 
Total Posts:  1
Joined:  2007-10-06
 

if it’s possible use the apt-get method.

downloading the source and compiling it means that you have to do this for each new version.

maybe you have to active universe or multiverse sources in your sources.list ...

... but this forum is for sure not the right place to discuss this… there are many sites describing how to ...

... for german users: wiki.ubuntuusers.de

 
Magento Community Magento Community
Magento Community
Magento Community
 
bschmalz
Jr. Member
 
Total Posts:  16
Joined:  2007-09-17
Colorado Springs
 

... for german users: wiki.ubuntuusers.de

fricking Germans!

 
Magento Community Magento Community
Magento Community
Magento Community
 
Anand
Jr. Member
 
Total Posts:  23
Joined:  2007-08-31
 

I installed it using

apt-get install php5-mcrypt
apt
-get install php5-mhash

For the PDO/Mysql I used this article:
http://paradigma.pt/ja/slog/index.php/2006/10/pdo_mysql_ubuntu_error_fixed.html

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top