Daily Crumbs

April 13th, 2007

Setting up Apache 2, Mysql 5.0, PHP 5 on OS X

Posted by Administrator in Observations | Edit

I.Apache

httpd-2.2.4.tar.gz
(You will need xcode developer tools installed to avoid having error when compiling apache, cd comes allow with your mac machine)

$ ./configure—prefix=PREFIX $ make $ make install $ PREFIX/bin/apachectl start

PREFIX is where you want apache to be installed

II. Mysql
Download Mysql

in ~/.profile
update PATH:
:/usr/local/mysql/bin/

III. PHP
download: PHP

Inside your php folder(/usr/local/src/php-5.2.1) run:


./configure—prefix=/usr/local/php5—with-apxs2=/usr/local/bin/apxs—with-mysql=/usr/local/mysql

(ref: APXS - a tool for building and installing extension modules for the Apache HyperText Transfer Protocol (HTTP) server.)

make
make install

Reconfigure Apache to include PHP (add to /usr/local/conf/httpd.conf)

update PATH:
:/usr/local/php5/bin/

AddType application/x-httpd-php .php

AddType application/x-httpd-php-source .phps

LoadModule php5_module modules/libphp5.so

April 13th, 2007

High Executive Compensation - Why do we object?

Posted by Administrator in Observations | Edit
April 13th, 2007

The United States - last in globalization WHY?

Posted by Administrator in Observations | Edit
April 13th, 2007

WTO, The World Bank, and the International Monetary Fund - the wolf inside the sheep skin

Posted by Administrator in Observations | Edit
RIGHTSIDE