[Previo por Fecha] [Siguiente por Fecha] [Previo por Hilo] [Siguiente por Hilo]
[Hilos de Discusión] [Fecha] [Tema] [Autor]jesus velasquez wrote:
espero que me puedan ayudar con el siguiente problema: Estoy trabajando con linux redhat 8.0 y he tratado de instalar apache version 2.0.45 y php 4.3.1 con soporte para Postgres, la instalacion de apache y postgres fue correcta , (aclaro que estoy compilando los fuentes e instalando y compilando php como un modulo de apache) segui unos pasos que me encontre en la web de php.net, toda la compilacion e instalacion salio sin problemas pero cuando trato de cargar una pagina ".php" en el navegador este solo carga una hoja en blanco y no me presenta ningun mensaje de error, o solo carga lo de html y no lo de php y tampoco sale algun mensaje de error.Precisamente si no estan presentes tienes que agregarlas para que las carge el apache al iniciar.Ademas las lineas LoadModule php4_module modules/libphp4.so AddType application/x-httpd-php .php no aparecen en el httpd.conf agradeceria cualquier ayuda los pasos a seguir para la instalacion Fueron estos: ******************************************************** PHP and Apache 2 on Linux ********************************************************* 1. gzip -d httpd-2_0_NN.tar.gz 2. tar xvf httpd-2_0_NN.tar 3. gunzip php-NN.tar.gz 4. tar -xvf php-NN.tar 5. cd httpd-2_0_NN 6. ./configure --enable-so 7. make 8. make install Now you have Apache 2.0.NN available under /usr/local/apache2, configured with loadable module support and the standard MPM prefork. To test the installation use your normal procedure for starting the Apache server, e.g.: /usr/local/apache2/bin/apachectl start and stop the server to go on with the configuration for PHP: /usr/local/apache2/bin/apachectl stop. 9. cd ../php4-NN 10../configure --with-apxs2=/usr/local/apache2/bin/apxs --with-pgsql=/usr/local/pgsql 11. make 12. make install 13. cp php.ini-dist /usr/local/lib/php.ini Edit your php.ini file to set PHP options. If you prefer this file in another location, use --with-config-file-path=/path in step 10. 14. Edit your httpd.conf file and check that these lines are present: LoadModule php4_module modules/libphp4.so AddType application/x-httpd-php .php You can choose any extension you wish here. .php is simply the one we suggest. The path on the right hand side of the LoadModule statement must point to the path of the PHP module on your system. The above statement is correct for the steps shown above. 15. Use your normal procedure for starting the Apache server, e.g.: /usr/local/apache2/bin/apachectl start_______________________________________________________________________________________________________ Obtén gratis tu cuenta de correo en StarMedia Email. ¡Regístrate hoy mismo!. http://www.starmedia.com/email
Atte. Meko!!!! -- Lista de soporte de LinuxPPP Dirección email: Linux en linuxppp com Dirección web: http://mail.linuxppp.com/mailman/listinfo/linux Reglas de la lista: http://linuxppp.net/reglas.html