i'm not a super l33t h4x0r like the rest, and stuck on reseller hosting with cpanel and all that other 'dumb-me-down' webhosting stuff. i've tried to make a /tmp/ochiba-cache in root and it still fails. is there a way to disable that cache thing, or is it dependent?
Actually, the caching feature is optional as far as normal ochiba functioning. In the install script, however, it fails rather ungracefully without it (I'll change it so it can get by). You can just remove the cache directory check (look for "CACHE_DIR") and it won't bother. Then, just set FEATURE_CACHE to false in conf.php.
The other option is to put your cache directory not in /tmp, but somewhere in your personal space. You have to set CACHE_DIR in conf.php for this after you've created it with the right permissions.
well, i got past that, but now just realized my host isn't sqlite-enabled. poo.
any plans for flatfile or mysql support?
No flatfile support planned. I don't know how that would be done.
No MySQL support planned, either. I don't use it and was hoping someone would contribute a MySQL-ified version of functions.php.
I want to try my hand at Postgres, though. Not that that does you any good.
I realize it's probably not a realistic option for most people, but I recommend looking for hosters that offer PHP5 (ie with built-in SQLite support). This will become more and more common, and was one of the reasons I used SQLite.
well, i've asked a few already, and they say php5 isn't stable yet. so i guess once that happpens, i'll hop on.
i also tried installing sqlite on a different hosting account of mine (on dreamhost), i 'think' i got it in right, but install still fails. not that i'm buggin, i'll probably have to ask an sqlite forum anyway.
I'm curious - how are you trying to install sqlite on the dreamhost server? By uploading a binary sqlite.so local to your account and using dl()? What kind of error (if any) do you get? The install.php script is a quick hack and isn't graceful about the different hosting circumstances.
If you are doing the local sqlite.so method, what does the following return?
if( !(bool)ini_get( "enable_dl" ) || (bool)ini_get( "safe_mode" ) ) {
echo "Loading extensions is not permitted.\n";
} else {
echo "Loading extensions is permitted.\n";
}(stupid wakamark)
actually, dreamhost allows ssh, so i just did the ./configure and ./make, and it all went through, i suppose. i don't know what else i should be doing.
Aah. Then, copy modules/sqlite.so into the ochiba root directory, and in index.php put dl("sqlite.so") and cross your fingers.
Unable to load dynamic library './sqlite.so' - /lib/libc.so.6: version `GLIBC_2.3' not found (required by ./sqlite.so)
no good, doh. i guess i'll wait if someone makes a mysql conversion.
Drat. They must have safe_mode on or something.
Have you contacted them, requesting either the sqlite module for PHP4 be made available if they are unwilling to provide PHP5 at this time? Even if they say "no" to you, if there are enough requests, they may do something.
Googling "PHP5 hosting" turns up a fair number.