[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [cobalt-users] Apache Doesn't Process php Files
- Subject: RE: [cobalt-users] Apache Doesn't Process php Files
- From: "Phil Beynon" <Infolink@xxxxxxxxxxxxxxx>
- Date: Thu May 23 06:11:43 2002
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
> I am having trouble getting Apache to process php files through the PHP
> interpreter. When I view a *.php file in a browser, I see my PHP source.
>
> I am running Apache 1.3.20 on a RAQ4. The web server was
> installed before I
> became involved in this project.
>
> I have successfully installed PHP 4.1.2 using the package from
> Pkgmaster.com
> through the Install Software applet on the admin control panel. I can run
> PHP interactively from the command line. The php.ini file is in
> /etc/httpd.
>
> I have the following lines in my httpd.conf file:
>
> # Extra Modules
> #LoadModule php_module modules/mod_php.so
> #LoadModule php3_module modules/libphp3.so
> LoadModule php4_module modules/libphp4.so
>
> # Extra Modules
> #AddModule mod_php.c
> #AddModule mod_php3.c
> AddModule mod_php4.c
> AddModule mod_perl.c
> #AddModule mod_casp2.c
>
> AddType application/x-httpd-php .php4
> AddType application/x-httpd-php .php
>
> The last two lines are actually in both the main configuration section and
> the VirtualHost section for the site that I am trying to use.
>
> I have restarted the web server several times.
>
> What else do I need to check? What could be preventing Apache and PHP from
> playing nice together?
>
> --
> Bruce Vander Werf
> brucev@xxxxxxxxxxxxx
Bruce,
Did you actually enable it in the GUI for the site in question?
You should have a little circular blue php logo next to the site name in the
sites list.
Phil
http://www.diygear.com THE Online DIY Toolstore For DIY & Business
Infolink Electronic Systems Ltd. Suppliers of:- PC based Computer Systems,
Peripheral & Hardware, Plus Web Design & Cobalt Raq4 Hosting Solutions
Contact the Sales desk at infolink@xxxxxxxxxxxxxxx or Tel 0121 458 4894
(office) 0121 441 3558 (home)