Documentation

Talk:Installing Lilina

Installation on Gentoo (and Gentoo Based)

Hi, first of all I would thank you for this great effort driven to the GPL community. In that spirit, I would like to contribute some caveats related to an installation in a Funtoo (Gentoo derivated) GNU/Linux.

PHP must be compiled with the following USE flags:

 * JSON. The site doesn't appear to say this, but after installing the 
application an awful error message appeared, and (I can't recall, sorry) It
seemed to be JSON related. After adding that USE flag, the error didn't appeared
again. * CURL. This wiki talks about curl, just that. * HASH. After installing PHP with json and curl, this error message appeared:
Fatal error: Call to undefined function hash() in /var/www/hostname/htdocs /path/to/lilina/inc/core/class-user.php on line 92.

It seems to be fixed adding the hash USE flag.

That's all by now, if I can detect some othe issues I'll post it. PS: It would be nice to have a distribution-oriented installation howto. Thank you for your effort.

-Paul

Hey Paul. This isn't the greatest place to try and discuss, but...
  • JSON should be included with PHP by default, unless the --disable-json flag was enabled. Lilina assumes that it is enabled, as the majority of PHP 5.2+ installations will not have it disabled.
  • fsockopen() is used if cURL is unavailable, so it's not required.
  • Hash should be installed and available by default unless PHP is compiled with --disable-hash. Lilina once again assumes it is.
I might add some information on this, but there's simply too much to try and cover with this. If you're building PHP yourself with these flags, you should be aware of what extensions you'll need.
Also, there are *way* too many distros to be able to do them all. If you want to write one up for your system, go ahead! :)
Thanks, Ryan. Ryan McCue 07:44, 27 April 2010 (UTC)