From OpenWetWare

Jump to: navigation, search


Wiki Notes

mySQL backup website

Consult the User's Guide for information on using the wiki software.

Web Server

The wiki is run on Bidwell using MAMP. This server provides easy configuration of Apache, mySQL, and PHP. The program and configuration files are stored in /Applications/MAMP/. The application can be opened from Finder or from command line. Do NOT run MAMP as a super user (Apache has issues with this).


Occasionally Apache or mySQL will not start when the program is opened from Finder (the red light stays on after clicking Start Servers). In this case, run MAMP from the command line:



This is the web server. The hosted webpages are stored in ./htdocs.

Currently the server is prohibited from hosting on port 80 (probably a UT firewall issue).

mySQL and PHP

mySQL is a database server. Mediawiki's database, wikidb, stores all the text information in the wiki. There are php scripts in the ./htdocs/mediawiki/ folder that update the SQL database with each new entry.

phpMyBackupPro is another PHP program running on Bidwell. It is set to automatically store wikidb on /Volumes/data9/mediawiki_backup/. Previous databases can be restored on the local webpage [[1]].


MediaWiki is installed in the htdocs folder contained in the MAMP folder. The uploads have been turned on by setting $wgEnableUploads = true.

Imagemagick has also been installed via fink to scale uploaded pictures easily. The path for imagemagick was set using $wgImageMagickConvertCommand = "/sw/bin/convert";

Personal tools