I am trying to do a fresh install of Moodle 2.3.2 on a Linux server.
- WHM 11.32.4 (build 14)
- CENTOS 5.8 x86_64 virtuozzo on vps
- cPanel 11
- MySQL 5.1.63
- MySQL client version: 4.1.22
- PHP 5.4.8
- phpMyAdmin Version 3.4.10.1
- PHP memory limit is 2048.(The reason for the high PHP limit is because I am running WordPress on my main site and of course Moodle is PHP as well. So, my workload is PHP based.)
When Moodle does the server check, I meet the minimum requirements but it says that I should install SOAP, INTL, and XMLRPC.
As far as SOAP goes, I am unsure if it is the plugin or application it is wanting. I installed SOAP (plugin) under Perl PHP I think it was. But it is not affecting the Moodle install for some reason. I’m not sure how to install xmlrpc or add the php_extension of intl. I tried editing the php_extension under the PHP Configuration Editor but it didn’t work. Here is what I have as extensions. pdo.so, pdo_sqlite.so, sqlite.so, pdo_mysql.so, mysqli.so, xmlrpc, SOAP
Will any of these issues affect my install since they are “recommended” and not “required”?
Now to the root of my issues… When I try to install Moodle 2.3.2 it gives me a DDL sql execution error. I’ve deleted the database and started over. I’ve also removed the Moodle install and started over several times. Right now, I am at a loss. I tried installing 2.2.5 but it said something about the database is newer than the Moodle code or something like that. I cannot go backwards in MySQL because my server doesn’t support it. So, right now I am at MySQL 5.1.63 and I am stuck with it unless I go to My SQL 5.5. So, that isn’t going to help me out.
Here is what I get when I try installing 2.3.2+
DDL sql execution error
More information about this error
It is usually not possible to recover from errors triggered during installation, you may need to create a new database or use a different database prefix if you want to retry the installation.
Debug info: Table 'mdl_config' already exists CREATE TABLE mdl_config (id BIGINT(10) NOT NULL auto_increment,
name VARCHAR(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL DEFAULT '', value LONGTEXT CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL, CONSTRAINT PRIMARY KEY (id)) ENGINE = MyISAM DEFAULT CHARACTER SET utf8 DEFAULT COLLATE = utf8_unicode_ci
Error code: ddlexecuteerror
Stack trace:
- line 413 of /lib/dml/moodle_database.php: ddl_change_structure_exception thrown
- line 803 of /lib/dml/mysqli_native_moodle_database.php: call to moodle_database->query_end()
- line 88 of /lib/ddl/database_manager.php: call to mysqli_native_moodle_database->change_database_structure()
- line 77 of /lib/ddl/database_manager.php: call to database_manager->execute_sql()
- line 404 of /lib/ddl/database_manager.php: call to database_manager->execute_sql_arr()
- line 356 of /lib/ddl/database_manager.php: call to database_manager->install_from_xmldb_structure()
- line 1423 of /lib/upgradelib.php: call to database_manager->install_from_xmldb_file()
- line 184 of /admin/index.php: call to install_core()
Here's where I've been to resolve this issue.
http://docs.moodle.org/23/en/error/moodle/ddlexecuteerror
http://tracker.moodle.org/secure/IssueNavigator.jspa?pager/start=0
Any ideas would be greatly appreciated!
Please note that I am the server Administrator and I am not an expert at Linux servers. If I know where to go to fix things I can. So, if you are going to tell me how to change something, please be as detailed as possible.
Thanks,
Brian