This is a public repository to test deployment of PHP applications.
app/index.html- Static HTML page.app/index.php- Same asapp/index.html, but prints current PHP version.app/query/index.php?value=test- Test using query strings.app/cron.php- Writes a timestamp toapp/data/cron.txt. Use to test a cron task.app/info/index.php- Showsphpinfo()output.app/private.php,app/info/private.phpapp/public.php, andapp/info/public.php- Use to test which PHP files may be executed.app/db/index.php- Tests connection to a MySQL compatible database.app/rw/index.php- Writes to and then reads fromapp/data/rw.txt. Theapp/datapath will need to be created or mounted by the host system.
The test-php-app source is hosted on GitHub. Clone the project with
$ git clone https://github.com/ourtownrentals/test-php-app.git
Copyright 2016 OurTownRentals.com.
This software is provided "as is" and without any express or implied warranties, including, without limitation, the implied warranties of merchantibility and fitness for a particular purpose.