Hello,
I am having a shared server with suphp and suexec.
I'm experiencing a 500, Internal Server error on my website. The error logs show the following error: "Premature end of script headers: cgi_wrapper", in my Joomla application.
It only occurs when one particular file is loaded. The rest of the application/website works as it should.
Hello and apologies if this has been asked...I couldn't find the answer easily.
I am using ubuntu Server 12.04
I can't write to a directory where my user SHOULD belong to the directory's group...
total 12
-rw-rw-r-- 1 www-data root 30 Sep 17 13:34 index.php
drwxrwxr-x 7 www-data root 4096 Sep 17 13:34 twentyeleven
drwxrwxr-x 4 www-data root 4096 Sep 17 13:34 twentyten
dp : dp adm cdrom sudo
Code:
[alice@localhost ~]$ ls -al rpm*
total 32
drwxrwxr-x 8 alice alice 4096 Mar 6 00:06 .
drwx------.
I want to install MySql Cluster on my Ubuntu 12.04(64bit).
I am using MySQL Cluster Quick Start Guide – LINUX for instructions.
I have changed ownership of $HOME/my_cluster and $HOME/mysqlc to mysql user.
I have been having trouble getting a php script to work with nginx. Invoking the script my-url:90/useraccessauthorization/useraccessauthorization.php gives me a 404 error.
Below are my configuration details. Could someone please let me know what I am missing?
php 5.4.7 via mod_fcgi
when I run the site sometimes it works, sometimes it crashed with 500 Internal Error, this is what I see in error.log everytime I run the script
[Mon Sep 24 18:50:43 2012] [warn] [client 68.231.194.198] (104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server
[Mon Sep 24 18:50:43 2012] [error] [client 68.231.194.198] Premature end of script header
I get this error when I try creating a directory:
[rex <03:57 PM> /var/tmp/pb82]$ mkdir foo
mkdir: cannot create directory `foo': Permission denied
But doesn't the following output indicate that I should be able to create directories there since I am a member of the www-data group to which that directory belongs?
[rex <03:57 PM> /var/tmp/pb82]$ ls -l ..
total 8
drwxrwxr-x 5 root
I have what I believe is a fairly standard fastcgi/php5-fpm setup using Unix socks, and the configuration file for my website (excuse the find&replace) is the following:
server {
listen 80;
server_name example.com www.example.com;
access_log /srv/vhost/sites/example/logs/access.log;
error_log /srv/vhost/sites/example/logs/error.