Am 15. Sep, 2002 schwätzte Kevin Brown so:
> What distro are you running? RedHat hasn't had a mod_php module since RH5.2.
> PHP 4.1.2 is PHP4. To see if it is working with your apache server:
OK, how that we know that the php package provides what you need, let's see
if you've got the parts.
Send us the results of these two commands:
locate libphp4.so
grep -i php /etc/apache/*.conf
Someone please correct those for Red Hat if they should be different.
Mark, rather than /etc/apache it might be /etc/httpd and there might be an
extra conf in that path, e.g. /etc/httpd/*.conf,
/etc/apache/conf/*.conf or /etc/httpd/conf/*.conf
> In your web root folder (most likely /var/www/html for RH7.3)
> vi index.php
> <? phpinfo() ?>
An easier way is to use echo in this case. Make sure the file doesn't exist
via ls.
ls -l /var/www/html/info.php
echo '<? phpinfo() ?>' > /var/www/html/info.php
Now try to open the file with a web browser on that machine.
http://127.0.0.1/info.php
ciao,
der.hans
--
# https://www.LuftHans.com/ http://www.TOLISGroup.com/
# Magic is science unexplained. - der.hans