File tree 1 file changed +34
-0
lines changed 1 file changed +34
-0
lines changed Original file line number Diff line number Diff line change @@ -33,6 +33,10 @@ There are also proof-of-concept ports of this script that only support basic RES
33
33
- PostGIS 2.0 or higher for spatial features in PostgreSQL 9.1 or higher
34
34
- SQL Server 2012 or higher (2017 for Linux support)
35
35
36
+ ## Known issues
37
+
38
+ - Seeing integers as strings? Make sure to enable the ` nd_pdo_mysql ` extension and disable ` pdo_mysql ` .
39
+
36
40
## Installation
37
41
38
42
This is a single file application! Upload "` api.php ` " somewhere and enjoy!
@@ -858,6 +862,36 @@ To run the functional tests locally you may run the following command:
858
862
This runs the functional tests from the "tests" directory. It uses the database dumps (fixtures) and
859
863
database configuration (config) from the corresponding subdirectories.
860
864
865
+ ## Nginx config example
866
+ ```
867
+ server {
868
+ listen 80 default_server;
869
+ listen [::]:80 default_server;
870
+
871
+ root /var/www/html;
872
+ index index.php index.html index.htm index.nginx-debian.html;
873
+ server_name server_domain_or_IP;
874
+
875
+ location / {
876
+ try_files $uri $uri/ =404;
877
+ }
878
+
879
+ location ~ [^/]\.php(/|$) {
880
+ fastcgi_split_path_info ^(.+\.php)(/.+)$;
881
+ try_files $fastcgi_script_name =404;
882
+ set $path_info $fastcgi_path_info;
883
+ fastcgi_param PATH_INFO $path_info;
884
+ fastcgi_index index.php;
885
+ include fastcgi.conf;
886
+ fastcgi_pass unix:/run/php/php7.0-fpm.sock;
887
+ }
888
+
889
+ location ~ /\.ht {
890
+ deny all;
891
+ }
892
+ }
893
+ ```
894
+
861
895
### Docker
862
896
863
897
Install docker using the following commands and then logout and login for the changes to take effect:
You can’t perform that action at this time.
0 commit comments