From owner-freebsd-questions@FreeBSD.ORG Tue Jan 11 18:06:58 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5CE2A1065674 for ; Tue, 11 Jan 2011 18:06:58 +0000 (UTC) (envelope-from timothyk@wallnet.com) Received: from mail-gw5.njit.edu (mail-gw5.njit.edu [128.235.251.152]) by mx1.freebsd.org (Postfix) with ESMTP id 0363A8FC15 for ; Tue, 11 Jan 2011 18:06:57 +0000 (UTC) Received: from beta.maestro.njit.edu (dhcp114-27.njit.edu [128.235.114.27]) by mail-gw5.njit.edu (8.13.8/8.13.8) with ESMTP id p0BHPLLd014230; Tue, 11 Jan 2011 12:25:29 -0500 (EST) Message-ID: <4D2C9282.4030906@wallnet.com> Date: Tue, 11 Jan 2011 12:25:22 -0500 From: Tim Kellers User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.13) Gecko/20101222 Thunderbird/3.1.7 MIME-Version: 1.0 To: Gary Kline References: <20110110212143.GA8276@thought.org> <4D2B8320.1090501@ifdnrg.com> <20110111164623.GB26859@thought.org> In-Reply-To: <20110111164623.GB26859@thought.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: Paul Macdonald , FreeBSD Mailing List Subject: Re: Which php?? 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: Tue, 11 Jan 2011 18:06:58 -0000 On 01/11/11 11:46, Gary Kline wrote: > On Mon, Jan 10, 2011 at 10:07:28PM +0000, Paul Macdonald wrote: >> On 10/01/2011 21:21, Gary Kline wrote: >>> Which php52 port do I need to run with wordpress? There are a >>> slew of them po ports. >>> >>> tia. >>> >> php5.2 is the last release before its eol'd. >> >> there may be some tweaking, but you'd be better getting it working >> with 5.3 (lang/php5) now rather than later... >> >> Paul. >> > > Well, I have no screen-capture set up o my server, so cannot > show the firefox display. But here is the samr thing using > lynx: > > According to the /usr/local/www/wordpress/* files, php is not > running. I had the wordpress port install itself in the default > place: in /usr/local/www; should I cp the files somewhere else? > --I have no subdomain wordpress (or wordpress.thought.org). > > > > ps 8:20 Server [5025] lynx wp-admin/install.php > (p1 > of 3) > WordPress > > Error: PHP is not running > > WordPress requires that your web server is running PHP. Your server > does not have PHP installed, or PHP is turned off. > > > > WordPress > > get_var("SHOW TABLES LIKE '$wpdb->users'") != null ); // Ensure that > Blogs appear in search engines by default $blog_public = 1; if ( ! > empty( $_POST ) ) $blog_public = isset( $_POST['blog_public'] ); > $weblog_title = isset( $_POST['weblog_title'] ) ? trim( stripslashes( > $_POST['weblog_title'] ) ) : ''; $user_name = > isset($_POST['user_name']) ? trim( stripslashes( $_POST['user_name'] ) > ) : 'admin'; $admin_password = isset($_POST['admin_password']) ? trim( > stripslashes( $_POST['admin_password'] ) ) : ''; $admin_email = isset( > $_POST['admin_email'] ) ? trim( stripslashes( $_POST['admin_email'] ) ) > : ''; if ( ! is_null( $error ) ) { ?> > > ERROR > > > > So:: are there other ways of installing this stuff? Should I > cp -rp this wordpress directory in [e.g.] > /usr/local/www/journey? > > Thanks for any clues, > > gary > > > > > Remember you have to tell apache to run php files as programs. Do you have the following lines in httpd.conf? AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps Those lines should be right around row/line 217 in httpd.conf for apache 2.2 Tim Kellers