From owner-freebsd-questions@FreeBSD.ORG Sun Jan 22 18:19:27 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 12FD916A41F for ; Sun, 22 Jan 2006 18:19:27 +0000 (GMT) (envelope-from david@ion.lu) Received: from viefep17-int.chello.at (viefep17-int.chello.at [213.46.255.23]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0C3C743D45 for ; Sun, 22 Jan 2006 18:19:25 +0000 (GMT) (envelope-from david@ion.lu) Received: from [192.168.1.104] (really [213.47.196.20]) by viefep17-int.chello.at (InterMail vM.6.01.04.04 201-2131-118-104-20050224) with ESMTP id <20060122181923.CUBZ15321.viefep17-int.chello.at@[192.168.1.104]>; Sun, 22 Jan 2006 19:19:23 +0100 Message-ID: <43D3CCA6.1000100@ion.lu> Date: Sun, 22 Jan 2006 19:19:18 +0100 From: David Raison User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051014) X-Accept-Language: en-us, en MIME-Version: 1.0 To: stan References: <20060122174628.GA17607@teddy.fas.com> In-Reply-To: <20060122174628.GA17607@teddy.fas.com> X-Enigmail-Version: 0.92.0.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: Free BSD Questions list Subject: Re: Help getting wordpress working oon 4.11 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Jan 2006 18:19:27 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Stan, add the following to your httpd.conf AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps And index.php to the DirectoryIndex (so your index.php file gets loaded automatically if no filename is supplied) DirectoryIndex index.php index.html but I'm not sure if this is the same with apache 1.3 (I'm using 2.2) you may also need to add the following: LoadModule php5_module libexec/apache22/libphp5.so # php4_module if you're using php4 stan wrote: > I'm trying to set up wordpress on a fairly current 4.11 machine. > > I've installed the wordpress port, and the mysql 1.41 port. I've > created a mysql database called wordpress, and I can access it from > the command line with mysql. > > I'm able to access the setup instructions from apache on that > machine. They say to run the ~/admin/install.php script. The > problem is that when I do that, instead of executing it, it is just > displayed. > > I suspect that I need to change the apache config to _execute_ php > code, but I can't figure out how. > > Any digestions? > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFD08ym/sLffsMilEkRAv9tAJ9wsLppp6Y8/A7YzSNkwscv7rRtUACghMBe m0GUE0yORXnU01z9qXxCqcc= =I1Y2 -----END PGP SIGNATURE-----