Hi my name is Andrew and this is the problem that I am having. I installed the server version of Redhat Linux 7.1. The problem I am having is that when I set up a test.php file with the usual test function I am not getting anything being recognized by the browser.
This is the file contensts and below that you will see what I have done so far in an attempt to fix whatever the problem might be. test.php file put in var/www/html directory Server class installation .......................................................................................................... <HTML> <HEAD><TITLE>TESTING PHP</TITLE> </HEAD> <BODY> <? /* * PRINT PHP INFO */ phpinfo(); echo "HELLO WORLD!"; ?> </BODY> </HTML> .................................................................................................................................. What I have done. I made sure all the module and Addtype directives were uncommented in my httpd.conf file and the relevant lines look like what you see below <IfDefine HAVE_PHP4> LoadModule php4_module modules/libphp4.so </IfDefine> <IfDefine HAVE_PHP4> AddModule mod_php4.c </IfDefine> ServerName localhost # DocumentRoot: The directory out of which you will serve your # documents. By default, all requests are taken from this directory, but # symbolic links and aliases may be used to point to other locations. # DocumentRoot "/var/www/html" # And for PHP 4.x, use: # <IfModule mod_php4.c> AddType application/x-httpd-php .php .php4 .php3 .phtml AddType application/x-httpd-php-source .phps </IfModule> Beyond this I updated my Kernel and all the new packages as a last resort two days ago. I also put /usr/lib/php in the ld.so.conf file and then ran the ldconfig command to force the libraries to link. The ld.so.conf file now looks like this /usr/lib /usr/kerberos/lib /usr/X11R6/lib /usr/lib/qt-2.3.0/lib /usr/lib/mysql /usr/lib/php No luck. The tests I ran on the three individual packages are these. I can restart the apache server and run a syntax check on it. I can connect to mysql database which is one of the modules loaded with the php. I can query the version number of the php instalation and get the information on its configuration using php -i However when I run a syntax check the system hangs. So individually all three packages seem to be working up to a point. If the syntax hang is the clue can someone solve it for me. Somebody help. I do not want to go and do a reinstallation using the custom class options as this will wip out my udate changes I made to the system using the update agent over a modem (yes you may now begin to laugh) as I only have the 7.1 CDs. This should not be so difficult . Andrew F. Carrington Phone/Fax: 618 655 0795 email: [EMAIL PROTECTED] _______________________________________________ Seawolf-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/seawolf-list