[omahaphpusers] Re: configuring Apache for PHP

  • From: Mat Caughron <mat@xxxxxxxxxxxxxxxxx>
  • To: <omahaphpusers@xxxxxxxxxxxxx>
  • Date: Mon, 30 Jun 2003 20:14:01 -0500 (CDT)

Chris:

Are the following in your httpd.conf or one of the files it sources?

DirectoryIndex index.php index.php3 index.html
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps

Once you've added these, you'll want to do an `apachectl restart` to catch
these new directives.



Mat



On Mon, 30 Jun 2003, CM Miller wrote:
>
> Is anyone using PHP with RH 8.0?
>
> Is anyone else having this problem?
>
> The rpm that I apt-get is php-4.2.2-8.0.7, and when I
> view a php file thru a browser, it only appears as the
> text that I have created. I've created the proper
> entries under httpd.conf for php, but it still does
> not work.
>
> Does anyone have any idea what is causing this?
>
> When I get the time, I will uninstall it and install
> all source files for httpd, perl, mysql, and php, but
> right now it is not at the top of my list of things to
> do.
>
> thanks
>
> -Chris
>
>
>
>
>
> =====
> GTFG
>
> GAIM ID:  cmmiller1973
>
> __________________________________
> Do you Yahoo!?
> SBC Yahoo! DSL - Now only $29.95 per month!
> http://sbc.yahoo.com
>
>


Other related posts: