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: Always 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 http://127.0.0.1/~my/mytest.php3 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.
Update from jimd .... 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.
*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"> <html> ..etc... erm,... yes, even shows up ok in netscape. sorry I can't reproduce this problem on a 7.2 box Phil =--=
Oh,.. one thing I would say there is a differance in lynx file:/root/public_html/test.php3 (will NOT work) and lynx http://localhost/~root/test.php3 (WILL work) Phil =--=