Setting Up Database Driven Websites This tutorial is an introductory guide to get you started in the world of server-side-scripting and web databases. It covers installation and configuration of MySQL, Apache, and PHP. An example script is also included as a guide for making your own server-side-scripts.
| Name: |
Steven Marin |
| Subject: |
Re: It asks me to save the file to disk |
| Date: |
08-06-1999 02:09PM |
Well you can add me to the list of people saying me too, I have this problem. I found the following excerpt at:
http://www.php.net/FAQ.php3
4.8 I have followed all the steps to install the Apache module version on UNIX, and my PHP scripts show up in my browser or I am being asked to save the file. Help!
This means that the PHP module is not getting invoked for some reason. Three things to check before asking for further help:
Make sure that the httpd binary you are running is the actual new httpd binary you just built. To do this, try running: /path/to/binary/httpd -l
If you don't see mod_php3.c listed then you are not running the right binary. Find and install the correct binary.
Make sure you have added the correct Mime Type to one of your Apache .conf files. It should be: AddType application/x-httpd-php3 .php3
Also make sure that this AddType line is not hidden away inside a or block which would prevent it from applying to the location of your test script.
Finally, the default location of the Apache configuration files changed between Apache 1.2 and Apache 1.3. You should check to make sure that the configuration file you are adding the AddType line to is actually being read. You can put an obvious syntax error into your httpd.conf file or some other obvious change that will tell you if the file is being read corre ctly.
I failed this checklist at stage one. I will attempt to "Find or install the right binary." Please let me know if anyone fixes this and how you did it.
Steve-O
|
Other posts in this thread:
Reply to this post:
|
 |
New On DevShed:
Hot Forum Topics:
|