Hi Douglas,

@ 5:59:31 AM on 11/21/01, Douglas McKenzie wrote:

> I've installed php4 but can't get it working. There is a .php file under
> the web root, httpd.conf knows about the .php extension but the file is
> not geting parsed, just the code shown.

Here's what's in my httpd.conf:

DirectoryIndex index.htm index.html index.shtm index.shtml index.php index.php3 
index.php4 index.phtml
AddType application/x-httpd-php .php .php3 .php4 .phtml

And if PHP is a DSO and not built into Apache:

LoadModule php4_module  /path/to/modules/libphp4.so

(make sure /path/to/modules/ is correct for your system)

And you'll need to restart apache:

$ apachectl stop
$ apachectl start

> What am I doing wrong/still need to do? Do you need to start php like
> you do mysql and httpd?

Nope..

--
 -Brian Clark | PGP is spoken here: 0xE4D0C7C8
  Please, DO NOT carbon copy me on list replies.


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to