As per the subject - now available from
http://smedley.info/os2ports.html

From www.php.net - What is PHP?
PHP is a widely-used general-purpose scripting language that is especially suited for Web development and can be embedded into HTML.

From readme.os2:
PHP5 OS/2 port - v5.1.2 - beta 1

This is a quick port of PHP v5.1.2 to OS/2. Currently only the cgi & cli versions of PHP are included. I do not yet have Apache modules.

This is built with Innotek GCC v3.3.5 and requires libc06.dll (available from ftp://ftp.netlabs.org/pub/gcc/libc-0.6.0-ga2.zip).

This has not been extensively tested, but has been running on smedley.info with Apache2 2.2.0 (also built with libc06) for the last month or so. Whilst there is no apache module, running the cgi php.exe with a shared php5.dll does not result in any significant performance deterioration (IMHO).

Patches for thread support and detection of php.ini in c:mptnetc have been included in the executable largely based on Brian Havard's patched for PHP 4.3.1

I have included support for some external modules - curl, dbase, gd, gettext, mbstring & pdo_mysql are loadable as shared modules. Now that I've nutted out how to do this, other databases will be added as time permits, with those that people request to be given priority.

Note that for some reason, the sue of pdo_mysql seems to also required libc06b2.dll which is available from ftp://ftp.netlabs.org/pub/wvgui/libc06b2.zip

PHP 5.1.2 has problems detecting the timezone in OS/2 - to workaround this, and set the default in your php.ini you need to add date.timezone simular to what is shown below in context. You can get the timezones supported in the php.ini from :
http://us2.php.net/manual/en/timezones.php

;;;;;;;;;;;;;;;;;;;
; Module Settings ;
;;;;;;;;;;;;;;;;;;;

[Date]
; Defines the default timezone used by the date functions date.timezone = Australia/Adelaide

As always, any feedback to This email address is being protected from spambots. You need JavaScript enabled to view it. is appreciated. It's really nice to hear of people using my ports!

Cheers,

Paul Smedley
Adelaide, Australia
14th January, 2006

Source: Paul Smedley

OS/2-eCS-ArcaOS General News

More in General  

OS/2-eCS-ArcaOS Software News

More in Software  

Latest Forum Posts

WarpStock and OS/2-eCS-ArcaOS Event News

Site News

More in Site News