UAP Version 4.3.0


What is UserApplePie v4?

UserApplePie is a PHP 7.1.3+ CMS MVC Framework. It's designed to be lightweight and modular, allowing developers to build better and easy to maintain code with PHP.


Documentation

Full docs & tutorials are available at userapplepie.com


Demo Website

Check out the demo website at uap4demo.userapplepie.com


Requirements

The UAP v4 requirements are limited.

Apache Web Server or equivalent with mod rewrite support. IIS with URL Rewrite module installed - http://www.iis.net/downloads/microsoft/url-rewrite PHP 7.1.3 or greater is required fileinfo enabled (edit php.ini and uncomment php_fileinfo.dll or use php selector within cpanel if available.) mySQL Database Server or equivalent

Recommended way to install

UserApplePie is on packagist https://packagist.org/packages/userapplepie/uap-user-management

Install from terminal now by using:

composer create-project userapplepie/uap-user-management foldername dev-master

The foldername is the desired folder to be created.

Once installed on your server, open the site, and it will display an install script.


Install Manually

Option 1 - files above document root:

place the contents of public into your public folder (.htaccess and index.php) navigate to your project in terminal and type composer install to initiate the composer install. edit public/.htaccess set the rewritebase if running on a sub folder otherwise a single / will do. edit app/Example-Config.php change the SITE_URL and DIR constants. the DIR path this is relative to the project url for example / for on the root or /foldername/ when in a folder. Also change other options as desired. Rename file as Config.php Import the database.sql to your database (Updated table PREFIX if changed in Config.php). Enjoy!

Option 2 - everything inside your public folder

place all files inside your public folder navigate to the public folder in terminal and type composer install to initiate the composer install. open index.php and change the paths from using DIR to FILE:

define('APPDIR', realpath(__DIR__.'/app/').'/'); define('SYSTEMDIR', realpath(__DIR__.'/system/').'/'); define('PUBLICDIR', realpath(__DIR__).'/'); define('ROOTDIR', realpath(__DIR__).'/'); edit .htaccess set the rewritebase if running on a sub folder otherwise a single / will do. edit system/Core/Example-Config.php change the SITE_URL and DIR constants. the DIR path this is relative to the project url for example / for on the root or /foldername/ when in a folder. Also change other options as desired. Rename file as Config.php Import the database.sql to your database (Updated table PREFIX if changed in Config.php). Enjoy!


##Setting up a VirtualHost (Optional but recommended)

Navigate to:

<path to your xampp installation>apacheconfextrahttpd-vhosts.conf

and uncomment:

NameVirtualHost *:80

Then add your VirtualHost to the same file at the bottom:

<VirtualHost *:80> ServerAdmin webmaster@localhost DocumentRoot "C:xampphtdocstestprojectpublic" ServerName testproject.dev <Directory "C:xampphtdocstestprojectpublic"> Options Indexes FollowSymLinks Includes ExecCGI AllowOverride All Order allow,deny Allow from all </Directory> </VirtualHost>

Finally, find your hosts file and add:

127.0.0.1 testproject.dev

You should then have a virtual host set up, and in your web browser, you can navigate to testproject.dev to see what you are working on.


版权声明:

1、该文章(资料)来源于互联网公开信息,我方只是对该内容做点评,所分享的下载地址为原作者公开地址。
2、网站不提供资料下载,如需下载请到原作者页面进行下载。
3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考学习用!
4、如文档内容存在违规,或者侵犯商业秘密、侵犯著作权等,请点击“违规举报”。