-4
votes
0answers
25 views

Is this a good server for web hosting? [duplicate]

I am a Web developer and I worked in company. there are 200 employers in this company. also more than 100 employer outside company in branches. I develop a web application to transfer files from ...
0
votes
2answers
28 views

How can I instruct nginx to interpret an individual file as php

A legacy application relies on the following .htaccess rule for an individual file <Files MyFile.html> AddType application/x-httpd-php .html </Files> The new machine has nginx and ...
0
votes
0answers
19 views

Which modules can be disabled in apache2.4 on windows

I have an Apache 2.4 webserver running on Windows. I am looking into system hardening and the config file httpd.conf. There are numerous load modules and I am wondering which modules I can safely ...
0
votes
0answers
71 views

mysqlnd doesn't seem to be with php 5.4

i went to update my website the other day on hostmonster but despite it working perfectly on development it had the error. Fatal error: Call to undefined method mysqli_stmt::get_result() ...
0
votes
0answers
18 views

does “Filesmatch” provide the same protection as “open_basedir”

Does using Filematch in my apache virtual host config provide the same benefits as open_basedir (php)? I was originally trying to use open_basedir for something along the lines of ...
0
votes
1answer
29 views

Nginx rewrite and 50x.html

I'm trying to set up a website where writing for example /users/add redirects me to /index.php?table=users&action=add I wrote the following rules: rewrite ^/(.+)/(.+)/$ ...
1
vote
1answer
93 views

Should we have one pool for many websites in Apache+PHP-FPM?

If there are many small websites (about 300) running in light web traffic, should they all use the same pool, or would it be better to have a separate pool for each of them? Let us assume the ...
-1
votes
1answer
124 views

lighttpd 403 forbidden jpeg image access

I am running a stock lighttpd installation with no configuration changes. Client sees a 403 forbidden error trying to access static images (even from an img tag on a static page). Nothing in the logs ...
1
vote
1answer
2k views

Installing PHP 5.5.6: Can't start php-cgi.exe - MSVCR110.dll is missing

I'm trying to update from PHP 5.3 to PHP 5.5 after downloading the last version from here and I'm having this error: Can't start php-cgi.exe - MSVCR110.dll is missing I've read that I need to ...
0
votes
2answers
194 views

NFS server and client for web servers

I have this architecture on Amazon EC2, one NFS server and one NFS client, on the client I am serving PHP and Django websites (nginx, uwsgi, php-fpm) and they work perfectly. I am experiencing an ...
0
votes
1answer
48 views

How to evaluate if my Apache needs another server and/or load balancer? [duplicate]

I have an Apache web application which is serving ~2k Requests Per Minute. The current infrastructure includes two servers, one acting as Apache + database, and the second one just database. I'm ...
-2
votes
1answer
335 views

How to configure a server for pause and resume downloads? [closed]

I am working on an iOS application, which needs basically functionality like µTorrent. I am able to download and upload through the app using a web service (API) created in PHP. I get to know that I ...
3
votes
1answer
180 views

Absolute/relative file paths affecting server load?

I was told by my hosting provider's technical people that I should be using relative file paths (/home/index.php) instead of absolute paths (http://www.example.com/index.php) to "reduce server load". ...
1
vote
0answers
400 views

How to solve Apache2 error “(32)Broken pipe: core_output_filter: writing data to the network”

The index.php file of our companies Wordpress(3.5.1, a handfull visitors per day) blog reacts very lame to each request. It appears after a minute. This behaviour comes out of the blue, no changes ...
0
votes
1answer
51 views

Any possible side effect to use APC on shared host? [closed]

I'm using a shared host for a CMS site. This shared host has an option to use "APC". I just tried this option on a test site as it can be enabled just by one click on my account page of the shared ...
1
vote
0answers
64 views

ps x shows weird command: -f html/index.php

Just went to check one of my websites and was greeted by the message: "CGIWrap Error: Real UID could not be changed!". Went in via SSH and tried "ps x" which showed me tons of processes that that ...
0
votes
1answer
621 views

How to check web server logs for SQL injection?

If I have a PHP site hosted on Apache and someone hacks it using SQL injection, is there a way I can find out exactly which script caused this by looking at my web server logs? Or using some other ...
5
votes
0answers
4k views

Do I really need the PHP maxlifetime hourly cron job? [closed]

On my Debian Wheezy, every half-hour a cron job runs: find /var/lib/php5/ -depth -mindepth 1 -maxdepth 1 -type f -ignore_readdir_race -cmin +$(/usr/lib/php5/maxlifetime) ! -execdir fuser -s {} ...
0
votes
1answer
65 views

PHP-FPM as a dedicated application server?

Just wondering in terms of scalability .. do you reckon PHP-FPM should run on a standalone server or works as well if you run it with NginX on the same server?
0
votes
1answer
70 views

Can I configure webdav users dynamically from a web application?

I would like to offer a solution that allows direct editing of documents hosted on my web application. I understand that WebDAV can be used to achieve such a task as Microsoft office can open and save ...
0
votes
3answers
119 views

Sending mail from PHP [closed]

I used this code all around my projects and it works fine: mail("email@domain.com", "Subject", "message"); Now, I´m developing on php and if I use this code, the message is not sent, but it works ...
1
vote
2answers
463 views

Malware : Identifying & Cleaning Malware on a LAMP site

EDIT : Further information / investigation information contained in the comments to this post Apologies for the vague title - had trouble summarising this one. I have recently discovered that one of ...
0
votes
2answers
157 views

PHP-FPM with apache

Is it possible to run PHP-FPM with Apache or is that a nginx only option? Looking for ways to use apache and keep .htaccess but gain better php performance like able to take more reqs per sec. ...
0
votes
2answers
178 views

vps( Intel(R) Xeon(R) CPU L5520 @ 2.27GHz) vs dedicated (Intel(R) Xeon(R) CPU E3-1240 V2 @ 3.40GHz) beats it by 40ms in few mysql calls

as the title says i am pretty puzzled here as to why would the first(Linode) server beat the pretty well-known liquid-web dedicated server by 40-50miliseconds(averaging 10ms to complete vs 50-60ms on ...
2
votes
3answers
408 views

Apache bottle neck

I have nginx as a front end proxy and apache with mod_fcgid. This box has 24GB RAM and 16 cores. I shouldn't be bottlenecking. There seems to be a bottleneck. Once it hits 7000 requests it hangs ...
1
vote
1answer
549 views

Avoiding memory full -> swap full -> crash

I'm experiencing an issue when sometimes the memory gets 100% full, and the swap file also, and the server becomes non-responsive and has to be restarted (causing also problems in database). This is ...
0
votes
2answers
412 views

Using NginX and Apache alongside for both static and dynamic files

Background: I've searched a lot and found these useful threads about using of Apache or NginX for static or dynamic files. But they are old (mostly about 1 or 2 years ago) and I think both ...
2
votes
1answer
145 views

LighTPD and PHP not working if outside of LightTPD folder

I need to set up a simple web server with PHP on Windows XP that a number of different people will use for local testing. I'm using LightTPD 1.4.30-4-IPv6-Win32-SSL and PHP 5.2. So far I've created ...
0
votes
2answers
82 views

How to block a user in apache httpd server from accessing a *.php file inside a Directory, instead user should access this using Directory name

My requirement looks Simple, But Googling Did not help me yet. my query is i want to Throw a 404 page to a user(Not Re-Direct to another folder or file), who is trying to Access *.php ...
0
votes
2answers
772 views

Apache restart does not load new php.ini

Never had this problem till updated CPanel today? Maybe that is part the problem? I only have the one php.ini file # /usr/local/bin/php --info | grep php.ini Configure Command => './configure' ...
0
votes
1answer
173 views

CakePHP Issue - site errors up

I have a cakePHP site and I moved the site over to a new server today and for some reason I keep getting errors. It works fine on another server but this new one that has cpanel does not seem to be ...
1
vote
1answer
878 views

I am getting a 400 Bad Request error when using Nginx and PHP-FPM, why?

I am trying to run a website (that requires PHP - it technically doesn't require MySQL at this time, but it may sometime in the near future as I continue developing it, so I went ahead and installed ...
1
vote
1answer
873 views

lighttpd: Backend is overloaded + fcgi-server re-enabled + all handlers are down

We have a standard lighttpd deployment with PHP-CGI and our error logs are flooding with the following. This is causing a huge problem because we keep returning 500's to our clients: 2012-10-14 ...
1
vote
0answers
73 views

Web application design with distributed servers

I want to build a web application/server with this structure: main-server sub-server transaction-server (create, update, delete) view-server (view, search) authentication-server documents-server ...
1
vote
1answer
234 views

PHP/MySQL Performance Testing with Just PHP [closed]

I'm trying to diagnose a server where the website is loading very slowly, but unfortunately my client has only provided me with FTP access. I've got FTP access so I can upload PHP scripts, but can't ...
0
votes
0answers
287 views

PHP stop working after a server reboot

I reboot my server and suddenly the PHP-FastCGI stop working . I try to do - /etc/init.d/php-fastcgi restart Also i try to restart my Nginx : /etc/init.d/php-fastcgi restart How can i turn on ...
3
votes
1answer
591 views

I just want to know why eAccelerator won't work if SuPHP is enabled?

I just want to know why people say eAccelerator won't work if SuPHP is enabled, because in my server I was running e-accelerator and now i have enabled suphp and it seems to be working fine so far at ...
-3
votes
1answer
119 views

Protecting a chmodded 0777 cache directory?

A website I'm developing requires several directories to have their permissions set to 0777. The directories are used as cache directories for HTML and PHP files generated by the website. The ...
2
votes
2answers
2k views

Configuring Nginx & php5-fpm to work with Codeigniter

As I'm trying to make my switch from Apache 2 to Nginx, I faced dozens of problems, and still fixing them. anyway, I'm trying to make them work, but no-luck yet. So I'm asking here looking for ...
1
vote
1answer
128 views

Apache Hide Specific File Types from Web

I have a repository of files with .php, .sh, and .txt extensions which gets checked out to the web directory of my server (/var/www). I need the .php files to be able to be reached by typing in a url ...
-1
votes
1answer
949 views

mod_ruid2 over mod_fcgid [closed]

I've just started hearing about ruid2 and wondering is it more secure then fcgid? I've heard that it is less secure and more problematic. Are there any differences between the two? Is fastcgi the ...
1
vote
1answer
124 views

Apache server Website should point to Vhost but is searching in html folder on upgrade

I upgraded my server from 2.2 to 2.2.22 . When I open my website in chrome it says successfully installed and You may now add content to the directory /var/www/html/. Note that until you do so, ...
0
votes
0answers
208 views

Apache dies when I run ImageMagick in PHP

I am running: WampServer 2.0 Php 2.3.0 Apache 2.2.11 ImageMagick 6.7.7-0 2012-05-17 Q16 Windows XP .net Framework 3.0 I recently was able to hack together an install of imagemagick into the above ...
0
votes
1answer
843 views

Need help configuring Apache, MySQL, PHP on Centos Linux

I am new to Linux (CentOS) and have been trying to setup up this web application https://github.com/craigrodway/printmaster on CentOS for the last couple hours. The instruction from the author is a ...
0
votes
2answers
309 views

how install php (for support php apps) side by side iis 7.5 on windows server 2008 R2?

i am using windows server 2008 R2 (iis 7.5) and looking for the best and clean and quick way for preparing my web server with php applications without any conflicts with installed iis. also i have ...
0
votes
2answers
524 views

ubuntu settings for mail sending

What should I install, on fresh Ubuntu server, to make proper working web scripts for sending out emails ? I've tried to install mailutils but it want to install postfix also. But i don't want to ...
0
votes
1answer
208 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
0answers
140 views

Scaling/configuring Nginx

Really hit a wall on this one. I've been trying to configure Nginx to handle both static content and proxy to PHP-FPM. But, all my load tests (using ab) continue to cause the PHP-FPM process to crash. ...
1
vote
1answer
89 views

Securing php webserver from exploits? [closed]

We are running a PHP application on a linux apache webserver. How can we secure the server, so if someone finds a hole in our application, they can only get access to the application (Files inside ...
1
vote
1answer
2k views

PhP on Tomcat 7 possible?

I have a website using PhP and Apache Webserver (e.g. mod_php). I need to use Tomcat for another purpose. Rather than just add Tomcat to the current mix, I'm wondering if I should eliminate Apache ...