Re: getting started
| From: | Brian Clark | Date: | Wed, 21 Nov 2001 15:05:27 +0000 |
| Subject: | Re: getting started | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-75398@lists.php.net to get a copy of this message | ||
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.