diff options
| author | Arnaud Lafon | 2011-10-29 12:23:00 +0200 |
|---|---|---|
| committer | Adam Vandenberg | 2011-12-21 14:51:25 -0800 |
| commit | 37526e4e1a31459753b60d923b1b546e0db4c997 (patch) | |
| tree | 8387fe19e5424ef5f221d58110d0322dd583aca6 /Library | |
| parent | 3ff32c376d3c97c075e928612fb3119775c2b937 (diff) | |
| download | homebrew-37526e4e1a31459753b60d923b1b546e0db4c997.tar.bz2 | |
phpmyadmin 3.4.7
Quoted from official homepage : phpMyAdmin is a free software tool
written in PHP intended to handle the administration of MySQL over the
World Wide Web. phpMyAdmin supports a wide range of operations with
MySQL. The most frequently used operations are supported by the user
interface (managing databases, tables, fields, relations, indexes,
users, permissions, etc), while you still have the ability to directly
execute any SQL statement.
phpMyAdmin requires mcrypt for php which is not installed by default
on Lion. See pull request : https://github.com/mxcl/homebrew/pull/8339
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/phpmyadmin.rb | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/Library/Formula/phpmyadmin.rb b/Library/Formula/phpmyadmin.rb new file mode 100644 index 000000000..f74d0657b --- /dev/null +++ b/Library/Formula/phpmyadmin.rb @@ -0,0 +1,34 @@ +require 'formula' + +class Phpmyadmin < Formula + url 'http://downloads.sourceforge.net/project/phpmyadmin/phpMyAdmin/3.4.7/phpMyAdmin-3.4.7-all-languages.tar.gz' + homepage 'http://www.phpmyadmin.net/documentation' + md5 'b422d003ed6239bc9f96c02af6c66405' + version '3.4.7' + + depends_on 'mcrypt-php' + + def install + (share+'phpmyadmin').install Dir['*'] + end + + def caveats; <<-EOS.undent + Note that this formula will NOT install mysql. It is not + required since you might want to get connected to a remote + database server. + + Webserver configuration example (add this at the end of + your /etc/apache2/httpd.conf for instance) : + Alias /phpmyadmin #{HOMEBREW_PREFIX}/share/phpmyadmin + <Directory #{HOMEBREW_PREFIX}/share/phpmyadmin/> + Options Indexes FollowSymLinks MultiViews + AllowOverride All + Order allow,deny + Allow from all + </Directory> + Then, open http://localhost/phpmyadmin + + More documentation : file://#{share}/phpmyadmin/Documentation.html + EOS + end +end |
