You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Andrei Zmievski 164e4e50b9 Added a way to get all declared classes. 26 years ago
TSRM Add UnixWare/OpenServer flags 26 years ago
Zend Added a way to get all declared classes. 26 years ago
build Get rid of old cruft. Broke build on Irix. 26 years ago
ext oops wrong settings commited in project. 26 years ago
main php_reentrancy.h is needed for strtok_r 26 years ago
pear Copy dynlib.mk to the build directory. 26 years ago
regex Overall UNIX build system improvements: 26 years ago
sapi Add initial NSAPI module from Jayakumar Muthukumarasamy 26 years ago
scripts Decent configure speedup. Makefiles are now generated only for the 27 years ago
tests Object overloading API changed slightly (llist is now a pointer) 26 years ago
win32 adding calendar project 26 years ago
CODING_STANDARDS PHP 4.0 27 years ago
CREDITS * Turn on debug by default 27 years ago
ChangeLog ChangeLog update 26 years ago
FUNCTION_LIST.txt PHP 4.0 27 years ago
INSTALL @- Zeus Webserver support (version 3.3.6+) for ISAPI 26 years ago
LICENSE - Change Zend license version 26 years ago
MAINTAINERS # Document module status 26 years ago
MODULES_STATUS # Changes modules current status 26 years ago
Makefile.in Overall UNIX build system improvements: 26 years ago
NEWS New function. 26 years ago
README-BCMATH Handle BCMath 27 years ago
README.CVS-RULES Added notice about LXR and Bonsai. 27 years ago
README.QNX PHP 4.0 27 years ago
README.Zeus @- Zeus Webserver support (version 3.3.6+) for ISAPI 26 years ago
TODO . 26 years ago
acconfig.h.in Nuke DEBUG. 26 years ago
acinclude.m4 Improved in-tree shared libraries build system 26 years ago
apidoc-zend.txt - Move more stuff to ALLOC_ZVAL(). We need to add those FREE_ZVAL()'s now. 26 years ago
apidoc.txt I think that is the preferred way as of now 27 years ago
build-defs.h.in - Don't define DEBUG anymore. Everyone should use PHP_DEBUG. 26 years ago
buildconf Integration of -ng changes. Changes: 26 years ago
calendar.mak PHP 4.0 27 years ago
config.guess Fix ltconfig, ltmain.sh 26 years ago
config.sub Fix ltconfig, ltmain.sh 26 years ago
configure.in Improved in-tree shared libraries build system 26 years ago
crypt.mak PHP 4.0 27 years ago
cvsclean "User interface" for removing all files which are ignored by cvs 26 years ago
dbase.mak PHP 4.0 27 years ago
dbm.mak PHP 4.0 27 years ago
dlist.c libzend -> Zend 26 years ago
dlist.h Moving dlist stuff into core. 27 years ago
dynlib.m4 Improved in-tree shared libraries build system 26 years ago
filepro.mak PHP 4.0 27 years ago
footer PHP 4.0 27 years ago
gd.mak PHP 4.0 27 years ago
genfiles Let genfiles work in the new environment 26 years ago
genif.sh Revamp session's config.m4 and reenable support for mm. The shared memory 26 years ago
header Happy Y2K patch! Happy new year (or the new millennium, depending on whether 26 years ago
hyperwave.mak PHP 4.0 27 years ago
imap4.mak PHP 4.0 27 years ago
ldap.mak PHP 4.0 27 years ago
ltconfig Cleanup 26 years ago
ltmain.sh Upgrade to libtool 1.3.4 26 years ago
main.h Get the license right... (this won't make it to RC1 of B4) 26 years ago
makeall.bat PHP 4.0 27 years ago
makedist Use compression for makedist 26 years ago
makeparser.bat PHP 4.0 27 years ago
makerpm Small fix: Description still referred to package as PHP3. 26 years ago
msql.mak PHP 4.0 27 years ago
msql1.mak PHP 4.0 27 years ago
mtparser.bat PHP 4.0 27 years ago
mysql.mak PHP 4.0 27 years ago
php.ini-dist Support E_USER_* error types 26 years ago
php.ini-optimized Support E_USER_* error types 26 years ago
php.ini-recommended Support E_USER_* error types 26 years ago
php4.dsp Remove debug runtime libraries from Release builds 26 years ago
php4.dsw @- Added parse_ini_file(). Currently implemented in non thread safe version 26 years ago
php4.gif temporary icon for RPMs until Colin gets back and can make us a spiffy new one 27 years ago
php4.spec.in added workaround for Solaris PIC weirdness. 27 years ago
php4dll.dsp More error handling work (still completely disabled) 26 years ago
php4dllts.dsp - Make Windows builds build again 26 years ago
php4ext.dsw * Add a new workspace for dynamic PHP extensions. 27 years ago
php4ts.dsp - Fix Win32 build in Release_TS* modes 26 years ago
php4ts.dsw Several fixes, plus remove bindlib_w32 (it's more trouble than it's worth) 26 years ago
php_custom_build.mak PHP 4.0 27 years ago
snapshot Integration of -ng changes. Changes: 26 years ago
snmp.mak PHP 4.0 27 years ago
stamp-h.in # Fix ColorResolve bogosity 26 years ago
strtok_r.c Get Win32 to compile again 26 years ago
stub.c * archive-based convenience libraries completely replaced 27 years ago
zlib.mak PHP 4.0 27 years ago

README.Zeus

Using PHP4 with the Zeus Web Server
-----------------------------------

Zeus fully supports running PHP in combination with our webserver. A
significant improvement in PHP 4 is that you can now run PHP as an
ISAPI module, giving great performance benefits over traditional CGI
code.

Note that you will need to be running at least version 3.3.6 of the
webserver. If you are running an earlier version, please see our
website (http://www.zeus.com) for upgrade instructions.


To build the ISAPI version of PHP, start the configuration with:

./configure --with-zeus=/usr/local/zeus

Obviously, replace /usr/local/zeus with the location of where you have
installed Zeus on your machine. For PHP to build successfully, you
need to have 3.3.6 already installed, because the code relies on the
presence of header files provided with the latest version.

You may have to adjust the environment variable LDFLAGS and EXTRA_LIBS
in order to link in extra libraries. This depends on the platform on
which you are building and also on the compiler used (see below). A
standard GNU/Linux install with GCC should build fine with no changes.


Configuring the webserver
-------------------------

After running 'make' and 'make install', you will have a 'libphp4.so'
file. Copy this file into a directory reserved for ISAPI
binaries. Now, perform the following steps for each virtual server
that you wish to run PHP on:

1) On the Admin server, go to 'edit server->path mapping'
2) Add an alias to the directory with libphp4.so in it, mapped to
/isapi/ (or a location of your choice). Make sure you set the alias
type to ISAPI.
3) Click 'update'
4) Add a handler for file extension 'php' to be run by /isapi/libphp4.so
5) Click 'update', then go back to the previous page.
6) Click on the 'module configuration' button, ensure that ISAPI
support is ticked.
7) Click on the ISAPI link. At the bottom of the page, click the
checkbox for running ISAPI extensions 'out of process'.
8) Click 'update'. Then restart the virtual server. Done!


Troubleshooting
---------------

*) Why does my PHP library fail to load?

After configuring Zeus, if you get a '502 Bad Gatway' error when
accessing a PHP page, there are problems loading the PHP
library. Check the error log ($ZEUSHOME/web/log/errors) for errors.

Failing to load the PHP ISAPI module is likely to be due to unresolved
symbols in the module. A way to check for this is to visit our support
page at http://support.zeus.com/faq/entries/isapi_error.html and run
the program there on your libphp4.so. It will list any unresolved
symbols.

*) My libphp4.so has unresolved symbols. How do I fix this?

You must ensure that the PHP build process links in the appropriate
libraries that contain these symbols! The libraries required will
depend on the platform you are running PHP on.

You may need to set one or two environment variables before running
the 'configure' program to set up PHP; LDFLAGS and EXTRA_LIBS. Make
sure that you also export these variables to the build process.
(Type 'export LDFLAGS EXTRA_LIBS' in the shell to do this.)

Specific examples:

Solaris + gcc: Set LDFLAGS to
'-L/usr/local/egcs/lib/gcc-lib/sparc-sun-solaris2.7/egcs-2.91.66
-L/usr/local/egcs/lib' (your paths may vary)
EXTRA_LIBS should be '-lgcc'

FreeBSD 4.0 + gcc: Set EXTRA_LIBS to '-lc_r_p -lgcc'

Linux/Alpha: Set EXTRA_LIBS to '-lstdc++-3-libc6.1-2-2.10.0'
(change as appropriate to the stdc++ in /usr/lib)


For more information and help with Zeus, please visit our website:
http://www.zeus.com