Skip to content

colleenpridemore/colleenpridemore.github.io

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PHP Alternative Site

Phalcon PHP is a web framework delivered as a C extension providing high performance and lower resource consumption.

This is a sample application for the Phalcon PHP Framework. We wanted to create an alternative version of the PHP site powered by the C-extension framework.

Thanks.

Get Started

Requirements

To run this application on your machine, you need at least:

  • PHP >= 5.3.6
  • Apache Web Server with mod rewrite enabled
  • Latest Phalcon Framework extension enabled (0.4.x)

Configuration

Check your database configuration and website's base URI.

app/config/config.php

Then you'll need to create the database and initialize schema:

php -r '
require "app/config/config.php";

$n = $config->database->name;
$u = $config->database->username;
$p = $config->database->password;

echo `echo "CREATE DATABASE {$n}" | mysql -u {$u} -p {$p}`;
echo `cat schemas/php_site.sql | mysql -u {$u} -p {$p} {$n}`;
'

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages