View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0000573||PHP for OS/2, ArcaOS & eComStation (PHP versions v8.x v7.x v5.x)||Feature Request||public||2013-05-04 14:38||2022-09-24 10:57|
|Status||resolved||Resolution||no change required|
|Summary||0000573: README.OS2 additions requested|
|Description||The current README.OS2 could be enhanced with additional documentation, specifically the destination for various files contained in the ZIP.|
|Additional Information||Suggested draft follows. There is some ambiguity as to where php5.map and modphp5.map should go, and I've left "???" as placeholders in the text below.|
This is a port of PHP v5.4.10 to OS/2.
New in this build is:
- Updated to PHP 5.4.10 source
Requires a copy of libc065.dll which can currently be downloaded from ftp://ftp.netlabs.org/pub/gcc/libc-0.6.5-csd5.zip
A guide to where to extract files:
* If this is a new installation, extract /php.ini.sample to %ETC% and rename to php.ini if you wish. Edit to suit. See notes on timezone setting below.
* Extract /php.dll to a dir on LIBPATH . If using with Apache, you can generally put it where httpd.dll resides (/Apache2, etc.)
* Extract /cgi/php.exe to your Apache cgi dir if you plan on running php as CGI, or elsewhere if you wish to run it commandline.
* To load the Apache2 module, copy Apache2/modphp5.dll to the Apache2 module directory, and add:
LoadModule php5_module modules/modphp5.dll
to httpd.conf. Some users have reported that modphp5 needs to be the LAST module loaded.
* Extract modphp5.map to ???
* Extract php5.map to ???
* Extract /modules/*.dll to somewhere that matches the line in php.ini
Patches for thread support and detection of php.ini in c:\mptn\etc have been included in the executable largely based on Brian Havard's patches for PHP 4.3.1
I have included support for some external modules - bz2, curl, dbase, gd, exif, filepro,, gd, gettext, mbstring, mysql, mysqli, openssl, pdo_mysql, pdo_sqlite, pgsql (postgresql) & sqlite are loadable as shared modules. Other modules including those from pecl, can most likely be built pretty easily - if there is something you need, please contact me.
PHP 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 ;
; Defines the default timezone used by the date functions
date.timezone = Australia/Adelaide
As always, any feedback to email@example.com is appreciated - bug reports should be submitted via the bugtracker at http://mantis.smedley.id.au. It's really nice to hear of people using my ports!
If you like this software and want to support continued ports, please consider donating via PayPal via the link at http://os2ports.smedley.id.au, or via the Mensys online store at http://www.mensys.net/os2ports
23rd December, 2012
|Tags||No tags attached.|
readme.os2 (3,108 bytes)
||readme.os2 is now in git at https://github.com/psmedley/php-os2/blob/php-8.1/readme.os2 Please raise a PR against the source file with suggested changes.|
|2013-05-04 14:38||asavage||New Issue|
|2013-05-04 14:38||asavage||File Added: readme.os2|
|2022-09-24 10:57||psmedley||Assigned To||=> psmedley|
|2022-09-24 10:57||psmedley||Status||new => resolved|
|2022-09-24 10:57||psmedley||Resolution||open => no change required|
|2022-09-24 10:57||psmedley||Note Added: 0004583|