I've changed so much that I'm not sure what I did but it now works. I've got to reverse everything to figure out where the issue was fixed. I'll post it if I can figure it out.
John "John" <[EMAIL PROTECTED]> wrote in message news:... > I have the same symptoms. I've also run /usr/bin/php -i > output.html and > it looks reasonable and proves php does work but not through the web server. > I deleted out the <IFDEFINES> to ensure httpd is including the libphp4.so > file. What else can we do to try and solve it? > > I'm running Apache/1.3.22 (RedHat 7.2) and php 4.1.2. php.ini is in the > /etc/directory. > > John Mulkerin > > "Thomas Deschamps" <[EMAIL PROTECTED]> wrote in message > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > Hi > > > > After looking an the archives, FAQ, etc... I am coming to you to find an > > answer: > > > > My browser displays the context of the php files instead of anything > > else. > > I cannot obtain the server to send them to the php interpreter. > > My configuration is: > > > > -> RedHat 7.2, including php-4.0.6-15, and apache-1.3.22-2 > > > > I did NOT install any of these programs, I just took them as they were > > part of the linux distribution > > I looked into httpd.conf and found > > > > <IfDefine HAVE_PERL> > > LoadModule perl_module modules/libperl.so > > </IfDefine> > > <IfDefine HAVE_PHP> > > LoadModule php_module modules/mod_php.so > > </IfDefine> > > <IfDefine HAVE_PHP3> > > LoadModule php3_module modules/libphp3.so > > </IfDefine> > > <IfDefine HAVE_PHP4> > > LoadModule php4_module modules/libphp4.so > > </IfDefine> > > > > .... > > > > <IfDefine HAVE_PERL> > > AddModule mod_perl.c > > </IfDefine> > > <IfDefine HAVE_PHP> > > AddModule mod_php.c > > </IfDefine> > > <IfDefine HAVE_PHP3> > > AddModule mod_php3.c > > </IfDefine> > > <IfDefine HAVE_PHP4> > > AddModule mod_php4.c > > </IfDefine> > > > > ... > > > > IfModule mod_php4.c> > > AddType application/x-httpd-php .php4 .php3 .phtml .php > > AddType application/x-httpd-php-source .phps > > </IfModule> > > > > # The following is for PHP3: > > <IfModule mod_php3.c> > > AddType application/x-httpd-php3 .php3 > > AddType application/x-httpd-php3-source .phps > > </IfModule> > > > > # The following is for PHP/FI (PHP2): > > <IfModule mod_php.c> > > AddType application/x-httpd-php .phtml > > </IfModule> > > > > ------------------------------------------------------------- > > > > Anyway, the browser displays the content of the php script. ANd I did > > not find how to check if HAVE_PHP macro is working > > Is there anything I can do to prevent this? > > > > Thomas ([EMAIL PROTECTED]) > > > > -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php