error: You need MySQL 4.1.20 (or greater)

Status
Not open for further replies.

goldrhin

New Member
Messages
3
Reaction score
0
Points
1
Hi,

I'm trying to install Magento. I uploaded the magento-check.php file which tests whether it can run on this server. It returns the following results:

Warning: shell_exec() has been disabled for security reasons in /home/goldrhin/public_html/magento-check.php on line 28
Your server does not meet the following requirements in order to install Magento.
The following requirements failed, please contact your hosting provider in order to receive assistance with meeting the system requirements for Magento:
  • You need MySQL 4.1.20 (or greater)
The following requirements were successfully met:
  • You have PHP 5.2.0 (or greater)
  • Safe Mode is off
  • You have the curl extension
  • You have the dom extension
  • You have the gd extension
  • You have the hash extension
  • You have the iconv extension
  • You have the mcrypt extension
  • You have the pcre extension
  • You have the pdo extension
  • You have the pdo_mysql extension
  • You have the simplexml extension
What doesn't make sense to me is that this server says it's running MySQL 5.1.70... Can anyone explain what's going on here?
 

essellar

Community Advocate
Community Support
Messages
3,295
Reaction score
227
Points
63
Sure: the version check for MySQL relies on shell_exec(), which is disabled (as noted in the warning).
 

essellar

Community Advocate
Community Support
Messages
3,295
Reaction score
227
Points
63
No, it doesn't. There will be a problem with some add-ons/plugins that rely on unsafe functions, but the basic suite will run. (Not tremendously well; it's happier with a lot more memory than Free Hosting provides, but it will run. Don't expect it to be able to handle an Amazon-scale business though.) For ordinary access to the database, Magento uses PDO (PHP Data Objects), and it will use some query semantics (commands, essentially) that won't work on MySQL versions older than 4.2.

It's only the version check in the magento_check.php file that requires shell_exec() to be enabled. It doesn't require setting up a database and looking at the way queries behave, so you can run the check script without committing to anything first.
 

goldrhin

New Member
Messages
3
Reaction score
0
Points
1
No, it doesn't. There will be a problem with some add-ons/plugins that rely on unsafe functions, but the basic suite will run. (Not tremendously well; it's happier with a lot more memory than Free Hosting provides, but it will run. Don't expect it to be able to handle an Amazon-scale business though.) For ordinary access to the database, Magento uses PDO (PHP Data Objects), and it will use some query semantics (commands, essentially) that won't work on MySQL versions older than 4.2.

It's only the version check in the magento_check.php file that requires shell_exec() to be enabled. It doesn't require setting up a database and looking at the way queries behave, so you can run the check script without committing to anything first.

OK, thanks for the clear response. I had troubles running the Magento auto-installer, it failed. I've heard a few times now that Magento is too heavy for free hosting and too tricky for newbies, so now I'm going with OpenCart.
 
Status
Not open for further replies.
Top