PHP Modul / PHP CGI

Having trouble installing serendipity?
Post Reply
Blaky

PHP Modul / PHP CGI

Post by Blaky »

Hello everyone,

i am not a PHP developer, but just a s9y user.
I have a running s9y installation and my provider uses mod_php(?). Everything is fine. Now my provider is about to switch to "CGI Mode" and asks me if s9y is able to run in this modus. I don't have a clue what they're talking about. Can anybody help?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: PHP Modul / PHP CGI

Post by garvinhicking »

Yes, Serendipity runs fine in CGI Environments. You may need to tweak your .htaccess and remove php_value calls since those only work with mod_php.

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Guest

Post by Guest »

thank you! :)
el_darwin
Regular
Posts: 7
Joined: Wed Jul 27, 2005 11:57 pm

Re: PHP Modul / PHP CGI

Post by el_darwin »

garvinhicking wrote:Yes, Serendipity runs fine in CGI Environments. You may need to tweak your .htaccess and remove php_value calls since those only work with mod_php.
Could you provide the .htaccess code with the php_value removed? My S9Y won't work with CGI environment.
Beacause art matters...
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: PHP Modul / PHP CGI

Post by garvinhicking »

Just remove the lines with "php_value" in your .htaccess file. You might also need to remove the "ErrorDocument" directive there.

I cannot provide a global code, as the contents of your .htaccess file are specific to your installation!

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
el_darwin
Regular
Posts: 7
Joined: Wed Jul 27, 2005 11:57 pm

Thanks!

Post by el_darwin »

:D
Beacause art matters...
el_darwin
Regular
Posts: 7
Joined: Wed Jul 27, 2005 11:57 pm

Post by el_darwin »

I looked into it and it turns out that I don't have an .htaccess file so I created onw without the php_value but it didn't work. :(
Beacause art matters...
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

If you have no .htaccess, then Serendipity works fine. Please tell us your URL, otherwise I can't see what's not working? :)

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
el_darwin
Regular
Posts: 7
Joined: Wed Jul 27, 2005 11:57 pm

Php module off - S9Y won't work

Post by el_darwin »

Sure, but there is not that much to see. Here it is when the Php module is off:

http://s134574499.onlinehome.us/blog/se ... _admin.php

The php.ini file customized is working fine:

http://s134574499.onlinehome.us/test.php
Beacause art matters...
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Php module off - S9Y won't work

Post by garvinhicking »

Are you REALLY sure you don't have a .htaccess file? That's the only clue I have. Note that many FTP programs do not show files that start with a "."!

You'll need to ask your server admin for Error logfiles, there must be an entry about the 500 error in that.

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply