Board look Amber Blue Moon Futaba Headline Pseud0ch Toothpaste
Admin Manage

installing on cpanel/reseller plans (13)

1 Name: ghi!sex.9m0UrU 2005-01-09 12:16 ID:lJwCUCLC [Del]

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?

2 Post deleted by user.

3 Name: h3!h3//z2E0hc 2005-01-09 17:06 ID:A10vqoVo [Del]

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.

4 Name: ghi!sex.9m0UrU 2005-01-09 17:41 ID:lJwCUCLC [Del]

well, i got past that, but now just realized my host isn't sqlite-enabled. poo.

any plans for flatfile or mysql support?

5 Name: h3!h3//z2E0hc 2005-01-09 23:39 ID:A10vqoVo [Del]

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.

6 Name: ghi!sex.9m0UrU 2005-01-11 11:17 ID:dGR/FEeP [Del]

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.

7 Post deleted by user.

8 Post deleted by user.

9 Name: h3!h3//z2E0hc 2005-01-11 15:03 ID:RlLoxG+P [Del]

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)

10 Name: ghi!sex.9m0UrU 2005-01-11 17:08 ID:dGR/FEeP [Del]

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.

11 Name: h3!h3//z2E0hc 2005-01-11 19:38 ID:xDs/ShK/ [Del]

Aah. Then, copy modules/sqlite.so into the ochiba root directory, and in index.php put dl("sqlite.so") and cross your fingers.

12 Name: ghi!sex.9m0UrU 2005-01-12 08:52 ID:xHQHYd0H [Del]

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.

13 Name: h3!h3//z2E0hc 2005-01-12 11:59 ID:9poZhnJ4 [Del]

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.

Name: E-mail: