From owner-freebsd-questions@FreeBSD.ORG Tue Jan 11 18:36:49 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 99DE6106566C for ; Tue, 11 Jan 2011 18:36:49 +0000 (UTC) (envelope-from rjgonzale@estrads.com.ar) Received: from oproxy1-pub.bluehost.com (oproxy1-pub.bluehost.com [66.147.249.253]) by mx1.freebsd.org (Postfix) with SMTP id 6D20B8FC1B for ; Tue, 11 Jan 2011 18:36:49 +0000 (UTC) Received: (qmail 19829 invoked by uid 0); 11 Jan 2011 18:10:09 -0000 Received: from unknown (HELO box511.bluehost.com) (74.220.219.111) by oproxy1.bluehost.com.bluehost.com with SMTP; 11 Jan 2011 18:10:09 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=estrads.com.ar; h=Received:From:To:Subject:Date:User-Agent:Cc:References:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-Id:X-Identified-User; b=AiMfy7KAfmu6FsLrHdC/Sn6nJ9HEG09T/pLfQ63joIpYAz2raeQfEpF3Fc12Y7H6eCRapEoUav88zEV7FE27uWkyBxed9CWXqEGE5TQGGRFyHf5f/P676G6fbiiIdIv2; Received: from r190-132-80-42.dialup.mobile.ancel.net.uy ([190.132.80.42] helo=rjgonzale-laptop.localnet) by box511.bluehost.com with esmtpa (Exim 4.69) (envelope-from ) id 1PcifX-0004kX-Pe; Tue, 11 Jan 2011 11:10:08 -0700 From: Rodrigo Gonzalez To: freebsd-questions@freebsd.org Date: Tue, 11 Jan 2011 16:10:02 -0200 User-Agent: KMail/1.13.5 (Linux/2.6.35-24-generic; KDE/4.5.1; i686; ; ) References: <20110110212143.GA8276@thought.org> <20110111175631.GA27569@thought.org> In-Reply-To: <20110111175631.GA27569@thought.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201101111610.03250.rjgonzale@estrads.com.ar> X-Identified-User: {32647:box511.bluehost.com:gonosade:estrads.com.ar} {sentby:smtp auth 190.132.80.42 authed with rjgonzale@estrads.com.ar} Cc: Paul Macdonald , Gary Kline , Chris Brennan 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:36:49 -0000 Did you restart apache? Second option to check directly php information create a file info.php with this content then go to http://your ip/info.php and check the results, if you see the text, your apache does not have php enabled, if it is enabled you will see information about your php installation On Tuesday, January 11, 2011 03:56:31 pm Gary Kline wrote: > On Tue, Jan 11, 2011 at 11:51:41AM -0500, Chris Brennan wrote: > > On Tue, Jan 11, 2011 at 11:46 AM, 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 > > > > > > Gary, > > > > Did you set up your webserver to parse .php/.phps files. In Apache this > > is probably (I don't have apache install on my fbsd box anymore) at > > /usr/local/etc/apache22/conf/Includes/php.conf. I don't know about other > > webservers... > > > > hth/c- > > Here is a grep -1 php of the httpd.conf, showing that the php types > are allowed. > > > > LoadModule rewrite_module libexec/apache22/mod_rewrite.so > LoadModule php5_module libexec/apache22/libphp5.so > ####LoadModule php5_module libexec/apache/libphp5.so > ###LoadModule php5_module libexec/apache/libphp5.so > > AddType application/x-httpd-php .php > AddType application/x-httpd-php-source .phps > > > AddType application/x-httpd-php .php .htm .html > > > AddType application/x-httpd-php .php > AddType application/x-httpd-php-source .phps > > So, yeah, looks like that is permitted......