Hola tengo instalado mysql y apache2, y estoy intentando configurar php5 con soporte de mysql y apache2, con estas lineas:
./configure --with-mysql=/usr/include/mysql/ --with-apxs2=/contenedor/apxs/apxs
&&
make && make install
El problema, lle ga cuando me intenta compilar el modulo: mod_php5.c
me da lo siguientes errores:
Código:
Que es lo que pasa, es necesario, este modulo? lo puedo borrar y si es necesario, donde esta el problema??-D_REENTRANT -I/contenedor/php5/php-5.0.0/TSRM -g -O2 -pthread -DZTS -prefer-pic -c /contenedor/php5/php-5.0.0/sapi/apache2handler/mod_php5.c -o sapi/apache2handler/mod_php5.lo In file included from /contenedor/php5/php-5.0.0/sapi/apache2handler/mod_php5.c:26: /contenedor/php5/php-5.0.0/sapi/apache2handler/php_apache.h:24:19: httpd.h: No such file or directory /contenedor/php5/php-5.0.0/sapi/apache2handler/php_apache.h:25:25: http_config.h: No such file or directory /contenedor/php5/php-5.0.0/sapi/apache2handler/php_apache.h:26:23: http_core.h: No such file or directory In file included from /contenedor/php5/php-5.0.0/sapi/apache2handler/mod_php5.c:26: /contenedor/php5/php-5.0.0/sapi/apache2handler/php_apache.h:29: error: parse error before "AP_MODULE_DECLARE_DATA" /contenedor/php5/php-5.0.0/sapi/apache2handler/php_apache.h:29: warning: data definition has no type or storage class /contenedor/php5/php-5.0.0/sapi/apache2handler/php_apache.h:37: error: parse error before "request_rec" /contenedor/php5/php-5.0.0/sapi/apache2handler/php_apache.h:37: warning: no semicolon at end of struct or union /contenedor/php5/php-5.0.0/sapi/apache2handler/php_apache.h:38: warning: data definition has no type or storage class /contenedor/php5/php-5.0.0/sapi/apache2handler/php_apache.h:47: error: parse error before '}' token /contenedor/php5/php-5.0.0/sapi/apache2handler/php_apache.h:47: warning: data definition has no type or storage class /contenedor/php5/php-5.0.0/sapi/apache2handler/php_apache.h:49: error: parse error before '*' token /contenedor/php5/php-5.0.0/sapi/apache2handler/php_apache.h:50: error: parse error before '*' token /contenedor/php5/php-5.0.0/sapi/apache2handler/php_apache.h:53: error: parse error before "php_dir_cmds" /contenedor/php5/php-5.0.0/sapi/apache2handler/php_apache.h:53: warning: data definition has no type or storage class /contenedor/php5/php-5.0.0/sapi/apache2handler/php_apache.h:54: error: parse error before '*' token /contenedor/php5/php-5.0.0/sapi/apache2handler/mod_php5.c:28: error: parse error before "module" /contenedor/php5/php-5.0.0/sapi/apache2handler/mod_php5.c:29: error: `STANDARD20_MODULE_STUFF' undeclared here (not in a function) /contenedor/php5/php-5.0.0/sapi/apache2handler/mod_php5.c:29: error: initializer element is not constant /contenedor/php5/php-5.0.0/sapi/apache2handler/mod_php5.c:29: error: (near initialization for `php5_module') /contenedor/php5/php-5.0.0/sapi/apache2handler/mod_php5.c:30: warning: excess elements in scalar initializer /contenedor/php5/php-5.0.0/sapi/apache2handler/mod_php5.c:30: warning: (near initialization for `php5_module') /contenedor/php5/php-5.0.0/sapi/apache2handler/mod_php5.c:31: warning: excess elements in scalar initializer /contenedor/php5/php-5.0.0/sapi/apache2handler/mod_php5.c:31: warning: (near initialization for `php5_module') /contenedor/php5/php-5.0.0/sapi/apache2handler/mod_php5.c:32: warning: excess elements in scalar initializer /contenedor/php5/php-5.0.0/sapi/apache2handler/mod_php5.c:32: warning: (near initialization for `php5_module') /contenedor/php5/php-5.0.0/sapi/apache2handler/mod_php5.c:34: warning: excess elements in scalar initializer /contenedor/php5/php-5.0.0/sapi/apache2handler/mod_php5.c:34: warning: (near initialization for `php5_module') /contenedor/php5/php-5.0.0/sapi/apache2handler/mod_php5.c:36: warning: excess elements in scalar initializer /contenedor/php5/php-5.0.0/sapi/apache2handler/mod_php5.c:36: warning: (near initialization for `php5_module') /contenedor/php5/php-5.0.0/sapi/apache2handler/mod_php5.c:38: warning: excess elements in scalar initializer /contenedor/php5/php-5.0.0/sapi/apache2handler/mod_php5.c:38: warning: (near initialization for `php5_module') /contenedor/php5/php-5.0.0/sapi/apache2handler/mod_php5.c:38: warning: data definition has no type or storage class /contenedor/php5/php-5.0.0/sapi/apache2handler/php_apache.h:53: warning: array `php_dir_cmds' assumed to have one element make: *** [sapi/apache2handler/mod_php5.lo] Error 1
bichomen