-5
votes
1answer
50 views

Server configuration - script exceptionally doing slow in my server [closed]

I have a high performance PHP script that uses threads and perform a lot of HTTP Post and Database operation per each iterations. I won't dive into the script code here, caus it's a simple one, so ...
0
votes
0answers
681 views

Configure Nginx to run Codeigniter/PHP app?

I'm totally stumped. I've looked at about a dozen tutorials explaining how to configure Nginx to run PHP and a Codeigniter app. I can't get anything to work and worse yet typing mysite.com into the ...
0
votes
2answers
260 views

xlsx fix - on the server vs in php

We have a php application, and xlsx files are getting downloaded as zip files. I've seen many posts with solutions for handling this - with htaccess, httpd.cond, and mime.types files. Our files ...
2
votes
4answers
268 views

Is it possible to rename php.ini to something else?

It's possible in apache's configuration httpd.conf to set up .htaccess so that it is named something different, using the AccessFileName .htaccess directive. Is there any way to set up PHP so it ...
2
votes
1answer
239 views

Installing PHP on IIS 7-Manual vs. Web platform

I'm new to working with MS Server 2008 & IIS 7. I need to install PHP on this server and am not sure whether I should go the manual route as detailed on the official PHP site, or use Microsoft's ...
0
votes
2answers
361 views

What is the best server environment to resist massive traffic with Drupal?

I am setting up a Drupal website that might have critical traffic for a while. What is the best setup (distro, apache/ngynx/lighttpd, reverse proxy, sql server, php version, etc) to handle it? Drupal ...
2
votes
5answers
2k views

Inconsistent trailing slash in DOCUMENT_ROOT variable in PHP when using Apache

In different server environments, the PHP $_SERVER['DOCUMENT_ROOT'] super global sometimes has a trailing slash and sometimes it does not. I would have thought this issue is directly related to how ...
-1
votes
4answers
472 views

What linux / apache host server settings could be affecting my upload speeds?

Upload speeds to one particular server of mine are drastically slower than expected, or tolerable. I am moving a site to a new host; part of the functionality of the site is the upload of several ...
2
votes
1answer
3k views

Any guide to set values for fastcgi_buffers in Nginx config?

I just moved our blog-network to ngnix (from apache) which is powered by WPMU. Everything is running smoothly and fine. During my quest to optimize server to the max level - I came across this thread ...
1
vote
2answers
755 views

Sharing includes files with PHP across domains on shared hosting

Can I use an includes folder on one website and set up "trusted domains/IPs" that are allowed to access the files in this folder (all other domains/IPs are restricted)? All the sites are on the same ...
0
votes
1answer
1k views

How to modify allow_url_fopen Local Value

This is a question about PHP configuration on a LAMP server. I want to turn off allow_url_fopen on one virtual host but not the other (i.e. can't turn it off globally in php.ini). The other day I had ...