Pear is it or isnt it?

Status
Not open for further replies.

replaya

New Member
Messages
7
Reaction score
0
Points
0
Hi

Can anyone tell me if Pear is enabled in PHP version 5.2.0? if not would it be possible to enable it please?


Thanks in advance :)
 

Chris Z

Active Member
Messages
5,603
Reaction score
0
Points
36
I believe we do have pear installed on all version of PHP, but you might wanna check with Brandon.
 

Brandon

Former Senior Account Rep
Community Support
Messages
19,181
Reaction score
28
Points
48
Yes Pear is installed in the Intermediate and Advanced versions of PHP, which is 5.2.5.
 

replaya

New Member
Messages
7
Reaction score
0
Points
0
Thanks for getting to me I really appreciate.. I just wondering I am on the php basic hosting adfree

and

According to http://magento.exofire.net/magento-check.php (magento commerce application) it saying that i need MySQL 4.1.20 (or greater) but in my the phpmyadmin says im using MySQL client version: 4.1.22...

could you just clarify that I am...

thanks in advance
 

Christopher

Retired
Messages
14,659
Reaction score
8
Points
0
Can you please post line 28 of /home/replaya/public_html/magento-check.php here.
 

replaya

New Member
Messages
7
Reaction score
0
Points
0
Hi Chris....

here you go mate....i highlighted in orange


<?
extension_check(array(
'curl',
'dom',
'gd',
'hash',
'iconv',
'mcrypt',
'pcre',
'pdo',
'pdo_mysql',
'simplexml'
));

function extension_check($extensions) {
$fail = '';
$pass = '';

if(version_compare(phpversion(), '5.2.0', '<')) {
$fail .= '<li>You need<strong> PHP 5.2.0</strong> (or greater)</li>';
}
else {
$pass .='<li>You have<strong> PHP 5.2.0</strong> (or greater)</li>';
}

if(!ini_get('safe_mode')) {
$pass .='<li>Safe Mode is <strong>off</strong></li>';
preg_match('/[0-9]\.[0-9]+\.[0-9]+/', shell_exec('mysql -V'), $version);

if(version_compare($version[0], '4.1.20', '<')) {
$fail .= '<li>You need<strong> MySQL 4.1.20</strong> (or greater)</li>';
}
else {
$pass .='<li>You have<strong> MySQL 4.1.20</strong> (or greater)</li>';
}
}
else { $fail .= '<li>Safe Mode is <strong>on</strong></li>'; }

foreach($extensions as $extension) {
if(!extension_loaded($extension)) {
$fail .= '<li> You are missing the <strong>'.$extension.'</strong> extension</li>';
}
else{ $pass .= '<li>You have the <strong>'.$extension.'</strong> extension</li>';
}
}

if($fail) {
echo '<p><strong>Your server does not meet the following requirements in order to install Magento.</strong>';
echo '<br>The following requirements failed, please contact your hosting provider in order to receive assistance with meeting the system requirements for Magento:';
echo '<ul>'.$fail.'</ul></p>';
echo 'The following requirements were successfully met:';
echo '<ul>'.$pass.'</ul>';
} else {
echo '<p><strong>Congratulations!</strong> Your server meets the requirements for Magento.</p>';
echo '<ul>'.$pass.'</ul>';

}
}
?>
 
Status
Not open for further replies.
Top