[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] RaQ3 and PHP
- Subject: Re: [cobalt-users] RaQ3 and PHP
- From: shimi <shimi@xxxxxxxxxxxxxxxx>
- Date: Sun Mar 11 01:21:04 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
su to root
do
pico /etc/httpd/conf/httpd.conf
make sure that in the begining of the file where there is the LoadModule
and AddModule lines, you have the following:
LoadModule php4_module lib/apache/libphp4.so
AddModule mod_php4.c
(or 3 if u installed php3)
if u don't have them, add them. exit and save (ctrl+x, Y, enter)
do killall -HUP httpd
see if your server still runs. if yes, the php module is loaded, continue
to next part of my message. if not, either u didn't compile/installed it
(php) right - or your module files are located SOMEWHERE else. You'll need
to find out where (I would use the "locate" utility) - and set the correct
path in httpd.conf. Assuming u don't make it and just wanna run the server
back, go back into the file, remove the two files, quit and save, then
type "httpd" - that would luanch the server back.
assuming it *did* work:
go down to the virtualsite u wanna enable php in.
(something that starts with <VirtualHost [ip]> - at the buttom of the
file in 99.99% of the systems)
search for the line:
AddType text/html .shtml
before it u should add:
for php4
AddType application/x-httpd-php .php .php3 .php4
for php3:
AddType application/x-httpd-php3 .php .php3
general note:
remember that CaPs ARE important (you'll have troubles if you do "addtype"
instead of "AddType" and "addmodule" instead of "AddModule")
hope u can go through :)
Best regards,
shimi [mailto:shimi@xxxxxxxxxxxxxxxx]
----
There are two major products that come out of Berkeley: LSD and BSD.
We don't believe this to be a coincidence.
-- Jeremy S. Anderson
Windows: "Where do you want to go today?"
Linux: "Where do you want to go tomorrow?"
BSD: "Are you guys coming or what?"
On Sun, 11 Mar 2001, Robert Fogt wrote:
> I installed the PHP3 rpms on my RaQ3. Installation went fine, but php pages
> are not being parsed, just sent as plain text. Any ideas?
>
> _______________________________________________
> cobalt-users mailing list
> cobalt-users@xxxxxxxxxxxxxxx
> To Subscribe or Unsubscribe, please go to:
> http://list.cobalt.com/mailman/listinfo/cobalt-users
>