LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-04-2003, 07:44 PM   #1
dkc_ace
Member
 
Registered: Dec 2002
Distribution: freeBSD 4.9/6.0
Posts: 194

Rep: Reputation: 30
php3 extention support


I am trying to install php3 support on my server i have apache 2 and php 4 something.

the php extention works just fine.

I have read the bottom of this 500 times and i still cant figure out what i need to do. http://hotwired.lycos.com/webmonkey/...tw=programming

I dont know if i have a module apache install or a cgi-bin install. All i know is that however RH9 sets it up is how php and apache is installed.

i figure out WHERE to put this

AddType application/x-httpd-php3 .php3

but it dont seem to work. I have restarted apache server several time and it wont work . Im lost.

UPDATE: Now for some reason when i put in a file such as http://mydoman.com/phpfile.php3 it opens up a download prompt where i can just save the file instead of opening the file :/.

Last edited by dkc_ace; 11-04-2003 at 07:54 PM.
 
Old 11-04-2003, 09:24 PM   #2
Nezzo
Member
 
Registered: Sep 2003
Distribution: Slackware, Ubuntu
Posts: 65

Rep: Reputation: 15
did you try putting your php3 file in your cgi-bin?

it's usually /var/www/cgi-bin
 
Old 11-04-2003, 10:14 PM   #3
iceman47
Senior Member
 
Registered: Oct 2002
Location: Belgium
Distribution: Debian, Free/OpenBSD
Posts: 1,123

Rep: Reputation: 47
that line goes into the httpd.conf file, search for it in the /etc/httpd/ dir

edit: and restart httpd afterwards: /sbin/service httpd restart

(and you don't have to put that file in the /var/www/cgi-bin folder)

Last edited by iceman47; 11-04-2003 at 10:22 PM.
 
  


Reply



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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
blog with php3 and no MySQL netcrusher88 Linux - Software 1 10-01-2005 04:41 PM
source code for a php3 server mrobertson Programming 1 06-24-2005 09:49 AM
Comparing php5 to php3 mrobertson Programming 9 06-23-2005 02:06 PM
PHP3 & PHP4 Differences? oberon-ken-obi Programming 3 04-01-2005 01:12 PM
.php works but not .php3 Reverborama Fedora 4 02-09-2004 01:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:51 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration