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?
PHP Modul / PHP CGI
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: PHP Modul / PHP CGI
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
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/
# 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/
Re: PHP Modul / PHP CGI
Could you provide the .htaccess code with the php_value removed? My S9Y won't work with CGI environment.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.
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
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
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/
# 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/
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
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
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/
# 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/
Php module off - S9Y won't work
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
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
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
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/
# 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/