Difference between revisions of "OSX"
Jump to navigation
Jump to search
| Line 1: | Line 1: | ||
| − | |||
== Installing MediaWiki on IBook == | == Installing MediaWiki on IBook == | ||
| Line 11: | Line 10: | ||
** I sort of finally gave up on this recipe after I had a look on [http://www.dannychoo.com/blog_entry/eng/74/Building+and+installing+PHP+with+GD+on+OSX+Tiger/ this site]. So I am continued following instructions on [http://www.phpmac.com/articles.php?view=209 this phpmac.com] page. Basically amounts to have to install libjpeg and libpnp from the source.. | ** I sort of finally gave up on this recipe after I had a look on [http://www.dannychoo.com/blog_entry/eng/74/Building+and+installing+PHP+with+GD+on+OSX+Tiger/ this site]. So I am continued following instructions on [http://www.phpmac.com/articles.php?view=209 this phpmac.com] page. Basically amounts to have to install libjpeg and libpnp from the source.. | ||
| + | |||
| + | |||
| + | ==to have color syntax highlight in vi / vim for editin php== | ||
| + | *[http://groups.google.com/group/comp.editors/browse_thread/thread/c4f78fa9c8649512/b9495598975c4e59?lnk=st&q=osx+terminal+colors&rnum=6&hl=en#b9495598975c4e59 google groups article] | ||
| + | *download php.vim from www.vim.org and put it in ~/vim/syntax | ||
Revision as of 22:10, 2 July 2006
Installing MediaWiki on IBook
- I started with this MediaWiki page
- To install MediaWiki on my IBook I needed GD support in my php. That meant recompilation. I went to http://developer.apple.com/internet/opensource/php.html] and followed instructions, starting with php source download.
- To have GD functioning, you need to install graphic libraries (libjpeg, libtiff,libpng). To do this, according to instructions you need Fink. I downloaded Fink binary but got error "This Fink Installer is for OS X 10.4 only", despite running exactly that version on my IBook. After Software Upgrade (Finder > Software Update) to 10.4.6, Fink installation went fine.
- Another obstacle in following the above recipe I found with libpng. Installation of libjpeg and libtiff, using Fing, went fine. However, after executing, as suggested, 'shell> sudo /sw/bin/fink install libpng', I got 'Failed: no package found for specification 'libpng'!'. After a Google search I decided to shell> sudo /sw/bin/fink install libpng3'.
- I sort of finally gave up on this recipe after I had a look on this site. So I am continued following instructions on this phpmac.com page. Basically amounts to have to install libjpeg and libpnp from the source..
to have color syntax highlight in vi / vim for editin php
- google groups article
- download php.vim from www.vim.org and put it in ~/vim/syntax