-
Notifications
You must be signed in to change notification settings - Fork 1
/
readme.os2
36 lines (23 loc) · 2.19 KB
/
readme.os2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
This is a port of PHP v7.4.30 to OS/2.
New in this build is:
- Updated to latest source
- Built with GCC 12.1.0
To load the Apache2 module, copy Apache2/modphp5.dll to the Apache2 module directory, and add:
LoadModule php7_module modules/modphp7.dll to httpd.conf. Some users have reported that modphp7 needs to be the LAST module loaded.
Requires a copy of libc066.dll which can currently be downloaded from ftp://ftp.netlabs.org/pub/gcc/libc-0.6.6-csd6.zip
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.
Steven Levine has added built-in Extended LIBPATH support. The php.ini extension_dir setting is automatically added to the beginning of the Extended LIBPATH. This eliminates the need to specify then extension in the CONFIG.SYS LIBPATH statement or with a SET BEGINLIBPATH statement in a wrapper wrapper script.
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 ;
;;;;;;;;;;;;;;;;;;;
[Date]
; Defines the default timezone used by the date functions
date.timezone = Australia/Adelaide
As always, any feedback to [email protected] 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 in the footer at http://os2ports.smedley.id.au, or via the Arca Noae webstore at http://www.arcanoae.com/shop/os2-ports-paul-smedley
Cheers,
Paul Smedley
Adelaide, Australia
8th August, 2022