Apache HTTP Server is an open source HTTP web server for Unix-like systems
(BSD, Linux, and UNIX systems), Microsoft Windows, and other platforms.
This is the fifth release of my port of Apache 1.3.34 to AmigaOS 4.0.
It includes support of PHP 5.1.1 and MySQL 3.23.58.
The previous version with PHP4-support is also included. It is possible to
run these two versions at the same time, so you can test your code under
both environments.
-----------------------------------------
New in this release:
* Includes latest version of PHP5. Following extensions are new in 5.1.1:
- PDO-extension for a consistent interface for accessing databases.
Includes these drivers:
- sqlite2 (V 2.8.16)
- sqlite (V 3.2.7)
- mysql (V 3.23.58)
- new date-extension with better timezone-support.
- updated SimpleXML-extension V 1.151.2.7
- updated SQLite-extension V 2.8.16
- updated PCRE-extension V 6.2
* Includes the myApacheStarter-package V1.0 from Michael Christoph.
Thanks to Michael!
* Added bcmath-extension for arbitrary precision mathematics functions.
* Added iconv-extension for character set conversion.
* Added Apache-info-module (mod_info) to get server configuration information.
* Lastest version of the mysql 3 client-library V 3.23.58 (PHP5 only).
* Fixed bug in strtol()- and strtoul()-function. Thanks again to Michael
Christoph!
* Recompiled with latest SDK an clib2.
-----------------------------------------
History:
1.3.33 php5:
* Apache has now a working cgi-module! The cgi-code was totaly rewritten
using AmigaDOS-functions and should be quite fast. Please notice the
"How to use CGI"-section.
* Added support of XSL. Allows to transform XML-files.
For more informations look here: http://xmlsoft.org/XSLT/
* Better performance!
* Added support of the strftime()-function.
* date()-function crashed when using option "r" - fixed.
Thanks to Aldur.
* Revised installer-script. Fixed some bugs and everything is now done by
the script. Thanks to Magham.
* New examples in the example-directory for XSL and CGI.
* Some minor bugfixes and optimations.
1.3.33b php5:
* Support of PHP 5.0.4 including the new zend-engine 2 !!
* New extensions in the php-module:
- SQLite: The new simple SQL database engine. It's now possible to create
web-pages with database-support under OS4 (V 2.8.14).
Important: This module is declared as experimental by the
PHP-group.
- dom: The extension allows you to operate on an XML document with the
DOM API.
- libxml: support of 'The XML C parser and toolkit of Gnome' (libxml2 -
V 2.6.19).
- SimpleXML: The SimpleXML extension provides a very simple and easily
usable toolset to convert XML to an object that can be pro-
cessed with normal property selectors and array iterators.
- soap: The SOAP extension can be used to write SOAP Servers and Clients.
(V 1.139.2.4)
- SPL: SPL is a collection of interfaces and classes that are meant to
solve standard problems.
* New examples in the example-directory.
* Fixed problem with global variables starting with '$_' like '$_SERVER'.
(in PHP4- and PHP5-version).
1.3.33b rc2:
* Supports now the latest version of PHP 4 :-)
* Added installer-script for easy installation.
Thanks to magham for his work.
* New extensions in the php-module:
- pdf: create your own pdf-documents on the fly!
Latest version 6.0.1 lite, copyright by PDFlib GmbH
(http://www.pdflib.com).
Example-scripts included.
- gd: new compiled in version 2.0.28 of gdlib.
create your own gfx on the fly!
Supports now GIF, JPG, PNG, WBMP, XBM and the Freetype2-library.
Freetype2 supports these font-types:
- truetype: TrueType font files
- type1, type42: Postscript Type 1 and 42 fonts, both in binary
(.pfb) or ASCII (.pfa) formats, including
Multiple Master fonts.
- cid: Postscript CID-keyed fonts
- cff: OpenType, CFF as well as CEF fonts (CEF is a derivative
of CFF used by Adobe in its SVG viewer)
- bz2: write and read bzip2-compressed streams.
- zlib: write and read zip-compressed streams.
* Added some example-php-files to show the functionality of some ex-
tentions. Look into the "Apache:htdocs/examples"-drawer.
To start them, type into your web-browser:
"http://localhost/examples/"
* Last version of httpd crashed, if you tried to execute a cgi-script
and then stopped the server - fixed.
* Last version of htpasswd had problems with md5-encrypted passwords -
fixed.
1.3.33 beta:
* initial release.
-----------------------------------------
Following binaries are included:
* httpd Apache hypertext transfer protocol server with
PHP5-support.
* httpd-php4 Apache hypertext transfer protocol server with
PHP4-support.
* htpasswd Create and update user authentication files.
* htdigest Create and update user authentication files.
* ab Apache HTTP server benchmarking tool.
* logresolve Resolve hostnames for IP-adresses in Apache logfiles.
* rotatelogs Rotate Apache logs without having to kill the server.
* checkgid Check, if a group-id exists.
* php Standalone PHP5-interpreter especially compiled for
this package.
* php4 Standalone PHP4-interpreter especially compiled for
this package.
-----------------------------------------
Installation:
a) with Installer:
Simply double-click the "Install_Apache"-icon.
b) by hand:
- Unpack the archive and copy the value to wherever you want.
(e.g.: "Work:Networking/").
- Add these lines to your user-startup:
;BEGIN Apache
Assign Apache: <your path>
Assign bin: Apache:bin ADD
Path Apache:bin ADD
;END Apache
- Open file "sys:Devs/Internet/groups" with a text-editor and add this
line:
NAME=www ID=45 USERS=www
- Open file "sys:Devs/Internet/users" with a text-editor and add this
line:
NAME=www UID=1001 GID=45 DIR=sys: SHELL=noshell
-----------------------------------------
Configure:
- Open the configuration-file "Apache:conf/httpd.conf" with a text-editor
(e.g. Notepad).
- Search for the line starting with "ServerName". Replace "foo" with your
network-name or with your IP of your amiga (Look at your internet-
preferences).
You don't need to edit the other settings, but it would be wise to edit these
settings:
- "ServerAdmin": Replace "foo()mail.de" with your own email-address.
- "DocumentRoot": If you don't want to store your content into
"Apache:htdocs", you can replace the path with your prefered one. If you do
so, you must change the line starting with '<Directory "/Apache/htdocs">'
too.
IMPORTANT: => All paths in the config-file have to be spelled in unix-
style!! You have to write "/Apache" instead of "Apache:".
=> If you choosed to install both versions of Apache (PHP4 +
PHP5), you will find two different versions of the main
config-file in 'Apache:conf/': httpd.conf for PHP5 and
httpd-php4.conf for PHP4!
=> By default apache with PHP5 is set to port 80 and apache with
PHP4 to port 8080.
For further information please refer to the manuals or to
"http://httpd.apache.org/".
-----------------------------------------
Starting / stopping:
To launch the server, open the "Apache:"-drawer an double-click
"starthttpd.rexx". To stop it double-click "stophttpd.rexx".
After starting, try to access the apache-start-page by typing "http://localhost"
into your web-browser. It should appear after a few seconds.
If you have installed the PHP4-version too, then you can start and stop this
server with "starthttpd-php4.rexx" and "stophttpd-php4.rexx".
-----------------------------------------
Features:
* The webserver, which includes these compiled-in standard-modules:
- core module,
- env module,
- config log module,
- mime module,
- negotiation module,
- status module,
- includes module,
- autoindex module,
- dir module,
- cgi module,
- asis module,
- imap module,
- action module,
- userdir_module,
- alias module,
- access module,
- auth module,
- setenvif module,
- info module.
* Additional modules:
- php4 module (4.3.11) or php5-module (5.1.1),
* Enabled php-extensions:
- PDO with sqlite2 sqlite and mysql
- date (2005.14)
- bcmath
- iconv (1.9)
- SQLite (2.8.16)
- dom (2.6.19)
- libxml (2.6.19)
- libxslt including libexslt (1.1.14)
- soap
- SimpleXML (1.151.2.7)
- SPL
- mysql module (3.23.58)
- PDF support (6.0.1)
- BZ2 support (1.0.2)
- Zlib support (1.2.1)
- Calendar support
- CType-functions
- Exif support (1.4)
- FTP support
- GD-library support - render online-gfx (2.0.28)
- mbstring support
- PCRE (Perl Compatible Regular Expressions) support
- Session support
- XML support (2.6.19)
- Tokenizer support
- dbase module (not tested)
-----------------------------------------
Known problems:
* If you try to execute a single line of code with the standalone php-
interpreter using the '-r'-option, you will get into trouble.
This will not work in an amiga-shell: php -r'echo "hello\n";'
You need an unix-shell for this. You can use 'sh' from the perl-package
available on os4depot.net.
* You can't limit execution-time using the set_time_limit()-function.
* http- and ftp-streams are buggy.
* ...
-----------------------------------------
How to use CGI:
The CGI-module behaves mostly as described in the original documantation,
except these points:
* AmigaDOS-scripts and ARexx-scripts are supported. Every script has to
start with a #!-line where the interpreter is defined:
For AmigaDOS-scripts use : #! /C/Execute
For ARexx-scripts use : #! /C/RX
* Contrary to the unix-version it doesn't matter, where a cgi-script
(or binary) is located. If you want to upload your project to a
linux-server, your script could be denied to execute.
* The cgi-module was tested with the abc-shell included in the SDK 51.15
("SDK:Local/C/sh") and the second release of perl 5.8.5 for AmigaOS 4.
* The ARexx-interpreter doesn't recognize local environment-variables
so i had to use global variables. After execution all apache-variables
will be deleted.
-----------------------------------------
Thanks for beta-testing:
- Michael Christoph
- Magham
- Niels Bache
- Aldur
- Toaks
| |