|
|
apache已经用源码包安装好了,测试过能用,版本是2.0.55.php 版本 是 4.4.3 源码包
./configure &&make && make install .用默认的配置安装,能安装成功.我也不知道怎么卸载,没卸载就用./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql=/usr/local/mysql 没问题,再输入make就出错了,错误代码如下:
main/internal_functions_cli.lo(.text+0xe): In function `php_startup_internal_extensions':
main/internal_functions_cli.c:61: undefined reference to `php_startup_extensions'
main/internal_functions_cli.lo(.data+0x0): undefined reference to `xml_module_entry'
main/internal_functions_cli.lo(.data+0x4): undefined reference to `tokenizer_module_entry'
main/internal_functions_cli.lo(.data+0x8): undefined reference to `basic_functions_module'
main/internal_functions_cli.lo(.data+0xc): undefined reference to `session_module_entry'
main/internal_functions_cli.lo(.data+0x10): undefined reference to `posix_module_entry'
main/internal_functions_cli.lo(.data+0x14): undefined reference to `overload_module_entry'
main/internal_functions_cli.lo(.data+0x18): undefined reference to `mysql_module_entry'
main/internal_functions_cli.lo(.data+0x1c): undefined reference to `ctype_module_entry'
main/internal_functions_cli.lo(.data+0x20): undefined reference to `pcre_module_entry'
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] 错误 1
上google 查了好几小时,也没找到原因和解决方法.我用的是fc4,求碰到过类似情况的朋友帮忙一下,高手给点意见. |
|