Bug 56696 - doco gives no clues about how to activate php nor even whether it is DSO or a re-compile job
Summary: doco gives no clues about how to activate php nor even whether it is DSO or a...
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: php   
(Show other bugs)
Version: 7.2
Hardware: i386 Linux
Target Milestone: ---
Assignee: Phil Copeland
QA Contact: David Lawrence
Depends On:
TreeView+ depends on / blocked
Reported: 2001-11-25 08:21 UTC by Jim Donovan
Modified: 2007-04-18 16:38 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2001-12-08 00:00:29 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

Description Jim Donovan 2001-11-25 08:21:32 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.08 [en] (Win98; I)

Description of problem:
when installing rh7.2, one cannot get php working without significant additional effort.
I would have preferred php to be active straight out-of-the box but it doesn't. Then I would
hope that the doco indicated somewhere whether to re-compile apache as discussed at length
on the PHP web site or whether to activate it as a dynamic shared object. Again, the doco is
silent on the matter although the rpm for php-manual (which might not apply to redhat - does it?)

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1.install rh7.2
2.set up a file mytest.php or similar, containing   <? phpinfo() ?>
3. run netscape file:///home/me/mytest.php3  or perhaps try netscape
4. note that php did not work

Actual Results:  the <? whatever ?> is ignored

Expected Results:  the full page of info about your php version should be displayed

Additional info:

as stated above, I suggest it's a matter of documentation but I'm not certain where this
sort of thing is covered in the RH doco I have. I note that the RH web site includes
snippets from the Linux Documentation Project but because RH is customised, one
cannot assume that LDP applies to RH installation.

Comment 1 Jim Donovan 2001-11-28 22:31:31 UTC
Update from jimd@wahroonga.com .... it works now. I have discovered that after RH7.0 (which had a separate rpm for
mod-php) RedHat changed it so the php rpm activated itself. However, I still think the doco could show somewhere
that RedHat php runs as a .so and that no recompile is needed, despite the lavish amount of doco published
elsewhere describing how to recompile Apache.

Comment 2 Phil Copeland 2002-01-08 20:32:16 UTC
*scratch* ok I'm looking a freshly installed 7.2 box

[root@dhcpd201 public_html]# cat test.php3 
<? phpinfo() ?>

[root@dhcpd201 public_html]# php test.php3 | head -5
X-Powered-By: PHP/4.0.6
Content-type: text/html

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2//EN">

erm,... yes, even shows up ok in netscape.
sorry I can't reproduce this problem on a 7.2 box 


Comment 3 Phil Copeland 2002-01-08 20:36:37 UTC
Oh,.. one thing I would say
there is a differance in
	lynx file:/root/public_html/test.php3  (will NOT work)
	lynx http://localhost/~root/test.php3 (WILL work)


Note You need to log in before you can comment on or make changes to this bug.