Phpizabi

From Alpine Linux
Revision as of 08:10, 12 March 2012 by Dubiousjim (talk | contribs) (Category:PHP)

What is phpizabi?

PHPizabi is one of the most powerful social networking platforms on the planet. With literally thousands of websites powered by PHPizabi including everything from simple friends sites to the most complex networking super sites out there. Easy to install, use, and raising the bar on what it is to provide a reliable, fast, social networking package to raise your business to the next level.

Set up phpizabi on Alpine Linux

This document will be a quick c/p guide to setup phpizabi on Alpine linux. What we will setup is the following:

  • Lighttpd with PHP
  • Mysql
  • phpizabi

Install lighttpd, PHP and MySql

Basic Installation

For installing the additional packages first activate community packages and update the package index

Install the required packages:

# apk add lighttpd php82 fcgi php82-cgi

Configure Lighttpd

Edit lighttpd.conf (/etc/lighttpd/lighttpd.conf) and uncomment the line:

Contents of /etc/lighttpd/lighttpd.conf

... include "mod_fastcgi.conf" ...

Edit mod_fastcgi.conf (/etc/lighttpd/mod_fastcgi.conf), find and change /usr/bin/php-cgi to /usr/bin/php-cgi82.

Contents of /etc/lighttpd/mod_fastcgi.conf

... "bin-path" => "/usr/bin/php-cgi82" # php-cgi ...

Start lighttpd service and add it to default runlevel

# rc-service lighttpd start # rc-update add lighttpd default

Install extra packages:

apk add mysql mysql-client php-mysql php-mysqli php-pdo_mysql

Configuring MySql

/usr/bin/mysql_install_db --user=mysql /etc/init.d/mysql start && rc-update add mysql default /usr/bin/mysqladmin -u root password 'password'

Create the phpizabi database

mysql -u root -p

CREATE DATABASE phpizabi; GRANT ALL PRIVILEGES ON phpizabi.* TO "root"; FLUSH PRIVILEGES; EXIT

Installing and configuring phpizabi

Install phpizabi

Make webapps folder

mkdir /usr/share/webapps/ -p

Download

cd /usr/share/webapps/ wget http://www.phpizabi.net/actual_package/PHPizabi_0.848b_C1_HFP1.zip

Unpack and delete tar file

unzip PHPizabi_0.848b_C1_HFP1.zip rm PHPizabi_0.848b_C1_HFP1.zip

Change Folder

mv PHPizabi_0.848b_C1\ HFP1/ phpizabi mv phpizabi/PHPizabi\ 0.848b\ C1/* phpizabi/ rm -R phpizabi/PHPizabi\ 0.848b\ C1

Change Folder Persmissions

chmod -R 777 /usr/share/webapps/phpizabi/

Make Symlink to the phpizabi folder

ln -s /usr/share/webapps/phpizabi/ /var/www/localhost/htdocs/phpizabi

Configuring phpizabi

Browse to: http://WEBSERVER_IP_ADDRESS/phpizabi and Install phpizabi completing the information as appropriate from the web browser.

phpizabi Installation steps:

Welcome!

Review License Agreement

  • Please review the license agreement before you install the software.
I have read and I agree to the PHPizabi end user license agreement
  • System Integrity Check
  • Database Information
  • Set up database

Please fill in the form below

  • Database Information
  • Please fill in the form below
MySQL Database Information
Tables prefix: dontchange
Database Username: root
Database Password: password
Hostname: localhost
Database name: phpizabi
Attempt to create the database if it doesn't exist
  • Database Structure Creation

This step will create your database structure. Please stand by while in the creation process. Continue

  • Admin Account Creation
Please fill in the form below to create your administrative account
Administrator information
Username:
Email Address:
Password:

Submit, Continue, Finish.

Review the messages above before visiting your new site. You have phpizabi social networking platform installed, to access go to http://WEBSERVER_IP_ADDRESS/phpizabi and enjoy!