about2flip
05-01-2002, 06:08 PM
Hi:
I've installed PHP 4.1.2.pkg on a raq 3i. I assume it installed because I see it listed in my installed software on the RaQ.
When I try to pull up phpinfo file to test it, it starts to download the file?
I read in another thread a solution, but it did not work.
Does anyone know what to do with this issue?
Thanks in advance for your time and help on this issue. :)
blacknight
05-01-2002, 06:48 PM
Check your httpd.conf
I'm not familiar with RAQ3s but it sounds like the extension for the file is being recognised by the browser as a download...
Of course I could be wrong...
about2flip
05-01-2002, 08:07 PM
HI:
I checked it, and I know that the following lines are:
AddType application/x-httpd-php .php3 .php
#AddType application/x-httpd-php3-source .phps
# The following is for PHP/FI (PHP2):
#AddType application/x-httpd-php .phtml
should I uncomment anything else? or what else should I look for?
Thanks Again.
about2flip
05-02-2002, 04:11 AM
Me Again :)
I was looking through httpd.conf and shouldn't one of these lines read libphp4.so and not libphp3.so. Also it should I remove the uncomment. -Thanks
# Extra Modules
#LoadModule php_module modules/mod_php.so
#LoadModule php3_module /usr/lib/apache/libphp3.so
#LoadModule perl_module /usr/lib/apache/libperl.so
# Reconstruction of the complete module list from all available modules
# (static and shared ones) to achieve correct module execution order.
# [WHENEVER YOU CHANGE THE LOADMODULE SECTION ABOVE UPDATE THIS, TOO]
#ClearModuleList
SI-Chris
05-02-2002, 06:16 AM
Those lines are all # commented out so they really don't do anything.
Did you try restarting httpd after you installed PHP?
/etc/rc.d/init.d/httpd restart
about2flip
05-02-2002, 07:24 AM
Yeah. I did.
Just a note. I installed the PHP via control panel using the .pkg for the RaQ3. Should I have installed this way?
I really don't have the time to play with it anymore.
Anyone want to install for me?
Thanks
Add
AddType application/x-httpd-php .php .php
To the end of httpd.conf
I am 99.99% sure that will work
dutchie
05-05-2002, 09:45 AM
is there a php pkg for the raq3 ???
and even a 4.1.2. ???
should have known that :)