Drupal is an open-source, database-backed CMS written in PHP. It is maintained and supported by a worldwide community. Questions about installing and maintaining Drupal belong on Drupal.SE

learn more… | top users | synonyms

1
vote
4answers
4k views

How to troubleshoot a big memory issue with Apache and mySQL

I've read a lot of this website to optimize my server but nothing has really helped me :( Im having a memory trouble I think , I have just one website (Drupal) with 860K page views month but when the ...
0
votes
3answers
1k views

Lighttpd: Enabling module rewrite for Drupal

I'm configuring lighttpd (1.4.26) for drupal on Ubuntu 10 and I've some issues with the rewrite module. So far I have enabled the rewrite module in lighttpd.conf Then, I have added the following ...
3
votes
2answers
2k views

All PHP sites stopped working on IIS7, internal server error 500

I installed multiple drupal 7 sites using the Web Platform Installer on Windows Server 2008. Until know they worked without any problems, but recently internal server error 500 started to show up ...
0
votes
1answer
17 views

Should I use Drupal with Nginx or Apache? [closed]

I'm currently running my own built server, where I host my own coded website, as well as websites I have built for local businesses. Currently it's running Ubuntu server edition, with Nginx. I already ...
0
votes
1answer
42 views

How to resize a root persistent disk of a Drupal/Debian instance on Google Compute Engine

It's about a Drupal 7 site running on a debian 7 virtual machine instance on Google Compute Engine, deployed by this tutoriel Actually noting is running because boot/root disk full, MySQL crash ... ...
1
vote
2answers
37 views

How do I change the username nginx/PHP creates files as

Is there a way in which nginx/php can be configured so it creates files with a specific user. For example when a drupal/wordpress site uploads a file the user is assigned like: john:www-data ...
0
votes
0answers
10 views

Prevent Drupal modules listing

Is there any way to prevent drupal modules to be enumerated by eventual attackers accessing know file locations ie: http://mysyte.io/sites/all/modules/extlink/README.txt
12
votes
4answers
18k views

How to investigate a memory leak with Apache and PHP?

We're running a heavy Drupal website that performs financial modeling. We seem to be running into some sort of memory leak given the fact that overtime the memory used by apache grows while the number ...
1
vote
1answer
812 views

nginx - deny all *.php requests except index.php for security reasons

os: CentOS 7 nginx: 1.6.2 httpd: apache 2.4.6 cms: Drupal 7 After my server was compromised I removed all from server, reinstalled OS and soft, and restored data from backup. Now I configure all ...
0
votes
0answers
119 views

500 error only in Chrome/Chrome Canary for Vagrant hosted site

I'm running a Drupal multi-site in a Vagrant box and when I hit one of the sites in Chrome or Chrome Canary I get a 500 Internal server error (http://site.localhost). When I hit the site in Firefox ...
1
vote
1answer
1k views

MySQL cluster for Drupal?

We have a pretty busy site based on Drupal and I was thinking of introducing some form of clustering for HA and Load balancing. However, http://drupal.org/requirements says: Drupal supports MyISAM ...
2
votes
1answer
36 views

Server error with large posts

On a large drupal site, the database server is on a separate server connected directly to the web server. The web server uses apache and memcached. The problem is that whenever the post is a large, ...
0
votes
3answers
176 views

SOA architecture requires 99.9% availability -> 9hrs max downtime -> physical architecture mapping?

External architects have designed an architecture for a Service-Oriented Architecture environment. They fixed the availability to be 99.9%, equivalent to max 9 hrs downtime [per year]. Where can I ...
0
votes
1answer
40 views

Server denied check_authentication after migration of Drupal

I just moved a drupal website from one server to another. On the original server the site was set up directly in apache. On the new server, i have a docker layer in between: The machine runs a debian ...
0
votes
0answers
18 views

Is OSSEC effective in protecting LAMP servers running Drupal?

I noticed that the 2.8.1 rules have wordpress rules and other product rules listed, but no Drupal rules. Is its safe to assume OSSEC, acting like an IPS in active mode, is just not going to block any ...
0
votes
0answers
41 views

apache refuses to start when apc.shm_size is greater than 76M

I'm just setting up a new faster server for our Drupal site and was setting up APC and tried to set the apc.shm_size up to 128M however after restarting apache and reloading the APC Admin page Apache ...
0
votes
0answers
48 views

How do I accomplish Drupal “double gzip” prevention in Nginx?

There is this section of the default .htaccess that Drupal ships with: # Serve correct content types, and prevent mod_deflate double gzip. RewriteRule \.css\.gz$ - [T=text/css,E=no-gzip:1] ...
2
votes
1answer
450 views

NGINX cache error: conflicts with already declared size 0 in /etc/nginx/nginx.conf

My current nginx for drupal config gives following error. Somehow, I am not able to enable nginx cache. Tried different config but overtime i get the same error. Can anyone help please? nginx: ...
0
votes
1answer
299 views

How can I configure mail for Drupal 7 on an Ubuntu Raring EC2 node?

I have installed apache2, php5, mysql5, php5-mysql and other supporting packages on an EC2 server, and when I started to install drupal7, it pulled in several packages including mail support, and ...
0
votes
2answers
5k views

Mod_rewrite not working on ISPConfig 3 Server [closed]

Problem I recently migrated a Drupal site from a shared hosting server to my own VM. Everything appears to work correctly, except clean urls. My VM Setup Ubuntu 10.04 LAMP ISPConfig 3 What I've ...
0
votes
1answer
118 views

Alias for Drupal “Sites” folder with Apache on Windows Server 2008 [duplicate]

I'm having to move a number of sites from a LAMP stack to a WAMP one, provided by Zend, and I've hit a problem. Our architecture is a number of loadbalanced web servers which have their own local ...
1
vote
1answer
42 views

Drupal application load troubleshooting

I'm receiving some sporadic high server load on a Drupal application (really high. 8 cores, load average of 50). The load is normally sitting between 5-10. The Drupal application sits behind a ...
1
vote
1answer
117 views

ansible cannot download git repo on centos 7

I have this in my drupal roles to download drupal git --- - name: Install git yum: name=git state=latest - name: Clone Drupal git: repo=http://git.drupal.org/project/drupal.git ...
1
vote
2answers
8k views

PHP5 is installed, but Apache is displaying PHP as uninterpreted text. How can I get it to process it as PHP?

In a Drupal installation, it's displaying the root PHP file as plain text below. a2enmod says that php5 is enabled, aptitude says libapache2-mod-php5 is installed, mods-enabled/ has php5.conf and ...
2
votes
3answers
881 views

Can you explain why I shouldn't serve PHP off Gluster?

There's a good chance that I'll end up running Drupal on several front-end nodes over the next six months, and I'd like to know if there is a good reason not to have a single instance of Drupal stored ...
2
votes
3answers
136 views

“Mom and Pop” shop looking for advise on hosting an e-commerce site

I am not very technical, and I don't know if this is the right place to post this question. Sorry in advance. Anyways, hiring someone to do the e-commerce site can be futile, so I tried to do it ...
2
votes
2answers
289 views

PCI Compliance for average e-commerce website in the cloud

I am creating an "average" e-commerce website (using drupal and ubercart if that matters). I've read about pci compliance in the past, and that's why I'm wondering how I can see what applies to my ...
0
votes
1answer
196 views

Should Varnish Hits Touch PHP?

I have a reasonably large Drupal site sitting being Varnish on a box with 4GB of memory. I had thought (hoped? assumed?) that standing Varnish up in front of Nginx/PHP-FPM would take the load off of ...
1
vote
1answer
337 views

Drupal - Site Building, Menus [closed]

I'm working with Drupal for the first time and trying to figure out how to change the Menu item names through the Administer Site Building configuration menus. I have logged into the Drupal admin ...
1
vote
1answer
94 views

How to remove duplicate illegal site in apache configuration?

I've recently found a referrer in the apache log on my site. Now, I opened it out of curiosity, since my site is live, but I just started development so I didn't expect it. Anyway, the site was a ...
0
votes
0answers
140 views

How to change the execution time of the my.ini file using Chef

I'm attempting to get an existing Drupal site set up using Vagrant Drupal Development but have come across a few problems. My first is that I cannot seem to connect to the database to import my SQL ...
3
votes
1answer
344 views

Determine if possible successful probe is successful exploit?

A logwatch report outputted the following message. A total of 1 possible successful probes were detected (the following URLs contain strings that match one or more of a listing of strings that ...
0
votes
1answer
297 views

Drupal 7 Multi-site Sub-folders nginx configuration

I'm using perusio configuration for drupal but I think that is only designed for single web site. php does not work in subfolders. I want to create a structure as follows: Main site ...
2
votes
1answer
585 views

Nginx Subdirectory Drupal + other app

I have a drupal app and 2 other app written in php, i want use a rewrite uri for drupal and place drupal in virtual root / and the other by their names ... and use the server cache for the img of each ...
2
votes
1answer
164 views

Secure permissions setup for Drupal website with multiple maintainers

For several Drupal sites a colleague of mine and I (for demonstration purposes alice and bob) are responsible for maintaining these installations. We both have an SSH account to log into the server ...
0
votes
1answer
29 views

how to allow nginx to allow /forum

so we have a nginx and drupal site and the the folder structure looks like this /my_site [ drupal site root] /mysite/index.php [ drupal main index file] /my_site/forum [ I created this folder ...
1
vote
6answers
5k views

MySQL performance over a (local) network much slower than I would expect

MySQL queries in my production environment are taking much longer than I would expect them too. The site in question is a fairly large Drupal site, with many modules installed. The webserver (Nginx) ...
2
votes
0answers
88 views

LXC containers act differently on difrent servers [closed]

I have two physical servers A and B. I wanted to upgrade them from Ubuntu 12.04 to 14.04. Here is my current setup (if I'm left out any info here, let me know and I'll add it): Server A: Ubuntu ...
1
vote
3answers
132 views

Need flexible Drupal hosting, but can't afford an administrator

I can't afford an administrator to manage my server, so I'm looking for some sort of managed solution, but I'd like to have some flexibility. I'm building custom modules for my clients, but the ...
1
vote
1answer
141 views

Hammered by botnet; iptables can't keep up [duplicate]

Fructis is a multi-site (and multi-software) VM (Xen) with 2 cores and like 6G of RAM. It hosts popular Drupal and Wordpress websites and is currently getting hammered. I will put all details below. ...
0
votes
3answers
2k views

Upgrade from php53 to php53u (epel to IUS repositories) - Centos 6.4

I want to upgrade my CentOS 6.4 server from php53 (epel repository) to php53u (ius repository). I already enabled the ius repository, but am hesitant to just play around because there are production ...
0
votes
2answers
2k views

Ubuntu running Apache Server (Prefork) PHP Fast-CGi High CPU Usage

I have a server running very slowly due to high CPU usage. I think this must be a configuration issue but I can't put my finger on why. The server is running Plesk and I've configured PHP to run as a ...
1
vote
2answers
332 views

All nginx access logs from 127.0.0.1 (so can't use fail2ban)

Problem I'm trying to configure fail2ban to block ddos attacks using the chunk shown here. Basically it looks at all requests and if any single IP makes more than 240 requests over 60 seconds it ...
0
votes
1answer
118 views

Delay in loading site - not caused by Apache, MySQL. How to find the cause?

I've just moved two sites to a new server. They are both similar, Drupal based sites. One loads normally (1-3 seconds) but the other takes up to 12-15 seconds. After much logging and measuring I've ...
0
votes
1answer
1k views

what port should I open for mysql master-master replication?

I have two servers running php5-fpm and a load balancer running nginx, the three servers share /var/www/drupal using nfs. nfs is working correctly. I replicated the two servers' database using mysql ...
0
votes
1answer
351 views

Redirect logged-in users to https, anonymous to http using Varnish+Apache

I've got a server with Varnish in front of Apache in front of Drupal. What I'd like to do is redirect my login form to https (easy enough), then redirect all logged-in (authenticated) users to https ...
0
votes
1answer
291 views

Clean URLS on Hiawatha

I am using the Hiawatha webserver and running Drupal on a FastCGI PHP server. The Drupal site is using imagecache and it requires either private files or clean URLs. The issue I am having with clean ...
2
votes
1answer
166 views

PHP 5.3 Apache 2.2 MySQL 5.5 Drupal 6

We are running Drupal 6.26, PHP 5.3 on Apache 2.2 mysql5.5. The Prod webserver has loadbalancer running with two PROD appservers. The Prod Webserver went down with httpd.exe using 100% CPU. Below is ...
0
votes
1answer
62 views

Facing difficulty with migrating from wordpress to Drupal

One of my blog was built on WordPress but now I want to use Drupal as the CMS of my blog. To do so I have deleted all the WordPress files from my server and the Database and MySQL user which are ...
0
votes
1answer
2k views

Varnish 503 error after exactly 60 seconds… how to change this timeout value?

I'm running Varnish over Apache on a Drupal site. I have a PHP script that executes on a certain path of my site, and takes a really long time... like 60 - 120 seconds. When trying to access that ...