![]() ![]()
If your moodle htdocs folder, moodle data folder or MySQL database have different names than those found in the Moodle4Mac generic install, make the appropriate changes above.Ģ. Enter and replace all instances of (if 8888 was your default web port) with Notes and Disclaimersġ. if images and/or other documents do not appear, complete the next step.Ģ. Check to see that your website works properly for your specified url …. NB … If you use phpmyadmin, Navicat or another MySQL management tool, you can add a user to the mysql database (such as user/pass: moodle/moodle) assign this user priviledges for the moodle19 database, and then use those credentials for dbuser and dbpass above)ġ. $CFG-> dataroot = ' /myMAMP/data/moodle19' $CFG->wwwroot = ' $CFG-> dirroot = ' /myMAMP/htdocs/moodle19' try this wwwroot if you want to open Moodle4Mac for intranet or internet Make the following changes: to your config.php file Locate the Moodle config file in /myMAMP/htdocs/moodle19 (or whatever your Moodle folder is called)Ģ. Make this new moodle19 folder read/write by everyone (using the Get Info info box for this folder) authenticate and apply to enclosed items.ġ. Copy /Applications/MAMP-old/db/mysql/moodle19 (for example) to Your Hard Drive's /Library/Application Support/appsolute/MAMP Pro/db/mysql/ folderĢ. Open UpdateMooodle19.sh in Textwrangler (or another text editor) change cd /Applications/MAMP/htdocs/moodle19/ to cd /myMAMP/htdocs/moodle19/ save the fileġ. Change the log file for PHP to /myMAMP/php_error.logħ. Change the log file for mysql to /myMAMP/logs/mysql_error_log.errĦ. Change the log file for Apache to /myMAMP/logs/apache_error_logĥ. Change the Hosts: localhost location to /myMAMP/htdocs (and do the same for any other Hosts, including your external url name)Ĥ. MAMP APACHE LOGS PASSWORDChange the MySQL root password for mysql to something other than root (I'll use " moodlepassword" for an example)ģ. MAMP APACHE LOGS PROLaunch the new version of MAMP and insure that MAMP Pro (and not Moodle at this point in time) is running properly for your chosen ports (80/3306 is recommended for external web access)Ģ. Path Changes Required for MAMP Pro 1.9.6.1ġ. Change permissions on your data (or moodledata) folder and make it read/write by everyone (using the Get Info info box for this folder) authenticate and apply to enclosed items. ![]() Create a folder called logs in myMAMP and make it read/write by everyone (using the Get Info info box for this folder) authenticate and apply to enclosed items.ĥ. MAMP APACHE LOGS UPDATEFor Moodle only: Move/copy Moodle data (or moodledata) folder, and Moodle CVS update shell script(s) to myMAMP folderĤ. For any MAMP website: Move/copy htdocs folder from the old MAMP folder to the myMAMP folderģ. Create a new folder at root level of the hard drive called myMAMPĢ. ![]() MAMP APACHE LOGS UPGRADEthus making it easier to upgrade MAMP Pro with future releases)ġ. Copy MAMP and MAMP Pro 1.9.6.1 to the /Applications folderĬreate myMAMP folder and move resources to it (so as to isolate your web folders and data from MAMP Pro itself …. Rename the /Applications/MAMP folder to MAMP-oldģ. MAMP APACHE LOGS MAC OS XIf you intend to run CVS updates on your Moodle code, install an appropriate version of Xcode to enable that functionality on your Mac OS X client machine that you are using as a serverġ. Download the latest version of MAMP Pro from ģ. If you can, clone the entire bootable drive using Carbon Copy Cloner, SuperDuper!, or the likeĢ. ![]() Backup your MAMP installation (this may require authentication as some files are owned by the mysql user) …. Preflight Steps to replacing MAMP with MAMP Proġ. The database is located outside of the MAMP folder by MAMP Pro itself. I purposely moved the Moodle htdocs folder, data folder, logs, and update script outside of the MAMP folder to facilitate future updates to MAMP Pro. You should be able to make the adjustments for Moodle 2.1 beta, ignoring the changes to a real url, if you only want to run a 2.1 beta install locally. It assumes live data that you do not want to lose. Below are steps that I put together for getting a production version of Moodle 1.9 (originally designed in Moodle4Mac's MAMP build) to run under MAMP Pro. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |