No consigo configurar apache 2 con php 5, trabajo con Red Hat Advanced Server 3. Apache ya instalado con el propio sistema operativo.
Cuando compilo php5 tal y como dice el manual de instalacion hago lo siguiente:
1- En el manual dice:
./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql
y yo ejecuto:
./configure --with-pgsql
pues en /etc/httpd es donde esta el apache que trae por default el Red Hat y no hay ninguna carpeta dentro de el que contenga apache2/bin/apxs, asi que por eso no pongo esa opcion. Le puse --with-pgsql porque me interesa trabajas con postgres.
2- make
3- make install
4- Voy al httpd.conf y tal como dice el manual de instalacion pongo:
LoadModule php5_module libexec/libphp5.so
y
AddType application/x-httpd-php .php .phtml
pero cuando reinicio el apaqche, que en Red Hat se hace con service httpd restart,me da este error:
Cannot load /etc/httpd/libexec/libphp5.so into server: /etc/httpd/libexec/libphp5.so: cannot open shared object file: No such file or directory
![lloron](http://static.forosdelweb.com/fdwtheme/images/smilies/chillando.png)
Alguien me podria decir por que me da este error y como hacerlo bien.
Cualquier ayuda la agradecería muchísimo
Saludos