Introduction
The installation procedure used here relied on ports. Please install ports.
It worked on FreeBSD 8.1
Ports work
- Install Apache 2.2
cd /usr/ports/www/apache22 && make install clean* Install PHP5 (5.3 worked. 5.2 failed!)
cd /usr/ports/lang/php5 && make install clean* You may- Install the required modules individually
for pkg in $(cat required_extensions);
do
dir=$(locate $pkg|head -n 1);
cd $dir && make install clean;
donewhere required_extensions can be generated from the ini list below and contains a string such as the one below per linephp5-mbstring
php5-filter* Or install php5-extensions from ports and disable unneeded extensions.
- Install the required modules individually
Here's a working extensions.conf;extension=pdo.so
;extension=pdo_sqlite.so
;extension=posix.so
extension=session.so
extension=simplexml.so
;extension=sqlite.so
;extension=tokenizer.so
;extension=xml.so
;extension=xmlreader.so
;extension=xmlwriter.so
;extension=zip.so
extension=zlib.so
extension=bz2.so
extension=ctype.so
extension=curl.so
extension=dom.so
extension=fileinfo.so
extension=filter.so
extension=ftp.so
extension=gd.so
extension=gettext.so
extension=hash.so
extension=iconv.so
extension=json.so
extension=mcrypt.so
extension=mssql.so
extension=mysql.so
extension=mbstring.so