/home/apache2/bin/apachectl start
httpd: Syntax error on line 149 of /home/apache2/conf/httpd.conf: Cannot load modules/libphp5.so into server: /home/apache2/modules/libphp5.so: undefined symbol: unixd_config
==================================================================
vim sapi/apache2handler/php_functions.c
수정 후 컴파일 하면 된다.
이 파일에서
원본 ap_ 추가
==========================================================
AP_DECLARE_DATA extern unixd_config_rec unixd_config;
=========================================================
수정 후
==========================================================
AP_DECLARE_DATA extern unixd_config_rec ap_unixd_config;
=========================================================
원본
==================================================================
snprintf(tmp, sizeof(tmp), "%s(%d)/%d", unixd_config.user_name, unixd_config.user_id, _unixd_config.group_id);
=================================================================
수정후 ap_ 추가
==================================================================
snprintf(tmp, sizeof(tmp), "%s(%d)/%d", ap_unixd_config.user_name, ap_unixd_config.user_id, ap_unixd_config.group_id);
=================================================================