You can run the PHP code online to quickly test some sample code. And also it helps you to share the code.
- Download the code.
- Place your code in Apache root folder and access public folder. If you want to host under your domain, point to public folder.
- Give write access to the code folder.
- Change the config files for database connections and fb app settings, based on the environment mode set in public/.htaccess
- Thats it. Enjoy :)
You can find live app here http://dev.riktamtech.com/phponline/public
- Check your environment mode in .htaccess file in public folder.
- SetEnv APPLICATION_ENV "development"
- Open the environment config specific file (app/config/conf_dev.inc.php)
- Check the database connection
- Change the facebook app settings
- Check the php path
- Modify the app/php.ini file
- you can pull the php.ini from php installation location and add disable_functions property.
- Open config/config.inc.php file
- Change the file extension if you want
- DB schema is avaible in db/schema.sql file
- Social Sharing (public, private, etc)
- Forking code
- Showing the versions of a file. User can access the old version by changing the number in the URL.
- Delete the files.
- Name the files.
- etc
- Fork it.
- Create a branch (
git checkout -b Php-Online
) - Commit your changes (
git commit -am "Added Php-Online"
) - Push to the branch (
git push origin Php-Online
) - Create an [Issue][1] with a link to your branch