Phpizabi: Difference between revisions
No edit summary |
(replace /etc/init.d with rc-service) |
||
(9 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
{{Delete|PHPizabi is not packaged in Alpine, and the main upstream source has been taken over by domain squatters. Their github has not been updated since ~2007.}} | |||
PHPizabi | [https://github.com/PHPizabi/phpizabi-core PHPizabi] is <small>(was?)</small> a social networking platform. | ||
== Install lighttpd, PHP and MySql == | == Install lighttpd, PHP and MySql == | ||
{{:Setting Up Lighttpd With FastCGI}} | |||
Install extra packages: | |||
{{Cmd|apk add mysql mysql-client php-mysql php-mysqli php-pdo_mysql}} | |||
== Configuring MySql == | == Configuring MySql == | ||
{{Cmd|<nowiki>/usr/bin/mysql_install_db --user=mysql | |||
rc-service mysql start && rc-update add mysql default | |||
/usr/bin/mysqladmin -u root password 'password'</nowiki>}} | |||
'''Create the phpizabi database''' | '''Create the phpizabi database''' | ||
{{Cmd|mysql -u root -p}} | |||
{{Cmd|CREATE DATABASE phpizabi; | |||
GRANT ALL PRIVILEGES ON phpizabi.* TO "root"; | |||
FLUSH PRIVILEGES; | |||
EXIT}} | |||
== Installing and configuring phpizabi == | == Installing and configuring phpizabi == | ||
Create a directory named {{Path|webapps}} | |||
{{Cmd|mkdir -p /usr/share/webapps/}} | |||
Download the latest source code archive | |||
{{Cmd|cd /usr/share/webapps/ | |||
wget https://github.com/PHPizabi/phpizabi-core/archive/refs/tags/v0.848.zip}} | |||
Unpack the archive and delete it afterwards | |||
{{Cmd|unzip v0.848.zip | |||
rm v0.848.zip}} | |||
Change folder | |||
{{Cmd|mv PHPizabi_0.848b_C1\ HFP1/ phpizabi | |||
mv phpizabi/PHPizabi\ 0.848b\ C1/* phpizabi/ | |||
rm -R phpizabi/PHPizabi\ 0.848b\ C1}} | |||
Change the folder persmissions | |||
{{Cmd|chown -R lighttpd /usr/share/webapps/}} | |||
Create a symlink to the {{Path|phpizabi}} folder | |||
{{Cmd|ln -s /usr/share/webapps/phpizabi/ /var/www/localhost/htdocs/phpizabi}} | |||
== Configuring phpizabi == | == Configuring phpizabi == | ||
Browse to: <nowiki>http://WEBSERVER_IP_ADDRESS/phpizabi</nowiki> and Install phpizabi completing the information as appropriate from the web browser. | |||
Browse to: http://WEBSERVER_IP_ADDRESS/phpizabi and Install phpizabi completing the information as appropriate from the web browser. | |||
phpizabi Installation steps: | phpizabi Installation steps: | ||
Line 88: | Line 63: | ||
Review License Agreement | 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 | Please fill in the form below | ||
Database Information | * Database Information | ||
* Please fill in the form below | * 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. | This step will create your database structure. Please stand by while in the creation process. | ||
Continue | Continue | ||
* Admin Account Creation | |||
Please fill in the form below to create your administrative account | :Please fill in the form below to create your administrative account | ||
Administrator information | ::Administrator information | ||
Username: | ::Username: | ||
Email Address: | ::Email Address: | ||
Password: | ::Password: | ||
Submit, Continue, Finish. | Submit, Continue, Finish. | ||
Review the messages above before visiting your new site. | 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! | You have '''phpizabi''' social networking platform installed, to access go to <nowiki>http://WEBSERVER_IP_ADDRESS/phpizabi</nowiki> and enjoy! | ||
[[Category:PHP]] | |||
[[Category:SQL]] |
Latest revision as of 10:08, 17 November 2023
![]() PHPizabi is not packaged in Alpine, and the main upstream source has been taken over by domain squatters. Their github has not been updated since ~2007.
(Discuss) |
PHPizabi is (was?) a social networking platform.
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
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
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 rc-service 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
Create a directory named webapps
mkdir -p /usr/share/webapps/
Download the latest source code archive
cd /usr/share/webapps/ wget https://github.com/PHPizabi/phpizabi-core/archive/refs/tags/v0.848.zip
Unpack the archive and delete it afterwards
unzip v0.848.zip rm v0.848.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 the folder persmissions
chown -R lighttpd /usr/share/webapps/
Create a 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!