|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Details: I recently setup Apache 1.3.6, PHP3.0.9 for RedHat5.2 Linux2.0.32 kerner
successfully. But when I point Lynx to the http://localhost/test.php3 it prompts me to save the file. I have rechecked all the changes requested to made in the httpd.conf doc, and still I have no clue. This has happened the same when I point my Netscape browser to the test.php3. Please help........ |
|
#2
|
|||
|
|||
|
Sounds like that the server is not running the php interpreter when a request for a filename.php3 is made.
Check the "Setting Up Database Driven Websites" article in DevShed.com. It has a section on installing PHP. http://www.devshed.com/Server_Side/Administration/Database/page5.html Hope this helps. |
|
#3
|
|||
|
|||
|
Suresh,
Make sure in your httpd.conf file that you have told apache to properly parse all files ending in php3. This is done by doing the following... AddType application/x-httpd-php3 .php3 AddType application/x-httpd-php3-source .phps ------------------ Jason Woods http://www.bon-fire.com jasonw@bon-fire.com ------------------ |
|
#4
|
|||
|
|||
|
I have gone through the "Database Driven Website" several times, infact I started from there.
Also I set the AddTypw application/x-httpd-php3 ...... in the /etc/httpd/httpd.conf (I made sure ther is only one httpd.conf in my box What bothers me the FAQ in PHP3 4.8, It says I should see mod_php3.c if I do a /usr/local/apache/bin/httpd -l In my system it shows only http_core.c and mod_so.c. I downloaded the php-3.0.9.tar.gz from php3.com and even I recomiled apache and php3 with no success ....any idea |
|
#5
|
|||
|
|||
|
Finally it all worked. The problem was with the (some) instructions in the "Database Driven Website". The instructions to configure and make and install are all correct by syntax, but doesn't compile the the Apache with PHP3 module, due to incorrect order or sequence of configuration, make and install so causing the problem. The configure, make and install to be done in a specific order and with different options. The correct information is in the "http://www.php3.com/manual/installation.php3" install instructions. It have 18 clear steps. I followed the steps and reconfigure and make and install and it all worked like a magic in ONE SHOT.
"SOME ONE NEED TO LOOK AT THE INSTRUCTIONS IN 'Database Driven websites' IT IS INCORRECT AND MADE ME TO WATE VALUABLE HOURS" otherwise you guys are great and overall information about Apache, mySQL and PHP3 are very useful and good work. Buy Buy : -) |
![]() |
| Viewing: Dev Shed Forums > Programming Languages > PHP Development > PHP3 prompt to save file to disk.. |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|