Women in Technology

Hear us Roar



Article:
  Apache Web-Serving with Mac OS X: Part 3
Subject:   Apache-PHP
Date:   2002-11-23 07:03:35
From:   anonymous2
I've added the 2 lines AddType that were missing and I tried again but that does still nothing when I put PHP in my HTML
With tail /var/log/httpd/error_log, I see
[notice]Apache ... resuming normal operations
[notice]Accept mutex: flock (Default: flock)
Has anybody an idea?
Full Threads Oldest First

Showing messages 1 through 1 of 1.

  • Apache-PHP
    2002-12-31 06:05:34  khasmir [View]

    I added the following lines:

    #
    # To use PHP4
    #
    AddType application/x-httpd-php .php
    AddType application/x-httpd-php-source .phps

    I put them after the section of the server-parsed HTML

    works fine for me on v10.2.3