Table of Contents

Apache and PHP

(tested for Minix3 version 3.1.4-pre)

Using packman

Install Apache and PHP via packman.

Additional steps

Currently, installation doesn't have a php.ini file and httpd.conf is incomplete.

Copy file http://svn.php.net/repository/php/php-src/branches/PHP_5_2/php.ini-dist to /usr/local/lib/gcc/php.ini

Edit /usr/local/apache/conf/http.conf and after

AddType application/x-tar .tgz

add

AddType application/x-httpd-php .php

Starting Apache

/usr/local/apache/bin/apachectl start

Viewing phpinfo()

Add a file phpinfo.php in /usr/local/apache/htdocs

<?php
  phpinfo();
?>

Open browse and type

  http://localhost/phpinfo.php