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

Problem with curl and mcrypt on Windows XP
 
bendtsen
Jr. Member
 
Total Posts:  17
Joined:  2007-09-23
 

Hi

Im trying to install magento on a windows XP with AppServ wamp. Im currently stuck in the install step 2.

I get the errors:

PHP Extension “mcrypt” must be loaded
PHP Extension “curl” must be loaded

Im sure the dll’s are in my extensions folder and I have removed the ; in my php.ini file.

Anyone else have this problem, is something else needed for these extensions?

/Bendtsen

 
Magento Community Magento Community
Magento Community
Magento Community
 
Henry Schmieder
Jr. Member
 
Total Posts:  6
Joined:  2007-09-13
Germany
 

Are sure, these extensions are properly loaded ? What says phpinfo() ?

 
Magento Community Magento Community
Magento Community
Magento Community
 
bendtsen
Jr. Member
 
Total Posts:  17
Joined:  2007-09-23
 

Hi

I just found a solution to this problem - I had to copy some dll files to my c:\windows\system32 directory

for phpcurl libeay32.dll and ssleay32.dll are needed

for mcrybt libmcrypt.dll is needed.

/Bendtsen

 
Magento Community Magento Community
Magento Community
Magento Community
 
Morales2k
Jr. Member
 
Total Posts:  2
Joined:  2007-12-02
 

Hello, I have a very similar problem… my magento install says that I have to load those modules, or extensions… however, i cannot seem to make that happen, i am using xampp in its latest release for windows xp. Unfortunately i have to use this local installation to show magento to my potential clients, fiends etc.  and if I cannot make it happen locally i think there is less chance my host will… last i checked godaddy does not have php 5.2 on their linux package, so i will have to request an upgrade or something… locally however, i have the latest in php/mysql so i think magento should run… right after i manage to load these two pieces of the puzzle…

any help/pointers will be greatly appreciated.

 
Magento Community Magento Community
Magento Community
Magento Community
 
YoavKutner
Guru
 
Avatar
Total Posts:  491
Joined:  2007-08-08
 

Morales2k - did you follow installation instructions here?

Thanks

yoav

 
Magento Community Magento Community
Magento Community
Magento Community
 
Theycallmeaustin
Jr. Member
 
Avatar
Total Posts:  5
Joined:  2007-08-31
Wichita, KS.
 

Morales2k -
go to the /xampp/apache/bin/php.ini
and then find the module names and uncomment them.
eg.
commented:  ;module.dll
uncommented:  module.dll

 
Magento Community Magento Community
Magento Community
Magento Community
 
Brian Depew
Jr. Member
 
Total Posts:  8
Joined:  2008-02-15
 

man i must be missing something, I am getting these same errors and I still cant past it, did everything these said to do and here I am still with the curl and mcrypt , is there a way to find out if they are loading/loaded with the php info page?

should they be there some where?

 
Magento Community Magento Community
Magento Community
Magento Community
 
ianj
Jr. Member
 
Avatar
Total Posts:  4
Joined:  2008-03-05
 

Any one using Wamp Server:

1. Click on the wamp system tray icon

2. Go to PHP -> PHP Extensions

3. Select php_curl and php_mcrypt

4. Restart Wamp (if it doesn’t automatically)

And that should be it fixed!

 
Magento Community Magento Community
Magento Community
Magento Community
 
Brian Depew
Jr. Member
 
Total Posts:  8
Joined:  2008-02-15
 

I try that and get “could not execute menu item (internal error) Exception couldn not perform service action, the rquested control is not valid for this service”

this is my php.ini file
“;extension=php_bz2.dll
extension=php_curl.dll
;extension=php_dba.dll
;extension=php_dbase.dll
;extension=php_exif.dll
;extension=php_fdf.dll
extension=php_gd2.dll
;extension=php_gettext.dll
;extension=php_gmp.dll
;extension=php_ifx.dll
;extension=php_imap.dll
;extension=php_interbase.dll
;extension=php_ldap.dll
extension=php_mbstring.dll
;extension=php_mcrypt.dll
;extension=php_mhash.dll
;extension=php_mime_magic.dll
;extension=php_ming.dll
;extension=php_msql.dll
;extension=php_mssql.dll
extension=php_mysql.dll
extension=php_mysqli.dll
;extension=php_oci8.dll
;extension=php_openssl.dll
extension=php_pdo.dll
;extension=php_pdo_firebird.dll
;extension=php_pdo_mssql.dll
extension=php_pdo_mysql.dll
;extension=php_pdo_oci.dll
;extension=php_pdo_oci8.dll
;extension=php_pdo_odbc.dll
;extension=php_pdo_pgsql.dll
;extension=php_pdo_sqlite.dll
;extension=php_pgsql.dll
;extension=php_pspell.dll
;extension=php_shmop.dll
;extension=php_snmp.dll
;extension=php_soap.dll
;extension=php_sockets.dll
extension=php_sqlite.dll
;extension=php_sybase_ct.dll
;extension=php_tidy.dll
;extension=php_xmlrpc.dll
;extension=php_xsl.dll
;extension=php_zip.dll”

also, Installing on a linux server everything was going fine but im getting this error “Path “/var/www/vhosts/suppliessaver.com/httpdocs/var/session/sess_j6dfllhtl4ghqj74ddirqojtv5” must be writable”
permissions on linux are “600” right now, i try to change to “777” and it says “550 operation not permitted”

any ideas?>

 
Magento Community Magento Community
Magento Community
Magento Community
 
Brian Depew
Jr. Member
 
Total Posts:  8
Joined:  2008-02-15
 

actually those WAMP instrcutions worked, thanks!! still need the other help if anyone has suggestions, thanks.

 
Magento Community Magento Community
Magento Community
Magento Community
 
jkpd
Jr. Member
 
Total Posts:  2
Joined:  2009-05-13
 

Thank you Bendtsen for the solution.
It worked!
Also if someone has the same problem with pdo_mysql don’t forget to load php_pdo.dll as well along with the php_pdo_mysql.dll of course!

 
Magento Community Magento Community
Magento Community
Magento Community
 
Appmerce
Guru
 
Avatar
Total Posts:  376
Joined:  2008-05-13
Amsterdam, The Netherlands
 

How I got mcrypt on Linux/Ubuntu 8.0.4:

Access SSH, so you get a command line (that black screen like MS DOS). Login as a root user (username: root). Now you have to enter a bunch of commands to get what you want, mcrypt for php on linux.

Command #1 - will give you PEAR, needed to install the rest.

lynx -source http://pear.php.net/go-pear | php

Command #2: now you need the php5-dev package first, to do cool stuff, (assuming pear was installed in /root/bin/pear):

apt-get install php5-dev

Command #3: get mcrypt

sudo apt-get install php5-mcrypt

Restart your web server.

I took me a few hours to figure it all out. No wonder people like Windows more than Linux.... I install mcrypt on windows in a few minutes…

At least I got it working now.

 
Magento Community Magento Community
Magento Community
Magento Community
 
vaultdweller123
Jr. Member
 
Total Posts:  1
Joined:  2010-08-31
 
ianj - 06 March 2008 04:35 AM

Any one using Wamp Server:

1. Click on the wamp system tray icon

2. Go to PHP -> PHP Extensions

3. Select php_curl and php_mcrypt

4. Restart Wamp (if it doesn’t automatically)

And that should be it fixed!

thank you man, my problem was solved

 
Magento Community Magento Community
Magento Community
Magento Community
 
tanimgt
Jr. Member
 
Total Posts:  1
Joined:  2011-10-10
 

Just goto php.ini file in the xampp/php folder and uncomment the line -> extension=php_curl.dll , by removing the ‘ ; ‘ infront of the line and you can able to load the php curl successfully. enjoy cheese

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