This is Gentoo's testing wiki. It is a non-operational environment and its textual content is outdated.

Please visit our production wiki at https://wiki.gentoo.org

Phpwebsite

From Gentoo Wiki (test)
Jump to:navigation Jump to:search
This article is a stub. You can help by expanding it.
Resources
Resources

Installation

USE flags

Cannot load package information. Is the atom www-apps/phpwebsite correct?

MySQL

Create a database for phpwebsite to interact with.

Note
change the changeme's to your own password
root #mysql -u root -p
mysql> CREATE DATABASE IF NOT EXISTS `phpwebsite` DEFAULT CHARACTER SET `utf8` COLLATE `utf8_unicode_ci`;
mysql> CREATE USER 'phpwebsite'@'localhost' IDENTIFIED BY 'changeme';
mysql> GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, INDEX, ALTER ON `phpwebsite`.* TO 'phpwebsite'@'localhost' IDENTIFIED BY 'changeme';
mysql> \q

Emerge

root #emerge --ask phpwebsite

Web install

Navigate to http://127.0.0.1/phpwebsite

The database name is phpwebsite, database user is phpwebsite, database password is changeme

  • Next
  • Click to continue
  • Create a new root user to administrate the site.
  • Continue to your new site.

Navigate to http://127.0.0.1/phpwebsite to see your finished phpwebsite.