I am getting the following error when trying to upload file using Nginx web server:
2018/01/21 12:19:23 [error] 375#375: *25019 client intended to send too large body: 3881539 bytes, client: 102.21.181.13, server: www.cyberciti.biz, request: “POST /cms/wp-admin/async-upload.php HTTP/2.0”, host: “www.cyberciti.biz”, referrer: “https://www.cyberciti.biz/cms/wp-admin/post.php?post=&action=edit”
How do I fix this problem and allow file uploads upto 10MB?
[continue reading…]
/etc/php.ini
I am using PHP 5.6.xx and Nginx server on an Apline Linux server. I want to hide ‘X-Powered-By: PHP/5.6.32’ or ‘x-powered-by: PHP/7.3.6’ HTTP header. How can I hide PHP version when using Nginx along with PHP-fpm5 or PHP-fpm7?
[continue reading…]
[continue reading…]
I have four Apache backend servers in front of nginx reverse proxy server. How do I make sure nginx reverse proxy load balancer always send specific client IP address (say IP 1.2.3.4) request to http://apachereadwrite/ backend and rest to http://apachereadonly/ backend?
[continue reading…]
[continue reading…]
I am in the process of setting Apache and PHP for my small business server. I’m not utilizing file upload functionality in any of my PHP scripts. How do I disallow uploading files under CentOS or Ubuntu Linux based LAMP server?
[continue reading…]
[continue reading…]
I‘ve recently installed php 5.3.5 in my UNIX box and my old working php code not working. It displays code in pages which is in <? … my code … ?> php tags. How do I fix this problem?
[continue reading…]
How do I increase upload file limit from 2MB to 10MB under Apache 2 UNIX / Linux web server?
[continue reading…]
I am using PHP along with the latest version of Apache web-server. Only <?php and <script> tags are recognized by my LAMP setup. Many of my scripts are broken. How do I allow the <? tag also?
[continue reading…]
[continue reading…]