Does anyone run Redhat 8.0 with working php
...
here is what happen!
I upgraded from RH 7.3 to 8.0...
Apache2 +PHP 4.2.2-18 get installed and replaced Apache 1.3, PHP 4.1.2
I followed Redhat migration instructions from Apache-1.3 to Apache2.
They have done some changes like:
Now I have some includes statements in httpd.conf under /etc/httpd/conf
Example:
mod_php, mod_perl etc...
are pointed to new location under /etc/httpd/conf.d/php.conf.
vi php.conf
LoadModule php4_module modules/libphp4.so
<Files *.php>
SetOutputFilter PHP
SetInputFilter PHP
LimitRequestBody 524288
</Files>
DirectoryIndex index.php
nice, very cool...
but, it does not work...
All of my php scripts cannot be viewed from the any browser...
example:
<? echo date; ?>
All I see is a blank page.
I don't know the problem...
Please let know If you have a clue.
Thank you.
This Problem was resolved,
Thanks to leifr.
Resolution:
Set short_open_tag in your php.ini to On and the <? tag will work.
Tief