- 论坛徽章:
- 0
|
环境:freebsd-4.7-release apache-2.0.44
悲剧如下:
#cd php-4.3.1
#./configure --with-mysql --with-oci8=/opt/oracle/product/9.2.0 --with-apxs2=/usr/local/apache2/bin/apxs
显示结果:
...
+--------------------------------------------------------------------+
| *** WARNING *** |
| |
| In order to build PHP as a Apache2 module on FreeBSD, you have to |
| add --with-tsrm-pth to your ./configure line. Therefore you need |
| to install gnu-pth from /usr/ports/devel/pth. |
+--------------------------------------------------------------------+
| *** WARNING *** |
| |
| You chose to compile PHP with the built-in MySQL support. If you |
| are compiling a server module, and intend to use other server |
| modules that also use MySQL (e.g, mod_auth_mysql, PHP 3.0, |
| mod_perl) you must NOT rely on PHP's built-in MySQL support, and |
| instead build it with your local MySQL support files, by adding |
| --with-mysql=/path/to/mysql to your configure line. |
+--------------------------------------------------------------------+
| Notice: |
| If you encounter <defunc>; processes when using a local Oracle-DB |
| please recompile PHP and specify --enable-sigchild when configuring|
| (This problem has been reported under Linux using Oracle >;= 8.1.5) |
+--------------------------------------------------------------------+
| License: |
| This software is subject to the PHP License, available in this |
| distribution in the file LICENSE. By continuing this installation |
| process, you are bound by the terms of this license agreement. |
| If you do not agree with the terms of this license, you must abort |
| the installation process at this point. |
+--------------------------------------------------------------------+
| *** NOTE *** |
| The default for register_globals is now OFF! |
| |
| If your application relies on register_globals being ON, you |
| should explicitly set it to on in your php.ini file. |
| Note that you are strongly encouraged to read |
| http://www.php.net/manual/en/security.registerglobals.php |
| about the implications of having register_globals set to on, and |
| avoid using it if possible. |
+--------------------------------------------------------------------+
Thank you for using PHP.
#make
/usr/libexec/elf/ld: cannot find -ldl
collect2: ld returned 1 exit status
*** Error code 1
Stop in /home/pjz/php-4.3.1.
 |
|