> hi,
> i use redhat 8 machine to run apache 2.0.40 & php4, i can
read
> html pages fine from other computer that connected to the network
but
> can`t read php. i checked and see that the module libphp4.so is
> loaded, and the php code is simple and fine.thw problem is the same
in
> the local machine. can someone help me with it?
>
>
Hi,
We need some clarification here. Does the PHP code get displayed
directly into the browser as it is in the script? If so, you should
add:
--------
AddType application/x-httpd-php .php
--------
To your httpd.conf file and then restart Apache.
[SIZE=3]Eric 'phpfreak' Rosebrock[/SIZE]
[b]When making changes to the httpd.conf file, ALWAYS
restart Apache to make the changes take effect![/b]
<a style='text-decoration: underline;' href="http://www.thewebfreaks.com" target="_blank">http://www.thewebfreaks.com</a>
<a style='text-decoration: underline;' href="http://www.linuxforum.com" target="_blank">http://www.linuxforum.com</a>
<a style='text-decoration: underline;' href="http://www.apachefreaks.com" target="_blank">http://www.apachefreaks.com</a>
<a style='text-decoration: underline;' href="http://www.mysqlfreaks.com" target="_blank">http://www.mysqlfreaks.com</a>
<a style='text-decoration: underline;' href="http://www.phpfreaks.com" target="_blank">http://www.phpfreaks.com</a>
[b]Fatal error: Call to undefined function: brain() in ./self.php on
line 1[/b]
--------------------------------------------
The post originated from ApacheFreaks.com:
--------------------------------------------
<a style='text-decoration: underline;' href="http://www.apachefreaks.com" target="_blank">http://www.apachefreaks.com</a>
<a style='text-decoration: underline;' href="http://www.apachefreaks.com/forums" target="_blank">http://www.apachefreaks.com/forums</a><!-- ~MESSAGE_AFTER~ -->
>> Stay informed about: cant read php4 files