PHP Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming LanguagesPHP Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old June 21st, 1999, 10:48 AM
kumars
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
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........

Reply With Quote
  #2  
Old June 21st, 1999, 01:06 PM
DesertFox
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
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.


Reply With Quote
  #3  
Old June 21st, 1999, 01:32 PM
jasonw
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
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
------------------


Reply With Quote
  #4  
Old June 21st, 1999, 10:24 PM
kumars
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
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

Reply With Quote
  #5  
Old June 22nd, 1999, 02:38 PM
kumars
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
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

: -)

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming LanguagesPHP Development > PHP3 prompt to save file to disk..


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway