Skip to content
Patrick Allaire edited this page Dec 22, 2019 · 7 revisions

Windows

  • Please first install a PHP/MySQL server ( like WAMP )
  • Then copy all files from here to your computer, keeping the same structure ( tree system for files )
  • call the address http://127.0.0.1/SubDir_whereIs_BUGS/ ( make sure your line ends with the "/" character )
  • follow steps

Linux or MacOS

  • Copy all files from here to your computer, keeping the same structure ( tree system for files )
  • call the address http://127.0.0.1/SubDir_whereIs_BUGS/ ( make sure your line ends with the "/" character )
  • follow steps

OR

All

If you don't want BUGS use the root access to your database, you may need to create the database AND the user BUGS will use BEFORE the install process. Do to do, proceed as usual thru PhpMyAdmin or whichever database interface you are used with.

  • First create database
  • Then create user
  • Follow it by giving rights to user on the database
  • Then, proceed to BUGS install and fill the BUGS's form with data you created just before (database's name, user's name and password).

The following instructions are from the very first version of this wiki

Nginx

With the "default" php install on nginx, it'll only grab files ending in .php and pass them to your FastCGI Server. tinyissue and some php-based CMSes append paths to the php file for what I (not being a php developer) assume are good reasons. You'll need to beef up your php config like so:

location ~ ^(.+\.php)(.*)$ {
  fastcgi_pass   127.0.0.1:9000;
  fastcgi_index  index.php;
  set $document_root2 $document_root;
  if ($document_root2 ~ "^(.*\\\\).*?[\\\\|\/]\.\.\/(.*)$") { set $document_root2 $1$2; }
  if ($document_root2 ~ "^(.*\\\\).*?[\\\\|\/]\.\.\/(.*)$") {	set $document_root2 $1$2; }
  if ($document_root2 ~ "^(.*\\\\).*?[\\\\|\/]\.\.\/(.*)$") {	set $document_root2 $1$2; }
  if ($document_root2 ~ "^(.*\\\\).*?[\\\\|\/]\.\.\/(.*)$") {	set $document_root2 $1$2; }
  if ($document_root2 ~ "^(.*\\\\).*?[\\\\|\/]\.\.\/(.*)$") {	set $document_root2 $1$2; }
  fastcgi_split_path_info ^(.+\.php)(.*)$;
  fastcgi_param	SCRIPT_FILENAME	$document_root2$fastcgi_script_name;
  fastcgi_param	PATH_INFO	$fastcgi_path_info;
  fastcgi_param	PATH_TRANSLATED	$document_root2$fastcgi_path_info;
  include	fastcgi_params;
  fastcgi_param  DOCUMENT_ROOT      $document_root2;
}

Thanks to the Arch wiki Nginx page

Clone this wiki locally