About PHP with 64-bit integer #1650
Answered
by
wonderfulShrineMaidenOfParadise
wonderfulShrineMaidenOfParadise
asked this question in
Q&A
|
News has dropped 32-bit PHP, so to keep using News, one has to change the hardware to 64-bit one.
However I have no idea how to implement 1st. Any help will be appreciated. |
Replies: 2 comments 2 replies
|
None of these will help if the underlying hardware does not support 64 bit integers. |
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. |
0 replies
Answer selected by
wonderfulShrineMaidenOfParadise
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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; + …