setup documentation #26

Closed
opened 2021-08-20 17:35:21 +02:00 by SnowCode · 3 comments
Collaborator

I don't understand the project, what are the dependencies? Here is my setup info:

Setup

  • OS: Arch Linux
  • PHP: v8.0.9
  • Web server: nginx/1.20.1 + php-fpm
  • Database: Ver 15.1 Distrib 10.6.4-MariaDB

How to reproduce

  1. Put the code in the PHP directory:
cd /var/www/
git clone https://lostcave.ddnss.de/git/root/threadr.lostcave.ddnss.de

Expected behavior

Error related to database or something.

Current behavior

Get the following error message:

PHP Parse error:  syntax error, unexpected token "%", expecting end of file in /var/www/threadr/threadr/index.php on line 3" 

Conclusion

I have no idea of what I'm doing and I need help.

I don't understand the project, what are the dependencies? Here is my setup info: ## Setup * OS: Arch Linux * PHP: v8.0.9 * Web server: nginx/1.20.1 + php-fpm * Database: Ver 15.1 Distrib 10.6.4-MariaDB ## How to reproduce 1. Put the code in the PHP directory: ```bash cd /var/www/ git clone https://lostcave.ddnss.de/git/root/threadr.lostcave.ddnss.de ``` ## Expected behavior Error related to database or something. ## Current behavior Get the following error message: ``` PHP Parse error: syntax error, unexpected token "%", expecting end of file in /var/www/threadr/threadr/index.php on line 3" ``` ## Conclusion I have no idea of what I'm doing and I need help.
Poster
Collaborator

BTW, this is my site configuration for threadr on nginx:

server {
    server_name 127.0.0.1;
    listen 80;
    listen [::]:80;

    root /var/www/threadr;
    index index.html index.php index.htm;

    location /threadr {
        try_files $uri $uri/ /index.php?$query_string;
    }

    location ~ \.php$ {
        include fastcgi.conf;
        fastcgi_pass unix:/run/php-fpm/php-fpm.sock;
        fastcgi_param   SCRIPT_FILENAME $document_root$fastcgi_script_name;
    }
}
BTW, this is my site configuration for threadr on nginx: ```conf server { server_name 127.0.0.1; listen 80; listen [::]:80; root /var/www/threadr; index index.html index.php index.htm; location /threadr { try_files $uri $uri/ /index.php?$query_string; } location ~ \.php$ { include fastcgi.conf; fastcgi_pass unix:/run/php-fpm/php-fpm.sock; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; } } ```
BodgeMaster added the
ToDo
label 2021-08-20 18:32:41 +02:00
BodgeMaster added the
Priority: Low
label 2021-09-02 06:11:56 +02:00
BodgeMaster changed title from Documentation and installation tutorial to setup documentation 2021-09-07 09:07:24 +02:00

I have checked over all documentation files recently, they should be in pretty good shape for the moment. Setup documentation is still tbd.

I have checked over all documentation files recently, they should be in pretty good shape for the moment. Setup documentation is still tbd.

added setup info

added setup info
Sign in to join this conversation.
There is no content yet.