Print Search
Content Actions
Wiki Search
Random Art
Update
 
(php.ini)
 
(5 intermediate revisions 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 ===
  
; Download [http://httpd.apache.org/download.cgi Apache httpd]
+
; Download [http://httpd.apache.org/download.cgi Apache httpd 2.0.x]
  
 
  ./configure  
 
  ./configure  
Line 30: Line 49:
 
=== PHP5 Setup ===
 
=== PHP5 Setup ===
  
; Download [http://www.php.net/downloads.php PHP]
+
; Download [http://www.php.net/downloads.php PHP 5.x]
  
 
  ./configure  
 
  ./configure  
Line 61: Line 80:
 
   
 
   
 
  make install
 
  make install
 +
 +
==== libjpeg ====
 +
 +
If you need it, [http://freshmeat.net/projects/libjpeg/ Get libjpeg here]
 +
 +
For OSX Use [http://ethan.tira-thompson.com/Mac%20OS%20X%20Ports.html this]
  
 
=== MySql Setup ===
 
=== MySql 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