Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/abtris/solarphp-quickstart
Framework SolarPHP Quickstart demo
https://github.com/abtris/solarphp-quickstart
Last synced: about 1 month ago
JSON representation
Framework SolarPHP Quickstart demo
- Host: GitHub
- URL: https://github.com/abtris/solarphp-quickstart
- Owner: abtris
- Created: 2010-03-15T16:35:51.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2023-12-01T14:13:18.000Z (12 months ago)
- Last Synced: 2024-04-15T03:04:08.535Z (7 months ago)
- Language: PHP
- Homepage:
- Size: 734 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
SECURITY NOTE
=============The default system comes with a root `index.php` file. This is provided for
first time users, who (of course) need quick feedback that the system is
working, and who are likely to have placed the entire system in the document
root.This is a highly insecure technique, provided **only** for quick-start
purposes. Web clients will be able to browse all the files in the system, not
just the public ones.Our **very strong recommendation** is that you delete the root `index.php`
file, and instead, point your web server document root to `system/docroot/`.
Setting up a virtual host for this is generally best.Writable Directories
====================Be sure to make the `sqlite/` and `tmp/` directories fully-accessible to the
web server process. The easiest (but least-secure) way to do this is to allow
all users read/write/execute privileges:{{code: bash
chmod -R 777 sqlite
chmod -R 777 tmp
}}Alternatively, as a more-secure method, you may wish to `chown` or `chgrp`
those files to the web server process, and set `chmod 750` on them.Troubleshooting
===============* If you see "PDOException: SQLSTATE[HY000] [14] unable to open database file"
it's probably because the `sqlite/` directory is not writable; be sure to
issue `chmod 777 sqlite`.* If you see session errors right away, it's probably because the
`tmp/session/` directory is not writable; be sure to issue
`chmod -R 777 tmp`.