/VAEditor

Automatically exported from code.google.com/p/peqphpeditor

Primary LanguagePHP

PEQ PHP Editor

IMPORTANT NOTE: Apache 2.2 and PHP 5.6 and earlier are deprecated. Support for these versions is no longer provided and all references will be removed in future updates.

Minimum Requirements

  • Apache 2.4
  • PHP 7
  • MySQL 5 or MariaDB 10

For more help on getting Apache, PHP, or the Editor itself set up, visit us on Discord at https://discord.com/channels/212663220849213441/1019660515523440701

For Linux users, note the following:

  • Permissions: If you choose to store these files outside of your normal html directory, ensure your symbolic link and physical folder have the same permissions. (Recommend 755 for folders and 644 for files)
  • AutoUpdate: You can set the AutoUpdate file with the execute flag and run to pull the latest from git and fix permissions if any were changed.

Installation

  1. Install Apache and PHP. You can get from www.apache.org and www.php.net or get an all-in-one package such as XAMPP from www.apachefriends.org.

  2. Configure Apache and PHP as needed, but make sure you allow short tags (short_open_tag = On). Also recommend you suppress NOTICE, STRICT, WARNING and DEPRECATED messages under error_reporting (E_ALL & ~E_NOTICE & ~E_STRICT & ~E_WARNING & ~E_DEPRECATED). Also, ensure you have the php-mysql extension loaded.

  3. Unzip or checkout the files into your public html directory (such as /htdocs/peqedit) or set up an alias outside that directory if you desire.

  4. From the sql directory, source schema.sql into your database.

  5. Rename config.php.dist as config.php. Then, open up config.php and edit the variables according to your database and needs.

  6. The default username/password for the editor is admin/password. If you want to add a user other than the default user, you can do so via the "admin" link, by the "logout" link, after you log in.

  7. Navigate to index.php in your web browser and have fun!