Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
simple index.php for your apache document root
JavaScript PHP
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
phpindex_files
.gitignore
index.php
readme.md
screenshot.png

readme.md

PHPINDEX

PHPINDEX is simple index.php for your web root with bootstrap theme.

Installation

Make sure Reflection isn't disabled

Clone this repository in you apache document root. for example /srv/http/ is mine (archlinux), /var/www/ for debian or ubuntu , /srv/www/htdocs/ for opensuse

cd /srv/http/
git clone git@github.com:intuxicated/phpindex.git phpindexgit
mv phpindexgit/* .

Global installation (Apache only)

If you can access apache configuration file, you can add this script as default for every folder :

DirectoryIndex index.php index.html /srv/http/index.php 

First add your real index files (index.php for example) then add the full address to this script installation folder (for example /srv/http/index.php)

Configuration

Set your database manager software

$database = array(
    'phpmyadmin'=>'/phpmyadmin',
    'adminer'=>'/adminer',
);

and virtual host if indeed

$vhosts = array(
    'mysite'=>'mysite.tld',
    'mysite2'=>'mysite2.tld',
);

PHPINDEXScreenshot

Something went wrong with that request. Please try again.