About PHP with 64-bit integer #1650
Answered
by
wonderfulShrineMaidenOfParadise
wonderfulShrineMaidenOfParadise
asked this question in
Q&A
Replies: 2 comments 2 replies
-
None of these will help if the underlying hardware does not support 64 bit integers. |
Beta Was this translation helpful? Give feedback.
2 replies
-
location ~ \.php(?:$|/) {
fastcgi_split_path_info ^(.+?\.php)(/.*)$;
set $path_info $fastcgi_path_info;
try_files $fastcgi_script_name =404;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param PATH_INFO $path_info;
fastcgi_param HTTPS on;
fastcgi_param modHeadersAvailable true; # Avoid sending the security headers twice
fastcgi_param front_controller_active true; # Enable pretty urls
fastcgi_pass php.loadbalancer.example.com:9000;
+ location ~ /index\.php/apps/news {
+ fastcgi_pass php64.loadbalancer.example.com:9000;
+ }
fastcgi_intercept_errors on;
fastcgi_request_buffering off;
} Currently I am trying this. Should be enough for News. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
wonderfulShrineMaidenOfParadise
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
News has dropped 32-bit PHP, so to keep using News, one has to change the hardware to 64-bit one.
But my 32-bit hardware is still something usable and I feel like to keep using it until its EOL. Not every app requires 64-bit PHP.
So I have 3 ideas:
However I have no idea how to implement 1st. Any help will be appreciated.
Beta Was this translation helpful? Give feedback.
All reactions