Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Cherokee: users

wordpress and 500 Internal Server Error

 

 

Cherokee users RSS feed   Index | Next | Previous | View Threaded


hoscrem at gmail

May 16, 2008, 12:44 AM

Post #1 of 6 (1052 views)
Permalink
wordpress and 500 Internal Server Error

First of all congratulations on the excellent work, I install cherokee 0.6.1
in ubuntu gutsy [1], this works smoothly when developing pages for ssh [2],
the problem is generated with wordpress(2.5.1)[3] then copying the folder
/var/www/blog browser gives me errors of the type 500 Internal Server Error,
someone has information about it?.
I tried changing the permissions of a folder but I haven't good results
ps: sorry for my bad English.
Many thanks
[1] http://kullin.no-ip.org
[2] http://kullin.no-ip.org/info.php
[3] http://kullin.no-ip.org/blog/
--
Mario Ibáñez Gutiérrez.
Ing. Civil en Computación
Universidad de Talca
www.marioibanez.com
mail [at] marioibanez
mobile (56)(0)(9)-92249788


alvaro at Sun

May 16, 2008, 7:34 AM

Post #2 of 6 (1024 views)
Permalink
Re: wordpress and 500 Internal Server Error [In reply to]

Hi there, Mario!

It sounds like something is happening with your PHP set up.

First of all, ensure that the "Extension php" behavior entry is correct:
- You have php-cgi installed, and the entry points to it.
- Then you'll need to check that it supports Fastcgi. The "php-cgi -v"
or "php -v" output must read "(cgi-fcgi)", if it doesn't you will have
to install the right package for it. Example:

------
$ php-cgi -v
PHP 5.2.5 (cgi-fcgi) (built: Apr 20 2008 17:11:05)
Copyright (c) 1997-2007 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
------


On 16 May 2008, at 00:44, Mario Ibañez wrote:

> First of all congratulations on the excellent work, I install
> cherokee 0.6.1 in ubuntu gutsy [1], this works smoothly when
> developing pages for ssh [2], the problem is generated with
> wordpress(2.5.1)[3] then copying the folder /var/www/blog browser
> gives me errors of the type 500 Internal Server Error, someone has
> information about it?.
> I tried changing the permissions of a folder but I haven't good
> results
> ps: sorry for my bad English.
> Many thanks
> [1] http://kullin.no-ip.org
> [2] http://kullin.no-ip.org/info.php
> [3] http://kullin.no-ip.org/blog/

--
Greetings, alo.

_______________________________________________
Cherokee mailing list
Cherokee [at] cherokee-project
http://cherokee-project.com/cgi-bin/mailman/listinfo/cherokee


hoscrem at gmail

May 16, 2008, 9:55 AM

Post #3 of 6 (1019 views)
Permalink
Re: wordpress and 500 Internal Server Error [In reply to]

>
> Hi there, Mario!


Hi Alvaro!

>
>
> It sounds like something is happening with your PHP set up.
>
I thought the same thing, but to execute the command php-v and php-cgi-v
and returns

PHP 5.2.3-1ubuntu6.3 (cli) (built: Jan 10 2008 09:38:37)
Copyright (c) 1997-2007 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies

PHP 5.2.3-1ubuntu6.3 (cgi-fcgi) (built: Jan 10 2008 09:32:57)
Copyright (c) 1997-2007 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies

Greetings !



--
Mario Ibáñez Gutiérrez.
Ing. Civil en Computación
Universidad de Talca
www.marioibanez.com
mail [at] marioibanez
0-92249788


alvaro at gnu

May 16, 2008, 7:05 PM

Post #4 of 6 (1003 views)
Permalink
Re: wordpress and 500 Internal Server Error [In reply to]

On 16 May 2008, at 09:55, Mario Ibañez wrote:
>
> I thought the same thing, but to execute the command php-v and php-
> cgi-v and returns
>
> PHP 5.2.3-1ubuntu6.3 (cli) (built: Jan 10 2008 09:38:37)
> PHP 5.2.3-1ubuntu6.3 (cgi-fcgi) (built: Jan 10 2008 09:32:57)

Good, the second one is the php you need. Now, check that Cherokee is
actually using it - by accessing cherokee-admin and checking whether
"Extension php" points to it.

Additionally, it would be good to ensure that the TCP port that php-
cgi is trying to open is actually empty.

--
Greetings, alo.
http://www.alobbs.com/

_______________________________________________
Cherokee mailing list
Cherokee [at] cherokee-project
http://cherokee-project.com/cgi-bin/mailman/listinfo/cherokee


hoscrem at gmail

May 16, 2008, 11:45 PM

Post #5 of 6 (1014 views)
Permalink
Re: wordpress and 500 Internal Server Error [In reply to]

2008/5/16 Alvaro Lopez Ortega <alvaro [at] gnu>:

> On 16 May 2008, at 09:55, Mario Ibañez wrote:
>
>>
>> I thought the same thing, but to execute the command php-v and php-cgi-v
>> and returns
>>
>> PHP 5.2.3-1ubuntu6.3 (cli) (built: Jan 10 2008 09:38:37)
>> PHP 5.2.3-1ubuntu6.3 (cgi-fcgi) (built: Jan 10 2008 09:32:57)
>>
>
> Good, the second one is the php you need. Now, check that Cherokee is
> actually using it - by accessing cherokee-admin and checking whether
> "Extension php" points to it.
>
My problems continue, modify settings to work with php-cgi (FastCGI) host
localhost: 1234 and the interpreter / usr / bin / php-cgi-b 1234 but did not
get results.

my problem remains wordpress, I haven't problems in info.php


>
> Additionally, it would be good to ensure that the TCP port that php-cgi is
> trying to open is actually empty.
>

> --
> Greetings, alo.
> http://www.alobbs.com/
>
>


--
Mario Ibáñez Gutiérrez.
Ing. Civil en Computación
Universidad de Talca
www.marioibanez.com
mail [at] marioibanez
0-92249788


taher at unixwars

May 17, 2008, 7:49 AM

Post #6 of 6 (994 views)
Permalink
Re: wordpress and 500 Internal Server Error [In reply to]

Hi, Mario!

On Saturday 17 May 2008 08:45:14, Mario Ibañez wrote:
> > Good, the second one is the php you need. Now, check that Cherokee is
> > actually using it - by accessing cherokee-admin and checking whether
> > "Extension php" points to it.
> >
> My problems continue, modify settings to work with php-cgi (FastCGI) host
> localhost: 1234 and the interpreter / usr / bin / php-cgi-b 1234 but did not
> get results.
>
> my problem remains wordpress, I haven't problems in info.php

Are you sure your Wordpress installation is fine?
I've checked the link you provided (http://kullin.no-ip.org/blog/) and it seems to be broken to begin with.

Assuming that /blog is the root directory for your Wordpress 2.5.1 installation, I should be able to request the file wp-config.php (and get an empty document).
When I request http://kullin.no-ip.org/blog/wp-config.php I get a 404.
Other files from the root directory also complain about missing files. For example, http://kullin.no-ip.org/blog/xmlrpc.php
Those are just examples. I haven't done any exhaustive testing with your site whatsoever.

Could you try a clean install and tell us about it?

Regards
--
taher [at] unixwars
http://unixwars.com
_______________________________________________
Cherokee mailing list
Cherokee [at] cherokee-project
http://cherokee-project.com/cgi-bin/mailman/listinfo/cherokee

Cherokee users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.