★ wanayoo — archive 1999 http://www.devshed.com/Server_Side/Administration/Database/comments.html/c1040/Nouvelle recherche | Portail wanayoo

Developer Shed
Wednesday, 08.16.2000  
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.

HOME > SERVER SIDE > ADMINISTRATION > ARTICLE > COMMENTS    PHP SOURCE

Power Search
Free Newsletter:


Client Side
DHTML
Flash
Graphics
JavaScript
XML

Server Side
Administration
JServ
MySQL
Perl
PHP
Python
Roxen
Zend
Zope

Tools
HTML Editors
Graphic Editors
FTP Programs

Dev Talk
Forums
Mailing List
Book Samples
Brain Dump
Developer News
Feedback

ClipScripts
Add script
Edit script

Other Stuff
DevShed RDF
Propaganda!


Advertise
on DevShed
.
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:
 Top
 • It asks me to save the file to disk  George Edwards  06-12-1999 11:44PM 
       • Re: It asks me to save the file to disk  Dinakar Desai  07-02-1999 01:31PM 
             • Re: It asks me to save the file to disk  Doug Maske  07-26-1999 02:23PM 
                   • Re: It asks me to save the file to disk  Steven Marin  08-06-1999 02:09PM 
                         • Re: It asks me to save the file to disk  Vincent Lim  01-08-2000 04:23AM 
                               • Re: It asks me to save the file to disk  Vincent Lim  01-11-2000 09:00PM 
                                     • Re: It asks me to save the file to disk  John Underwood  02-27-2000 11:29PM 
                   • Re: It asks me to save the file to disk  Michael Weber  12-12-1999 07:31PM 
       • Re: It asks me to save the file to disk  Brendon Maragia  06-14-2000 06:13AM 


Reply to this post:
Name:

Preview Comment.
Notify me of replies to this message.
Email:
Subject:
Tip: Put any source code between [code][/code] tags to increase readability


New On DevShed:
• MySQL Developer Contests PostgreSQL Benchmarks
• PHP 101 (part 3) - Chocolate Fudge And Time Machines
• MaxSQL Announced
•  PHP 101 (Part 2) - Shakespeare's Rose
• PHP 101 (Part 1) - Secret Agent Man
• The Search For The Perfect Web Host
• Perl 101 (Part 5) - Sub-Zero Code
•  Submit Your News..

Hot Forum Topics:
• Installing old IE browsers
• Auction Site
• Have anyone games written in php?
• open new window
• Calling a C program
• Problem with refersh...


Adsmart Network ad
Copyright © 1997-2000 ngenuity. All rights reserved. Privacy Policy.