Install informix first when installing apache_1.3.12, php4.0bx, and informix in Linux. when installing apache and php, pay attention to INFORMIXDIR. set the environment variable of INFORMIXSERVER, and add $ INFORMIXDIRbin to the PATH, this is because esql is used for compiling apache. If no, an error occurs. Installation of apache_1.3.12 and php-4.0b4pl1 is very smooth, it should be noted that in conf Apacheinformix
Install apache_1.3.12, php4.0bx, and informix in Linux. install informix first. when installing apache and php, pay attention to INFORMIXDIR. set the environment variable of INFORMIXSERVER. Add $ INFORMIXDIR/bin to the PATH, this is because esql is used for compiling apache. If no, an error occurs.
Installation of apache_1.3.12 and php-4.0b4pl1 is very smooth, you need to note that in configure apache, variable -- activate-module = src/modules/php4/libphp4.a originally had a file libmodphp4.a under src/modules/php4/. The Linux Tab key has a complete function, and it is easy to write libphp4.a as libmodphp4.a, but in fact, libphp4.a is compiled at make. The program first cp and then ar. Therefore, if it is written as libmodphp4.a, an error occurs. But php-4.0b4pl1 does not seem to support Chinese characters, many php in IE becomes garbled, in Netscape form width. Use the php-4.0b2 to compile, but the error is reported when compiling apache, there are many lib *. so cannot be found. Use the ldd command to see what link files are required for httpd compiled by the php-4.0b4pl1: ldd/usr/local/apache/bin/httpd. This will display the file it links, this is also the php-4.0b2 required files, copy them to/lib, add PATH, re-compilation, successful. It also supports Chinese characters and does not contain garbled characters. (The link files that cannot be found are all under lib/And lib/esql/Of $ INFORMIXDIR. Cause: The compiling file of b2 is not good. you can only go to/usr/lib and/lib to find the link file, hoping that the official version of php4 can discard the bug of Version B .)