HI,
I'm trying to install moodle on ubuntu server i got the screen of installation , the next screen where it checks for the software requirement it gives me this error,
Server checks
Name | Information | Report | Status |
---|---|---|---|
php | version 5.2.8 is required and you are running 5.2.4.2.5.17 | Check |
But the problem is That i've updated my php on server to 5.2.8 and also tried by updating it to 5.3.3 as well , but it still takes the same old version ,
Now i checked that the php on the server is updated by :
:~# php -v
PHP 5.2.8 (cli) (built: May 20 2011 13:04:25)
Copyright (c) 1997-2008 The PHP Group
---------------------------------------------------------------------------
:~#php5 -v
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20060613+lfs/memcache.so' - /usr/lib/php5/20060613+lfs/memcache.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20060613+lfs/imap.so' - /usr/lib/php5/20060613+lfs/imap.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20060613+lfs/ldap.so' - /usr/lib/php5/20060613+lfs/ldap.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20060613+lfs/mhash.so' - /usr/lib/php5/20060613+lfs/mhash.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP 5.2.4-2ubuntu5.17 with Suhosin-Patch 0.9.6.2 (cli) (built: May 4 2011 09:46:14)
Copyright (c) 1997-2007 The PHP Group
---------------------------------------------------------------------------------------------------------------------------
I feel that there are two php packages on the server and the moodle is taking the 5.2.4 pacakage as default , i'm not sure if this makes sense or not .
But the error it says that required 5.2.8 version php and the current version is 5.2.4, but i did upgrade to 5.2.8. I'm not sure which file needs to be edited for this , i have no much idea on PHP
Any help would be appreciated!