phpWebSite Content Management System
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.travis-build For Travis CI: Fixed IRC channel, added phplint, made unit test frame… Mar 20, 2014
Autoloaders Merge branch 'master' into namespaceCleanup Feb 7, 2017
admin Remove ending php tags to prevent stray whitespace being echoed to th… Aug 21, 2015
config more setup Jun 6, 2013
core Updated core version Jun 5, 2018
docker_conf Added nginx to docker container. Mar 16, 2018
docker_postgres Extension fixed, now uses and password Apr 12, 2018
docker_web Set up temporal tables with a new postgres docker container. Apr 6, 2018
docs Updated developer list Mar 8, 2017
files trying to merge some files to get up to date to master Jun 6, 2013
images Added to images/ directory Apr 11, 2016
javascript Added some code to prevent duplicate inclusion May 14, 2018
lib removed error silencer Jul 10, 2018
locale Dutch translation updated with great thanks to Han Velthuis. Sep 9, 2013
logs more setup Jun 6, 2013
mod Fixed broken div tag. Jul 11, 2018
secure Update logout.php Apr 5, 2017
setup Modify docker to use postgres 9.6. Change setup files to reflect Cano… Nov 10, 2017
src-phpws-legacy Added http 1.1 protocol Jun 14, 2018
src-phpws2 Added a method to indicate what a pear sequence table's index is. Jul 10, 2018
src Fixed namespace issues. Feb 12, 2018
tests/Global Fix unit tests (hopefully). Add phpunit as a dev dependency through C… Apr 12, 2017
themes/bootstrap Revert "Updated default theme" May 15, 2018
util Fixed name and version of "base" package Sep 17, 2012
.gitignore Added inc/ to ignore May 14, 2018
.htaccess Like what I just did... commiting my own htaccess. How has this not b… Jun 1, 2012
.scrutinizer.yml Updated branch modules to include secure directory Aug 20, 2014
.travis.yml Update travis build to php 7+ only, so that unit tests work. Apr 12, 2017
LICENSE.md Formatted README as MarkDown and added a LICENSE file to be clear abo… Mar 29, 2013
README.md typo fix Jun 4, 2018
Vagrantfile Merge branch 'master' into namespaceCleanup Feb 7, 2017
bootstrap.sh Merge branch 'master' into namespaceCleanup Feb 7, 2017
build.xml build.xml now knows about /Global Jun 4, 2013
cli.php Add cli.php for calling module classes directly from the command line… May 1, 2017
composer.json Fix unit tests (hopefully). Add phpunit as a dev dependency through C… Apr 12, 2017
composer.lock Fix unit tests (hopefully). Add phpunit as a dev dependency through C… Apr 12, 2017
docker-compose.yml Set up temporal tables with a new postgres docker container. Apr 6, 2018
index.php Removed language Feb 9, 2017
phpunit.xml For Travis CI: Fixed IRC channel, added phplint, made unit test frame… Mar 20, 2014
phpwebsite.spec Making RPMs Jun 3, 2013

README.md

Welcome to phpWebSite!

Note: this repository is deprecated. Further updates will now be pushed to https://github.com/AppStateESS/canopy

Build Status

phpWebSite comes with its own set of Pear files. Most of the time you should just use the files included with distribution.

phpWebsite is now using composer for dependencies. Before using the web installer you will have to install composer and run composer install from the project root directory.

After installation you will need to install some content modules.

  1. Login and go to the Administration tab.
  2. Click on Boost.
  3. Click on Other Modules
  4. Install any of the modules included. We recommend you try them all.

Remember after you install to restrict your directory permissions.

These directories should always be writable and executable by Apache:

  • files/
  • images/
  • logs/

Additional permission suggestions:

  • logs/ should NOT be world readable
  • setup/ should be moved or made unreadable AFTER an installation
  • convert/ should be removed after converting

Before updating the core, make sure to make a copy of your config/core directory or some of your settings could get overwritten.

If you are upgrading, the only file you must keep in your config/core directory is language.php.

phpWebSite uses UTF-8 character encoding. Some older database versions of MySQL (pre 4.1) do not support it.

Docker

phpWebSite can now be run in a Docker Container!

  1. Install Docker Engine as per instructions. * Docker Install
  2. Install Docker Compose as per instructions. *Docker Compose Install
  3. Run docker-compose up -d. ( the d option runs it in the background )

You can run psql and mysql command line from localhost to access the container db's. Just use port 5432 for postgres and 4306 for mysql.

(Depending on your system you may need to add your user to the docker group in order to have the privileges to run the docker-compose command)

**Remember while setting up phpwebsite that your database location will not be localhost. We are running 3 seperate containers. One for web, one for mysql, and one for postgresql. If you want mysql then the host will be mysql_db otherwise postgres host will be postgres_db.

Vagrant

phpWebSite can now be run in a Vagrant Box!

  1. Install VirtualBox and Vagrant as per instructions for your platform
  2. Create a new Vagrant Box called 'centos64' from the URL http://puppet-vagrant-boxes.puppetlabs.com/centos-64-x64-vbox4210.box on Linux or Mac, this is done like so: vagrant box add centos64 http://puppet-vagrant-boxes.puppetlabs.com/centos-64-x64-vbox4210.box
  3. vagrant up!

Flowplayer

phpWebSite includes the free version of Flowplayer. Commercial web sites are required to purchase a contract from Flowplayer. Please read more at https://flowplayer.org/pricing/