Moodle 2 DB Test PDF Print E-mail
User Rating: / 0
PoorBest 
Written by Ken Task   
Tuesday, 18 October 2011 13:20
AddThis Social Bookmark Button
Moodle 2 has under Development a 'Functional DB test' link.
In order to get fullest use, must install xdebug for php.
Here's how:
Download: http://xdebug.org/download.php
(I downloaded the 2.1.2 source [a tar.gz for a CentOS server] and compiled but there are binaries for Windows.)

http://moodle.tcea.org/docs/xdebugreadme.txt

NOTE: extensions for php on CentOS box are in:
/usr/lib/php/modules/

To find where other such .so files might reside on your system:
find / -name mysql.so

To see if xdebug successfully installed as an extension to php, run the Server -> PHP Info and
look for xdebug section.

Also, need to add a line to your php.ini to load the xdebug extension as a zend extension in the Dynamic Extensions section of php.ini

zend_extension='/usr/lib/php/modules/xdebug.so'

Test to see if loaded properly:
php -m

at the bottom of the output of showing modules loaded one will see:

[Zend Modules]
Xdebug

Then access the version 2 Moodle as an admin level user and try out the DB test.

'spirit of sharing', Ken
Last Updated on Tuesday, 18 October 2011 14:22
 
 
Total Views: 426