Page 1 of 1
PHP Modul / PHP CGI
Posted: Mon Jul 25, 2005 4:22 pm
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?
Re: PHP Modul / PHP CGI
Posted: Tue Jul 26, 2005 11:01 pm
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
Posted: Sun Jul 31, 2005 5:06 pm
by Guest
thank you!

Re: PHP Modul / PHP CGI
Posted: Thu Aug 25, 2005 6:27 pm
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.
Re: PHP Modul / PHP CGI
Posted: Thu Aug 25, 2005 6:59 pm
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
Thanks!
Posted: Thu Aug 25, 2005 7:16 pm
by el_darwin
Posted: Fri Aug 26, 2005 12:02 am
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.

Posted: Fri Aug 26, 2005 3:13 pm
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
Php module off - S9Y won't work
Posted: Fri Aug 26, 2005 6:05 pm
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
Re: Php module off - S9Y won't work
Posted: Mon Aug 29, 2005 2:53 pm
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