Print Search
Content Actions
Wiki Search
Random Art
Update
(libjpeg)
(php.ini)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
  
  
=== Pear Setup ===
+
== Basics ==
 +
 
 +
EB Requires
 +
 
 +
# ImageMagick
 +
# PHP 5+
 +
# MySQL
 +
# Apache
 +
 
 +
=== OSX Tips ===
 +
 
 +
; [http://www.entropy.ch/software/macosx/ This site is most helpful!]
 +
 
 +
=== PHP Setup ===
 +
 
 +
==== php.ini ====
 +
 
 +
short_open_tag = On
 +
magic_quotes_gpc = On
 +
 
 +
==== Pear Setup ====
  
 
Pear should already be installed, so we just need to add some packages to it.
 
Pear should already be installed, so we just need to add some packages to it.
Line 10: Line 30:
 
  pear install File_PDF-beta
 
  pear install File_PDF-beta
 
  pear install HTML_AJAX-beta
 
  pear install HTML_AJAX-beta
 
  
 
=== Apache Setup ===
 
=== Apache Setup ===

Latest revision as of 13:18, 18 January 2007


Basics

EB Requires

  1. ImageMagick
  2. PHP 5+
  3. MySQL
  4. Apache

OSX Tips

This site is most helpful!

PHP Setup

php.ini

short_open_tag = On
magic_quotes_gpc = On

Pear Setup

Pear should already be installed, so we just need to add some packages to it.

pear install DB
pear install MDB2
pear install Log
pear install File_PDF-beta
pear install HTML_AJAX-beta

Apache Setup

Download Apache httpd 2.0.x
./configure 
  --prefix=/usr/local/apache2 
  --enable-modules=all 
  --enable-mods-shared=all 
  --enable-so 
  --enable-static-support 
  --enable-ssl 
  --enable-proxy 
  --enable-deflate

make install

PHP5 Setup

Download PHP 5.x
./configure 
  --prefix=/usr/local/php5 
  --with-apxs2=/usr/local/apache2/bin/apxs 
  --enable-memory-limit 
  --with-layout=GNU 
  --with-regex=php 
  --with-pear 
  --enable-exif 
  --with-gd 
  --enable-mbstring 
  --with-mysql=/usr/local/mysql 
  --with-openssl 
  --enable-pcntl 
  --with-pcre-regex=yes 
  --enable-posix 
  --with-readline 
  --enable-session 
  --enable-shmop 
  --enable-sockets 
  --enable-tokenizer 
  --enable-xml 
  --with-xmlrpc 
  --enable-xslt 
  --with-zlib 
  --enable-simplexml 
  --with-sqlite 
  --enable-sqlite-utf8

make install

libjpeg

If you need it, Get libjpeg here

For OSX Use this

MySql Setup