phpWebSite Content Management System
PHP JavaScript Smarty CSS HTML Shell
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 fixed namespace bug. Oct 12, 2017
docker_conf Add xdebug to docker container dev environment Apr 20, 2017
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 Made directories relative to fix nginx bug. Sep 11, 2017
lib Fixed php 7 issues Mar 8, 2017
locale Dutch translation updated with great thanks to Han Velthuis. Sep 9, 2013
logs more setup Jun 6, 2013
mod Added ability to silence menu. Nov 20, 2017
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 Namespace fixes for PHPWS_Cookie Nov 13, 2017
src-phpws2 Added missing variable type for boolean. Nov 20, 2017
src Changed Server variable to REQUEST_URI from REDIRECT_URL Mar 27, 2017
tests/Global Fix unit tests (hopefully). Add phpunit as a dev dependency through C… Apr 12, 2017
themes/bootstrap Namespace everything in /src and then fix everything that broke. I th… Oct 27, 2016
util Fixed name and version of "base" package Sep 17, 2012
.gitignore Add vendor to .gitignore. Nov 2, 2016
.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
Dockerfile Update docker to install php soap Sep 7, 2017
LICENSE.md Formatted README as MarkDown and added a LICENSE file to be clear abo… Mar 29, 2013
README.md Update README.md Aug 24, 2017
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 Modify docker to use postgres 9.6. Change setup files to reflect Cano… Nov 10, 2017
docker-entry.sh Re-add all the docker stuff that got deleted mysteriously. Mar 21, 2017
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!

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 dependecies. 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 6432 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/