1
vote
1answer
80 views

nginx 404 instead of 403 for empty directory

I have the following config for my nginx server: server { listen 80 default_server; server_name example.com www.example.com; root /var/www/example.com/web; index index.php ...
1
vote
1answer
177 views

Identify Long Running or Slow PHP Scripts

I have web server that is getting around 25K visits a day up at yougetsignal.com. Sometimes the site feels a bit sluggish. I am hosting it on nginx with php5-fpm. Is there a way for me to see a list ...
0
votes
1answer
105 views

correct permissions mod for /var/www/project

I am developing web applications with Ubuntu Linux, MySQL and PHP. I put my files in the /var/www/some_web_project/ directory. I have problems with permissions, for example when I want to output ...
1
vote
0answers
175 views

How to optimise apache2 with php5-cgi

I have a debian squeeze running with apache2 and php5-cgi. Please see the following stats from my munin: http://imageshack.us/photo/my-images/545/multipscharts.png/ I am running these per-process ...
0
votes
2answers
134 views

Can I use two machines to set up memcache server for a php web app?

I have a web server which hosts my PHP web app and my MySQL server. I would like to throw out one more machine there to use it for memcache/memcached. In order to use Memcache, should I have a ...
1
vote
1answer
1k views

how can i disable safe mode for php on web server? [closed]

I am using wkhtmltopdf for making a pdf of a page. My code executes the shell to run a command using this wkhtmltopdf library. Everything works fine in my wamp server but when the code runs on my ...
0
votes
1answer
209 views

A few questions about working with PHP 5.4

I installed PHP 5.4 on Debian from source and I run php scripts on the PHP Built-in web server with new php features without any error but php scripts do not run with apache2 with new php features. I ...
0
votes
1answer
129 views

Recommended Server Stack

We do around 1000 req/second on our webserver and there are layers of caching and balancing before it reaches the final LAMP stack. We have 6 Apache (Prefork MPM; 2.2.12) + PHP (5.3.2) servers with ...
0
votes
1answer
56 views

php server web user setup

I'm needing to setup a basic web user account on my ubuntu 10.10 server to host web pages. This account should be limited to access only the necessary directories on the machine. I setup the following ...
0
votes
2answers
370 views

What ports, besides 80, need to be available to send (only send) email using phpmailer to gmail over SSL?

Using phpmailer I keep getting a 110 timeout and "Unable to connect to host" when sending email from my web server. The authentication details are right and they work on another server I have (login, ...
0
votes
3answers
992 views

Problem with php and apache

I am having trouble using the php module with apache2. At the moment, testing with a phpinfo script, only php code is displayed as though it were text, no output at all. I have the line LoadModule ...
0
votes
2answers
2k views

sqlite3 support on centos with PECL?

i just realized that the rpm version of php that i have installed on the server don't have sqlite support (well it have the PDO support but for some reason don't work) so i installed as a PECL ...