install Drupal 7.0 on FreeBSD 8

Our Prerequisites:   FreeBSD 8.2 ,  MySQL 5.x,  PHP 5.x,  Apache 2.x

 

Show stopper..   I got this notice:php

Database type  *
 SQLite
The type of database your Drupal data will be stored in. Your PHP configuration only supports a single database type, so it has been automatically selected.

I have mysql server 5.5.11 installed and Drupal 7 install does not see it.
Need to research why and / or possibly un install mysql 5.5 and down grade to 5.1..  Not sure yet.
This is exactly why we test out upgrades on R&D servers...
To do..  try adding php5-pdo_mysql from ports.
prompt# cd /usr/ports/databases/php5-pdo_mysqlnode

prompt# make install && make cleanmysql

****************************************************************************ios

The following line has been added to your /usr/local/etc/php/extensions.ini
configuration file to automatically load the installed extension:sql

extension=pdo_mysql.soapache

****************************************************************************
 bash

restart apacheapp

prompt# apachectl restart
 post

That totally worked. I'm good to go.. I'll clean up this post a little later.ui

 

 

Buy and Sell Cisco Network Gear.

Drupal is an excellent Content Management System. It's many very popular sites you're familiar with. For more information visit http://drupal.org/

This tutorial installs Drupal version 7.0 on FreeBSD 8.2.  Read through the whole thing first to make sure you have everything required for setup. Then go back and run the install. Your particular system has different setups and file paths then ours so make note of it..

First, you'll want to make sure your system is configured appropriately to run a php based database content management system.

Second, you'll have to create a database for Drupal to use. In our case I used phpMyAdmin to create the database. It's free and easy to use.

Download Drupal 7.0 for install:

Browse to: http://drupal.org and click the download link.
In my case I downloaded drupal-7.0.tar.gz , copied it to my local machine and uploaded it to our server.

 

Install Drupal 7.0:

prompt% tar -xvf  drupal-7.0.tar.gz

Now surf to that site. ie. http://www.yoursite.com/drupal-7.0

 

Standard Defaults are fine. Click Save and Continue.

Click "Install Drupal in English"

Next Page

 

 

Got some errors so lets fix those..  ** Note, we use tcsh so your prompt will be different if you use $bash

Get to a command prompt on the server.

prompt% cd /drupal-7.0/sites/default

prompt% su root

prompt# mkdir files
prompt# chown -R www files
prompt# chgrp -R www files

get out of super user

prompt% cp default.settings.php settings.php

Back into super user.
prompt# chown www settings.php
prompt# chgrp www settings.php
 

Click on "proceed with the installation."

Show stopper...  See above.

 

I'll add more notes as I research it.

Starting here:

In Drupal 7, the PDO

In Drupal 7, the PDO extension is required. Check that you php has PDO enabled, and that mysql is one of the available databases to use.

相關文章
相關標籤/搜索