Print Search
Content Actions
Wiki Search
Random Art
Update
(Pear Setup)
(php.ini)
 
Line 19: Line 19:
  
 
  short_open_tag = On
 
  short_open_tag = On
 
+
magic_quotes_gpc = On
  
 
==== Pear Setup ====
 
==== Pear 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