LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   php3 extention support (https://www.linuxquestions.org/questions/linux-software-2/php3-extention-support-112462/)

dkc_ace 11-04-2003 07:44 PM

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 :/.

Nezzo 11-04-2003 09:24 PM

did you try putting your php3 file in your cgi-bin?

it's usually /var/www/cgi-bin

iceman47 11-04-2003 10:14 PM

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)


All times are GMT -5. The time now is 10:49 PM.