To get PHP working on RedHat 8.0, you almost certainly have to change

short_open_tags = Off

to

short_open_tags = On

in /etc/php.ini. This is the single biggest problem people have faced with getting PHP to work on RH 8.0. Before you start mucking around with installing, downgrading, or any of that, make this configuration change and try again.

ahp

On Thursday, January 16, 2003, at 03:24 PM, David Busby wrote:

I think:
  AddType application/x-httpd-php .php
  LoadModule php4_module        modules/libphp4.so
in you httpd.conf will help.
do the error logs say anything good?

/B




----- Original Message -----
From: "Daniel Callahan" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, January 16, 2003 12:28
Subject: Re: RedHat 8.0 & PHP


On Thursday 16 January 2003 13:14, Hardy Merrill wrote:
Daniel Callahan [[EMAIL PROTECTED]] wrote:
Does anyone have a tested set of instructions for getting PHP & Apache
to
work with RH8.0?  Assume that both sets of programs are installed
correctly via the install CD's.
Are you having problems, or are you just asking a general
question?
Basically, when I run php on an HTML file with PHP code, the output is OK.
When I use lynx (or any other browser) to look at the same page (using
Apache
as the server), I get garbage. Since PHP worked sporadically for me with
RH
7.3 & so far not all at with RH 8.0, I thought I'd post the question.
Basically, I have to modify some POS software (that's Point Of Sale) that
uses PHP code heavily, and I can't get RH to give me an environment to
work
with.

I'll try the suggestions already posted, but any additional advice is
welcome.
Daniel.



--
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list


--
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Attachment: PGP.sig
Description: PGP signature

Reply via email to