Donncha O Caoimh wrote:
>> Just put PHP4 RC1 on a server here and it works well enough, but
> everytime I go to a directory url (say http://test/ instead of
>http://test/index.php) Netscape brings up a file requester to save the
> html.
> Looking at the saved file I see that the file hasn't been processed
> (still contains PHP code).
> There's only an index.php file in the directory I'm looking at ..
>> Anyone had this problem?
Unless you add something along the lines of :
AddType application/x-httpd-php4 .php4
into your Apache config, the server will just interpret the file as
something to be served as normal, your web-browser will realise that
it's not a normal HTML file, and will ask you where you want to save.
Make sure the php module is loaded and tell Apache about what a php
file looks like, and you should be fine.
Vin
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!