Questions tagged [drupal]

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

Filter by
Sorted by
Tagged with
18 votes
4 answers
45k 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 ...
Max's user avatar
  • 3,553
7 votes
4 answers
7k views

Load balanced Drupal servers: a good way to share data among the servers?

I'm trying to get an overview of how i would go about creating a load balanced web server setup. Setting up the actual load balancer and adding two or more web servers seems fair enough. However, I ...
sbrattla's user avatar
  • 1,576
7 votes
6 answers
17k 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) ...
user15241's user avatar
  • 103
7 votes
1 answer
12k 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 ...
Sergey Serov's user avatar
7 votes
2 answers
3k 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 (...
TimothyP's user avatar
  • 299
6 votes
3 answers
2k views

server farm setup for a large Drupal site

I'm setting up a large Drupal (Pressflow) site and this is my current plan. Have I gone and done anything blatantly stupid? Does anyone have any experience hosting a large, multi-server Drupal ...
ceejayoz's user avatar
  • 33.1k
5 votes
12 answers
1k views

What is the Open Source CMS of choice? [closed]

I've been told that Sitecore is the closed-source CMS of choice (due to its insane flexibility). That said, what is the Open source equivalent? Or is there one? I've played with Drupal and it seems ...
Thunder3's user avatar
  • 347
5 votes
2 answers
16k 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 page,...
Jordan Magnuson's user avatar
5 votes
4 answers
50k views

SSL - how to make both http and https work

I have set up a Drupal 6 site on a dedicated server, and enabled SSL through the "Matrix" control panel which was installed on it. The problem is now, the site ONLY loads pages from https. Most of ...
jsims281's user avatar
  • 165
5 votes
1 answer
5k views

How to set up a private CDN using nginx?

Here is the problem: I have a Linux server in Europe serving a busy Drupal site using nginx+php-fpm, I have another Linux server in the US (where a big portion of my visitors are coming from). The ...
alfish's user avatar
  • 3,137
4 votes
2 answers
2k views

extreme slowness with a remote database in Drupal

We're attempting to scale our Drupal installations up and have decided on some dedicated MySQL boxes. Unfortunately, we're running into extreme slowness when we attempt to use the remote DB - page ...
ceejayoz's user avatar
  • 33.1k
4 votes
2 answers
17k views

Why is Varnish not caching?

I am troubleshooting the setup of Varnish 3.x on my Ubuntu server. I'm running Drupal 7 on two sites set up on the box, via named-based vhosts. Before trying to get Varnish to play nice with Drupal I'...
Justin's user avatar
  • 915
4 votes
1 answer
5k 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: [emerg]...
Tapash's user avatar
  • 153
4 votes
2 answers
28k 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 php5....
Christos Hayward's user avatar
4 votes
2 answers
2k views

Comparing Nginx+PHP-FPM to Apache-mod_php

I'm running Drupal and trying to figure out the best stack to serve it. Apache + mod_php or Nginx + PHP-FPM I used ApacheBench (ab) and Siege to test both setups and I'm seeing Apache performing ...
Rushi's user avatar
  • 181
4 votes
3 answers
5k views

Drupal admin section - Page not found

After upgrading to Drupal 6.12 I can no longer access the admin section on my site - I get a page not found error. Things I've been able to test/check: I have clean URLs enabled but trying to bypass ...
Robert MacLean's user avatar
4 votes
1 answer
1k views

Using nginx and Drupal, how do I serve a 404 error for static files and directories that exist?

I deploy a Drupal web site using git (well, OK, the developers deploy it; I try to keep them out of trouble), and for that reason the site has a directory .git and a file .gitignore in the document ...
Michael Hampton's user avatar
4 votes
1 answer
796 views

Intranet corporate SSO for webapps against Active Directory

I am trying to plan and implement a SSO solution in a corporate environment that serves intranet web applications running on CentOS: Corporate portal (Drupal backend) Project management (Project.NET) ...
droidlock's user avatar
3 votes
3 answers
25k views

Best my.cnf configuration for a 8GB MySQL server with MyISAM use only

I am preparing a large Drupal 6.x based installation and have setup a dedicated MySQL server with 8GB of RAM. Drupal 6.x uses only MyISAM engine and there will be around 500 concurrent users using the ...
Mohammad Emran's user avatar
3 votes
1 answer
2k 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 ...
devunder's user avatar
  • 450
3 votes
5 answers
17k views

'No Input file specified' error - NginX / fcgi - when requesting non-existant .php file

I have NginX serving a drupal site using fcgi. Attempting to browse to a non existent php file (eg. www.example.com/this-file-doesn't-exist.php) results in a white screen with this error: 'No Input ...
user15241's user avatar
  • 103
3 votes
6 answers
3k views

Drupal clean URL on IIS

Any ideas how to enable Clean URLs on drupal when the server is IIS?
elcuco's user avatar
  • 367
3 votes
4 answers
7k 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 ...
atom's user avatar
  • 41
3 votes
2 answers
5k views

HTTPS variable in $_SERVER using nginx as reverse proxy

I'm using nginx as a reverse proxy in front of an apache with mod_php. My site is on https, and it would require the variable $_SERVER['HTTPS'] to be set 'on' to assemble some of the links correctly. ...
mimrock's user avatar
  • 157
3 votes
4 answers
413 views

Has my site been attacked?

This is about an online store based on Drupal 5. All of a sudden it didn't work anymore. Upon accessing the site, this error came up: Parse error: syntax error, unexpected '<' in /home/...
fretje's user avatar
  • 1,674
3 votes
2 answers
745 views

Sysadmin 101: How can I figure out why my server crashes and monitor performance?

I have a Drupal-powered site that seems to have neverending performance problems. It was butt-slow about 5 months ago. I brought in some guys who installed nginx for anonymous visitors, ajaxified a ...
bflora's user avatar
  • 859
3 votes
4 answers
3k views

Resetting salted Drupal admin password

Have an old VM with Drupal configured on it, and I can't recall the admin password. The password-recovery process sent me a link to reset the password, but the page generated said "Access Denied". I ...
hewhocutsdown's user avatar
3 votes
1 answer
4k views

How to Install Apache Solr / Java on CentOS?

I've seen only one or two tutorials for installing Solr, and particularly Java, on a CentOS machine, and they seem to be overly complex; heck, I can't quite figure out which version of Java (it seems ...
geerlingguy's user avatar
  • 1,357
3 votes
2 answers
3k views

Drupal on an NFS share has terrible performance

We have a setup where a Drupal 7 site with the following setup - a VMware ESXi 4.1 host server running a web vm and an NFS VM. The web VM is using Apache and mod_php. The site is still in development ...
Marcus's user avatar
  • 175
3 votes
1 answer
4k views

How to you properly invalidate the local cache on a browser?

I'm troubleshooting a problem on my site where a user will authenticate successfully but the browser will load (I believe) the local cache of the page to which the user is redirected. Since it's a ...
Justin's user avatar
  • 915
2 votes
3 answers
785 views

How do I improve the performance of my Drupal site with a lot of concurrent users?

I have a Drupal site that may receive a very high hit rate on launch. We've rented a very beefy server for the initial launch, after which we'll downscale. The server has a Xeon E5-2670 8 core ...
George's user avatar
  • 123
2 votes
2 answers
323 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 ...
Matthew's user avatar
  • 1,897
2 votes
3 answers
176 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 ...
Dave's user avatar
  • 23
2 votes
1 answer
2k views

How can I install Drupal 7.0 to Linux Mint

I read the document INSTALL.txt and it says that I should run the install script, point your browser to the base URL of your website. What command should I type to console to run the script? And is ...
Beginner's user avatar
2 votes
2 answers
1k views

Drupal modules for ticketing system [closed]

We are looking at implementing a ticketing system at our work place. We intially tried OS Ticket which was fine. But management are hoping to integrate it into out intranet. (which will be done in ...
freddy6's user avatar
  • 115
2 votes
2 answers
710 views

Setting SSL redirect ONLY for the frontpage on Drupal?

I want users that visit my site to be redirected to the SSL version when they access it like this www.mysite.com But when they access other urls, such as... www.mysite.com/some www.mysite.com/other ...
rockstardev's user avatar
2 votes
2 answers
1k views

MySQL config for drupal

I am running MySQL 5.0.75 on Ubuntu on a dual core machine with 8 gigs of ram. I am running a Drupal 5 and Drupal 6 site of the database. I am sure my MySQL config is not optimal but I am wondering ...
Jason Christa's user avatar
2 votes
2 answers
5k views

Serve empty 404 page with mod_rewrite

I have a Drupal website which contains the below default mod_rewrite rules RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_URI} !=/favicon.ico ...
Max's user avatar
  • 3,553
2 votes
3 answers
886 views

load balancing two web servers each on two different isp's?

I have two ISP's that provide me hosting via apache / php / mysql. I am running drupal on them. On occasion the mysql server will go away (crash), so I was hoping to find a reasonable way to have ...
Scott Szretter's user avatar
2 votes
3 answers
391 views

Webserver optimization

I have a website hosted on a VPS (512Mb - minimum guranteed memory, 510Mhz proccessor, Debian 5.0 Lenny, Apache 2.2.9 with nginx 0.7.65 as a frontend to serve static content, MySQL 5.1.44, PHP 5.3.2 ...
user38484's user avatar
  • 313
2 votes
1 answer
667 views

Add www to subdomain

A client is looking to prefix all my subdomains with www. E.g. www.subdomain.domain.com I could do it through DNS but the problem is that the sub domains are user generated and it would be a pain ...
digital's user avatar
  • 345
2 votes
1 answer
200 views

drupal and remote database

I get error "Failed to connect to your database server. The server reports the following message: SQLSTATE[HY000] [2003] Can't connect to MySQL server on '192.168.0.20' (13)." while installing drupal. ...
user3015080's user avatar
2 votes
1 answer
65 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, ...
Shirko's user avatar
  • 21
2 votes
2 answers
2k views

DRupal and mysql with a remote database

Trying to connect Drupal running from my localhost to a remote database but coming across issues. I am using the following string in my settings.php file: $db_url = 'mysqli://username:password@xx....
April's user avatar
  • 315
2 votes
3 answers
2k 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 ...
jj_aa's user avatar
  • 35
2 votes
1 answer
3k views

NGINX + Drupal installed in subfolder on linux server

I'm trying to configure the server like this have this accessible addresses: domain.com/webmail (webmail app) domain.com/app (node.js app) domain.com/mailadmin (mail administration app) domain.com/...
Rafael Lourenço's user avatar
2 votes
1 answer
1k views

index.php 403 in Drupal on centos 7 with SELinux enabled [duplicate]

i tried to install drupal on centos, i have configure my server (install httpd, mysql, php, etc) everything looks good until the last part: hit the url to install drupal the problem here is once i ...
AnD's user avatar
  • 171
2 votes
1 answer
467 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 (...
Paul's user avatar
  • 121
2 votes
1 answer
318 views

What's the best way to run Drupal and Django sites behind the same Varnish server?

I have a high traffic website running with Drupal and Apache, five web servers behind a Varnish server load balancing. Let's say this site is example.com. I'm using five backends and a director like ...
Mentakatz's user avatar
  • 131
2 votes
1 answer
2k 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 ...
Gilles Grandguillaume's user avatar

1
2 3 4 5 6