Apache compileren met php4 gaat fout

Pagina: 1
Acties:

  • egev
  • Registratie: Juni 2002
  • Laatst online: 22:25
Ik probeer apache te compileren met php support op een redhat 8 machine. Om enkele problemen in het verleden met deze server is het niet mogelijk rpm's te gebruiken. Ik heb de nieuwste php versie gecompileerd met apache zoveel mogelijk met hulp vanaf deze page:
http://www.blazonry.com/scripting/install_apache.php

alleen is src/modules/php4/libphp4.a kennelijk veranderd in
src/modules/php4/libmodphp4.a

ik ga als volgt te werk (php is reeds gecompileerd en geinstalleerd)
./configure --prefix=/usr/local/apache1327 --enable-module=rewrite --activate-module=src/modules/php4/libmodphp4.a

dit gaat goed.. hierna run ik dus make... maar zodra hij bij de php module komt krijg ik niets anders dan foutmeldingen... wat hieraan te doen?

===> src/modules/php4
gcc -c -I../../os/unix -I../../include -DLINUX=22 -DNO_DBM_REWRITEMAP -DUSE_HSREGEX -DUSE_EXPAT -I../../lib/expat-lite -DNO_DL_NEEDED `../../apaci` mod_php4.c
mod_php4.c:28:18: zend.h: No such file or directory
mod_php4.c:29:17: php.h: No such file or directory
mod_php4.c:30:27: php_variables.h: No such file or directory
mod_php4.c:47:21: php_ini.h: No such file or directory
mod_php4.c:48:25: php_globals.h: No such file or directory
mod_php4.c:49:18: SAPI.h: No such file or directory
mod_php4.c:50:22: php_main.h: No such file or directory
mod_php4.c:52:26: zend_compile.h: No such file or directory
mod_php4.c:53:26: zend_execute.h: No such file or directory
mod_php4.c:54:28: zend_highlight.h: No such file or directory
mod_php4.c:55:25: zend_indent.h: No such file or directory
mod_php4.c:57:39: ext/standard/php_standard.h: No such file or directory
In file included from mod_php4.c:61:
mod_php4.h:34: parse error before "zend_bool"
mod_php4.h:34: warning: no semicolon at end of struct or union
mod_php4.h:35: warning: data definition has no type or storage class
mod_php4.h:37: parse error before "apache_module_entry"
mod_php4.h:37: warning: data definition has no type or storage class
mod_php4.h:43: parse error before "php_apache_info"
mod_php4.h:43: warning: data definition has no type or storage class
mod_php4.c:67: parse error before "TSRMLS_DC"
mod_php4.c:70: parse error before "TSRMLS_DC"
mod_php4.c:71: warning: parameter names (without types) in function declaration
mod_php4.c:72: parse error before '*' token
mod_php4.c:73: parse error before '*' token
mod_php4.c:90: parse error before "HashTable"
mod_php4.c:91: parse error before "HashTable"
mod_php4.c:92: parse error before "HashTable"
mod_php4.c:93: parse error before "HashTable"
mod_php4.c:94: parse error before "HashTable"
mod_php4.c:95: parse error before "HashTable"
mod_php4.c:127: parse error before "TSRMLS_DC"
mod_php4.c: In function `sapi_apache_ub_write':
mod_php4.c:131: `server_context' undeclared (first use in this function)
mod_php4.c:131: (Each undeclared identifier is reported only once
mod_php4.c:131: for each function it appears in.)
mod_php4.c:132: `str' undeclared (first use in this function)
mod_php4.c:132: `str_length' undeclared (first use in this function)
mod_php4.c: At top level:
mod_php4.c:157: parse error before "TSRMLS_DC"
mod_php4.c: In function `sapi_apache_read_post':
mod_php4.c:160: `server_context' undeclared (first use in this function)
mod_php4.c:164: `count_bytes' undeclared (first use in this function)
mod_php4.c:166: `buffer' undeclared (first use in this function)
mod_php4.c: In function `sapi_apache_read_cookies':
mod_php4.c:182: `server_context' undeclared (first use in this function)
mod_php4.c: At top level:
mod_php4.c:188: parse error before '*' token
mod_php4.c: In function `sapi_apache_header_handler':
mod_php4.c:191: `server_context' undeclared (first use in this function)
mod_php4.c:193: `sapi_header' undeclared (first use in this function)
mod_php4.c: At top level:
mod_php4.c:223: parse error before '*' token
mod_php4.c: In function `sapi_apache_send_headers':
mod_php4.c:225: `server_context' undeclared (first use in this function)
mod_php4.c:225: warning: comparison between pointer and integer
mod_php4.c:226: `SAPI_HEADER_SEND_FAILED' undeclared (first use in this function)
mod_php4.c:229: `sapi_headers' undeclared (first use in this function)
mod_php4.c:229: request for member `http_response_code' in something not a structure or union
mod_php4.c:231: `SAPI_HEADER_SENT_SUCCESSFULLY' undeclared (first use in this function)
mod_php4.c: At top level:
mod_php4.c:237: parse error before '*' token
mod_php4.c: In function `sapi_apache_register_server_variables':
mod_php4.c:240: `server_context' undeclared (first use in this function)
mod_php4.c:242: `zval' undeclared (first use in this function)
mod_php4.c:242: `path_translated' undeclared (first use in this function)
mod_php4.c:243: `HashTable' undeclared (first use in this function)
mod_php4.c:243: `symbol_table' undeclared (first use in this function)
mod_php4.c:251: `empty_string' undeclared (first use in this function)
mod_php4.c:253: `track_vars_array' undeclared (first use in this function)
mod_php4.c:253: parse error before "TSRMLS_CC"
mod_php4.c:259: `register_globals' undeclared (first use in this function)
mod_php4.c:261: `active_symbol_table' undeclared (first use in this function)
mod_php4.c:267: `SUCCESS' undeclared (first use in this function)
mod_php4.c:268: parse error before "TSRMLS_CC"
mod_php4.c:271: parse error before "TSRMLS_CC"
mod_php4.c: At top level:
mod_php4.c:277: parse error before '*' token
mod_php4.c: In function `php_apache_startup':
mod_php4.c:279: `sapi_module' undeclared (first use in this function)
mod_php4.c:280: `FAILURE' undeclared (first use in this function)
mod_php4.c:283: `SUCCESS' undeclared (first use in this function)
mod_php4.c: In function `php_apache_log_message':
mod_php4.c:294: `server_context' undeclared (first use in this function)
mod_php4.c: In function `php_apache_request_shutdown':
mod_php4.c:313: parse error before "TSRMLS_CC"
mod_php4.c:314: `server_context' undeclared (first use in this function)
mod_php4.c:314: invalid lvalue in assignment
mod_php4.c:315: request for member `in_request' in something not a structure or union
mod_php4.c:316: request for member `in_request' in something not a structure or union
mod_php4.c: In function `php_apache_sapi_activate':
mod_php4.c:326: `server_context' undeclared (first use in this function)
mod_php4.c:337: `php_request_shutdown_for_exec' undeclared (first use in this function)
mod_php4.c:338: request for member `in_request' in something not a structure or union
mod_php4.c:344: `request_info' undeclared (first use in this function)
mod_php4.c:344: request for member `headers_only' in something not a structure or union
mod_php4.c:345: `SUCCESS' undeclared (first use in this function)
mod_php4.c: In function `php_apache_get_stat':
mod_php4.c:353: `server_context' undeclared (first use in this function)
mod_php4.c: At top level:
mod_php4.c:359: parse error before "TSRMLS_DC"
mod_php4.c: In function `php_apache_getenv':
mod_php4.c:361: `server_context' undeclared (first use in this function)
mod_php4.c:361: `name' undeclared (first use in this function)
mod_php4.c: At top level:
mod_php4.c:367: parse error before "apache_sapi_module"
mod_php4.c:368: warning: initialization makes integer from pointer without a cast
mod_php4.c:369: warning: excess elements in scalar initializer
mod_php4.c:369: warning: (near initialization for `apache_sapi_module')
mod_php4.c:371: warning: excess elements in scalar initializer
mod_php4.c:371: warning: (near initialization for `apache_sapi_module')
mod_php4.c:372: `php_module_shutdown_wrapper' undeclared here (not in a function)
mod_php4.c:372: warning: excess elements in scalar initializer
mod_php4.c:372: warning: (near initialization for `apache_sapi_module')
mod_php4.c:374: warning: excess elements in scalar initializer
mod_php4.c:374: warning: (near initialization for `apache_sapi_module')
mod_php4.c:375: warning: excess elements in scalar initializer
mod_php4.c:375: warning: (near initialization for `apache_sapi_module')
mod_php4.c:377: warning: excess elements in scalar initializer
mod_php4.c:377: warning: (near initialization for `apache_sapi_module')
mod_php4.c:378: warning: excess elements in scalar initializer
mod_php4.c:378: warning: (near initialization for `apache_sapi_module')
mod_php4.c:379: warning: excess elements in scalar initializer
mod_php4.c:379: warning: (near initialization for `apache_sapi_module')
mod_php4.c:380: warning: excess elements in scalar initializer
mod_php4.c:380: warning: (near initialization for `apache_sapi_module')
mod_php4.c:382: `php_error' undeclared here (not in a function)
mod_php4.c:382: warning: excess elements in scalar initializer
mod_php4.c:382: warning: (near initialization for `apache_sapi_module')
mod_php4.c:384: warning: excess elements in scalar initializer
mod_php4.c:384: warning: (near initialization for `apache_sapi_module')
mod_php4.c:385: warning: excess elements in scalar initializer
mod_php4.c:385: warning: (near initialization for `apache_sapi_module')
mod_php4.c:386: warning: excess elements in scalar initializer
mod_php4.c:386: warning: (near initialization for `apache_sapi_module')
mod_php4.c:388: warning: excess elements in scalar initializer
mod_php4.c:388: warning: (near initialization for `apache_sapi_module')
mod_php4.c:389: warning: excess elements in scalar initializer
mod_php4.c:389: warning: (near initialization for `apache_sapi_module')
mod_php4.c:391: warning: excess elements in scalar initializer
mod_php4.c:391: warning: (near initialization for `apache_sapi_module')
mod_php4.c:392: warning: excess elements in scalar initializer
mod_php4.c:392: warning: (near initialization for `apache_sapi_module')
mod_php4.c:394: warning: excess elements in scalar initializer
mod_php4.c:394: warning: (near initialization for `apache_sapi_module')
mod_php4.c:400: warning: excess elements in scalar initializer
mod_php4.c:400: warning: (near initialization for `apache_sapi_module')
mod_php4.c:401: warning: excess elements in scalar initializer
mod_php4.c:401: warning: (near initialization for `apache_sapi_module')
mod_php4.c:405: `STANDARD_SAPI_MODULE_PROPERTIES' undeclared here (not in a function)
mod_php4.c:405: warning: excess elements in scalar initializer
mod_php4.c:405: warning: (near initialization for `apache_sapi_module')
mod_php4.c:405: warning: data definition has no type or storage class
mod_php4.c: In function `init_request_info':
mod_php4.c:420: `server_context' undeclared (first use in this function)
mod_php4.c:425: `request_info' undeclared (first use in this function)
mod_php4.c:425: request for member `query_string' in something not a structure or union
mod_php4.c:426: request for member `path_translated' in something not a structure or union
mod_php4.c:427: request for member `request_uri' in something not a structure or union
mod_php4.c:428: request for member `request_method' in something not a structure or union
mod_php4.c:429: request for member `content_type' in something not a structure or union
mod_php4.c:430: request for member `content_length' in something not a structure or union
mod_php4.c:431: `sapi_headers' undeclared (first use in this function)
mod_php4.c:431: request for member `http_response_code' in something not a structure or union
mod_php4.c:440: request for member `auth_user' in something not a structure or union
mod_php4.c:441: request for member `auth_user' in something not a structure or union
mod_php4.c:442: request for member `auth_user' in something not a structure or union
mod_php4.c:444: request for member `auth_user' in something not a structure or union
mod_php4.c:444: request for member `auth_user' in something not a structure or union
mod_php4.c:446: request for member `auth_password' in something not a structure or union
mod_php4.c:447: request for member `auth_password' in something not a structure or union
mod_php4.c:448: request for member `auth_password' in something not a structure or union
mod_php4.c:448: request for member `auth_password' in something not a structure or union
mod_php4.c:451: request for member `auth_user' in something not a structure or union
mod_php4.c:452: request for member `auth_password' in something not a structure or union
mod_php4.c: At top level:
mod_php4.c:459: parse error before "TSRMLS_DC"
mod_php4.c: In function `php_apache_alter_ini_entries':
mod_php4.c:461: `per_dir_entry' undeclared (first use in this function)
mod_php4.c:461: `PHP_INI_STAGE_ACTIVATE' undeclared (first use in this function)
mod_php4.c: At top level:
mod_php4.c:468: parse error before "TSRMLS_DC"
mod_php4.c: In function `php_apache_get_default_mimetype':
mod_php4.c:472: `default_mimetype' undeclared (first use in this function)
mod_php4.c:472: `default_charset' undeclared (first use in this function)
mod_php4.c:476: `TSRMLS_C' undeclared (first use in this function)
mod_php4.c:476: warning: assignment makes pointer from integer without a cast
mod_php4.c:477: `r' undeclared (first use in this function)
mod_php4.c:480: `SAPI_DEFAULT_MIMETYPE' undeclared (first use in this function)
mod_php4.c:480: parse error before string constant
mod_php4.c: In function `send_php':
mod_php4.c:491: `HashTable' undeclared (first use in this function)
mod_php4.c:491: `per_dir_conf' undeclared (first use in this function)
mod_php4.c:494: request for member `in_request' in something not a structure or union
mod_php4.c:495: `zend_file_handle' undeclared (first use in this function)
mod_php4.c:495: parse error before "fh"
mod_php4.c:497: `fh' undeclared (first use in this function)
mod_php4.c:500: `ZEND_HANDLE_FILENAME' undeclared (first use in this function)
mod_php4.c:501: `ZEND_INCLUDE' undeclared (first use in this function)
mod_php4.c:501: parse error before "TSRMLS_CC"
mod_php4.c:505: `zend_first_try' undeclared (first use in this function)
mod_php4.c:505: parse error before '{' token
mod_php4.c: At top level:
mod_php4.c:513: parse error before "if"
mod_php4.c:517: `per_dir_conf' used prior to declaration
mod_php4.c:517: `HashTable' undeclared here (not in a function)
mod_php4.c:517: parse error before ')' token
mod_php4.c:517: `r' undeclared here (not in a function)
mod_php4.c:517: warning: data definition has no type or storage class
mod_php4.c:518: parse error before "if"
mod_php4.c:528: syntax error before '{' token
mod_php4.c:530: warning: data definition has no type or storage class
mod_php4.c:531: parse error before "return"
mod_php4.c:542: warning: data definition has no type or storage class
mod_php4.c:543: parse error before "return"
mod_php4.c:557: warning: parameter names (without types) in function declaration
mod_php4.c:557: conflicting types for `ap_set_last_modified'
../../include/http_protocol.h:121: previous declaration of `ap_set_last_modified'
mod_php4.c:557: warning: data definition has no type or storage class
mod_php4.c:558: warning: parameter names (without types) in function declaration
mod_php4.c:558: conflicting types for `ap_set_etag'
../../include/http_protocol.h:120: previous declaration of `ap_set_etag'
mod_php4.c:558: warning: data definition has no type or storage class
mod_php4.c:560: parse error before '}' token
mod_php4.c:566: parse error before string constant
mod_php4.c:566: conflicting types for `ap_hard_timeout'
../../include/http_main.h:118: previous declaration of `ap_hard_timeout'
mod_php4.c:566: warning: data definition has no type or storage class
mod_php4.c:568: warning: parameter names (without types) in function declaration
mod_php4.c:568: function `SG' is initialized like a variable
mod_php4.c:568: `r' undeclared here (not in a function)
mod_php4.c:568: warning: data definition has no type or storage class
mod_php4.c:570: conflicting types for `php_save_umask'
mod_php4.c:119: previous declaration of `php_save_umask'
mod_php4.c:570: warning: data definition has no type or storage class
mod_php4.c:571: warning: parameter names (without types) in function declaration
mod_php4.c:571: conflicting types for `ap_add_common_vars'
../../include/util_script.h:77: previous declaration of `ap_add_common_vars'
mod_php4.c:571: warning: data definition has no type or storage class
mod_php4.c:572: warning: parameter names (without types) in function declaration
mod_php4.c:572: conflicting types for `ap_add_cgi_vars'
../../include/util_script.h:76: previous declaration of `ap_add_cgi_vars'
mod_php4.c:572: warning: data definition has no type or storage class
mod_php4.c:574: warning: parameter names (without types) in function declaration
mod_php4.c:574: conflicting types for `init_request_info'
mod_php4.c:419: previous declaration of `init_request_info'
mod_php4.c:574: warning: data definition has no type or storage class
mod_php4.c:575: parse error before "TSRMLS_CC"
mod_php4.c:575: warning: data definition has no type or storage class
mod_php4.c:578: conflicting types for `php_restore_umask'
mod_php4.c:411: previous declaration of `php_restore_umask'
mod_php4.c:578: warning: data definition has no type or storage class
mod_php4.c:579: warning: parameter names (without types) in function declaration
mod_php4.c:579: conflicting types for `ap_kill_timeout'
../../include/http_main.h:121: previous declaration of `ap_kill_timeout'
mod_php4.c:579: warning: data definition has no type or storage class
mod_php4.c:580: parse error before '}' token
mod_php4.c:580: warning: data definition has no type or storage class
mod_php4.c:582: parse error before "return"
mod_php4.c:642: parse error before "should_overwrite_per_dir_entry"
mod_php4.c: In function `should_overwrite_per_dir_entry':
mod_php4.c:645: `PHP_INI_SYSTEM' undeclared (first use in this function)
mod_php4.c: At top level:
mod_php4.c:655: parse error before '*' token
mod_php4.c: In function `php_destroy_per_dir_info':
mod_php4.c:657: `per_dir_info' undeclared (first use in this function)
mod_php4.c: In function `php_create_dir':
mod_php4.c:666: `HashTable' undeclared (first use in this function)
mod_php4.c:666: `per_dir_info' undeclared (first use in this function)
mod_php4.c:668: parse error before ')' token
mod_php4.c:670: `zend_hash_destroy' undeclared (first use in this function)
mod_php4.c: In function `php_merge_dir':
mod_php4.c:681: `HashTable' undeclared (first use in this function)
mod_php4.c:681: parse error before ')' token
mod_php4.c: At top level:
mod_php4.c:688: parse error before "HashTable"
mod_php4.c: In function `php_apache_value_handler_ex':
mod_php4.c:700: `mode' undeclared (first use in this function)
mod_php4.c:702: `arg2' undeclared (first use in this function)
mod_php4.c:706: `arg1' undeclared (first use in this function)
mod_php4.c:717: `conf' undeclared (first use in this function)
mod_php4.c: At top level:
mod_php4.c:724: parse error before "HashTable"
mod_php4.c: In function `php_apache_value_handler':
mod_php4.c:726: `cmd' undeclared (first use in this function)
mod_php4.c:726: `conf' undeclared (first use in this function)
mod_php4.c:726: `arg1' undeclared (first use in this function)
mod_php4.c:726: `arg2' undeclared (first use in this function)
mod_php4.c:726: `PHP_INI_PERDIR' undeclared (first use in this function)
mod_php4.c: At top level:
mod_php4.c:732: parse error before "HashTable"
mod_php4.c: In function `php_apache_admin_value_handler':
mod_php4.c:734: `cmd' undeclared (first use in this function)
mod_php4.c:734: `conf' undeclared (first use in this function)
mod_php4.c:734: `arg1' undeclared (first use in this function)
mod_php4.c:734: `arg2' undeclared (first use in this function)
mod_php4.c:734: `PHP_INI_SYSTEM' undeclared (first use in this function)
mod_php4.c: At top level:
mod_php4.c:740: parse error before "HashTable"
mod_php4.c: In function `php_apache_flag_handler_ex':
mod_php4.c:744: `arg2' undeclared (first use in this function)
mod_php4.c:751: `cmd' undeclared (first use in this function)
mod_php4.c:751: `conf' undeclared (first use in this function)
mod_php4.c:751: `arg1' undeclared (first use in this function)
mod_php4.c:751: `mode' undeclared (first use in this function)
mod_php4.c: At top level:
mod_php4.c:757: parse error before "HashTable"
mod_php4.c: In function `php_apache_flag_handler':
mod_php4.c:759: `cmd' undeclared (first use in this function)
mod_php4.c:759: `conf' undeclared (first use in this function)
mod_php4.c:759: `arg1' undeclared (first use in this function)
mod_php4.c:759: `arg2' undeclared (first use in this function)
mod_php4.c:759: `PHP_INI_PERDIR' undeclared (first use in this function)
mod_php4.c: At top level:
mod_php4.c:765: parse error before "HashTable"
mod_php4.c: In function `php_apache_admin_flag_handler':
mod_php4.c:767: `cmd' undeclared (first use in this function)
mod_php4.c:767: `conf' undeclared (first use in this function)
mod_php4.c:767: `arg1' undeclared (first use in this function)
mod_php4.c:767: `arg2' undeclared (first use in this function)
mod_php4.c:767: `PHP_INI_SYSTEM' undeclared (first use in this function)
mod_php4.c: In function `php_xbithack_handler':
mod_php4.c:775: `conf' undeclared (first use in this function)
mod_php4.c:776: `HashTable' undeclared (first use in this function)
mod_php4.c:783: parse error before ')' token
mod_php4.c:785: parse error before ')' token
mod_php4.c:787: request for member `xbithack' in something not a structure or union
mod_php4.c: In function `apache_php_module_shutdown_wrapper':
mod_php4.c:800: request for member `shutdown' in something not a structure or union
mod_php4.c: In function `php_child_exit_handler':
mod_php4.c:821: request for member `shutdown' in something not a structure or union
mod_php4.c: In function `php_init_handler':
mod_php4.c:834: `php_module_shutdown_for_exec' undeclared (first use in this function)
mod_php4.c:846: `expose_php' undeclared (first use in this function)
mod_php4.c:847: parse error before "PHP_VERSION"
make[4]: *** [mod_php4.o] Error 1
make[3]: *** [all] Error 1
make[2]: *** [subdirs] Error 1
make[2]: Leaving directory `/tmp/apache_1.3.27/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/tmp/apache_1.3.27'
make: *** [build] Error 2


php was als volgt gecompileerd zonder foutmeldingen:
./configure --with-mysql --with-xml --enable-track-vars --with-apache=../apache_1.3.27

make
make install

wie kan mij vertellen wat er nou precies fout gaat.. want zo te zien wil heel het php gedeelte niet installeren

  • _JGC_
  • Registratie: Juli 2000
  • Nu online
mod_php4.c:28:18: zend.h: No such file or directory

Dat zegt al genoeg, de rest zijn fouten die daaruit voortkomen :P
Waarschijnlijk is je PHP tarball niet compleet

  • egev
  • Registratie: Juni 2002
  • Laatst online: 22:25
die files die hij niet kan vinden zijn wel aanwezig na de php install.
maar kennelijk kan hij ze niet vinden of kijkt in een verkeerde dir?
alle files die hij niet kan vinden staan in...

/usr/local/include/php/main/

  • egev
  • Registratie: Juni 2002
  • Laatst online: 22:25
tevens zie ik in de src/modules/php4/php4.module file verwijzingen staan naar de /tmp/ dir waarin de php tarball staat met de files die hij request.. als ik de met de hand opzoek kloppen deze verwijzingen wel.. maar kennelijk gebruikt het script ze niet?


Name: php4_module
ConfigStart
RULE_WANTHSREGEX=no
LIBS=" -rdynamic -Lmodules/php4 -L../modules/php4 -L../../modules/php4 -lmodphp4 -lcrypt -lresolv -lm -ldl -lnsl -lresolv -lcrypt $LIBS"
RULE_HIDE=yes
CFLAGS="$CFLAGS -I/tmp/php-4.2.3 -I/tmp/php-4.2.3/main -I/tmp/php-4.2.3/main -I/tmp/php-4.2.3/Zend -I/tmp/php-4.2.3/Zend -I/tmp/php-4.2.3/TSRM -I/t$
ConfigEnd

  • Kees
  • Registratie: Juni 1999
  • Laatst online: 16:05

Kees

Serveradmin / BOFH / DoC
Je compileerd PHP statisch, en met apache wil je hem als module compileren? ik snap het even niet ;)

Ik compileer apache & php altijd zo:
configure apache
configure php && make && install
cd apache &&\
./configure \
--activate-module=src/modules/php4/libphp4.a # << NEE, die bestaat ook niet, maar doe het nu maar gewoon zo ;)
make && install

Ik denk dus dat je die activate module fout hebt staan. Je compileert PHP namelijk eerst statisch en vervolgens wil je apache de module van PHP laten gebruiken, en dat gaat niet werken...
alleen is src/modules/php4/libphp4.a kennelijk veranderd in
src/modules/php4/libmodphp4.a
Nee dus, lees de INSTALL

"Een serveradmin, voluit een serveradministrator, is dan weer een slavenbeheerder oftewel een slavendrijver" - Rataplan


  • egev
  • Registratie: Juni 2002
  • Laatst online: 22:25
Bedankt voor de hulp
inderdaad een probleempje met statisisch en modules.
ik heb het op weten te lossen met de volgende opties.

apache:


php:
./configure --with-mysql --with-xml --enable-track-vars --with-apxs=/usr/local/apache1327/bin/apxs --with-apache-conf=/usr/local/apache1327/conf/httpd.conf

apache:
./configure --prefix=/usr/local/apache1327 --enable-module=so --enable-rule=SHARED_CORE --enable-module=most --enable-shared=max --disable-shared=auth_db --disable-module=auth_db --disable-module=auth_dbm --disable-shared=auth_dbm
Pagina: 1