|
change | my $ml = db_get_prop($confref, 'php', 'MemoryLimit') || "8M"; | |
to | my $ml = db_get_prop($confref, 'php', 'MemoryLimit') || "16M"; |
change | my $et = db_get_prop($confref, 'php', 'MaxExecutionTime') || "30"; | |
to | my $et = db_get_prop($confref, 'php', 'MaxExecutionTime') || "60"; |
cp /etc/e-smith/templates/etc/php.ini/50PathsDirectories /etc/e-smith/templates-custom/etc/php.ini/50PathsDirectories
pico /etc/e-smith/templates-custom/etc/php.ini/50PathsDirectories
change | include_path = ".:/usr/share/php" | |
to | include_path = ".:/usr/share/pear" |
/sbin/e-smith/expand-template /etc/php.ini
3) Make edits to httpd.conf to point to correct pear files (suggested by http://www.e-smith.org/bboard//read.php?v=t&f=3&i=24710&t=24710)
cp /etc/e-smith/templates/etc/httpd/conf/httpd.conf/95AddType00PHP2ibays /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/95AddType00PHP2ibays
pico /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/95AddType00PHP2ibays
change | "php_admin_value open_basedir $basedir\n"; | |
to | "php_admin_value open_basedir $basedir:/usr/share/pear\n"; |
/sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf
4) Download the latest tiki package from www.tiki.org, install into your ibay
cd /home/e-smith/files/ibays/<ibayname>/files
wget http://unc.dl.sourceforge.net/sourceforge/tikiwiki/tikiwiki_1.7.2.tar.gz
tar zxvf tikiwiki_1.7.2.tar.gz
5) Copy the files into your ibay root html folder (or you could cp -R the tiki_1.7.2 directory to the html dir)
cd ../html
cp -Ru ../files/tikiwiki_1.7.2/* .
6) Edit tiki files to allow tiki to run under php safemode (from http://www.tiki.org/tiki-index_raw.php?page=InstallTikiUnderSafeMode)
pico tiki/Smarty/Smarty.class.php
change | var $use_sub_dirs = true; | |
to | var $use_sub_dirs = false; |
7) Change the permissions of the files so they will run properly in the ibay (look to see what the existing perms are for that Ibay, and copy them)
chmod -R 2770 /home/e-smith/files/<ibayname>/html
chown -R admin:<ibaygroupname> /home/e-smith/files/<ibayname>/html
8) Set up your database
mysql_setpermission
9) In a web browser, connect to http://<yourserver>/<ibayname>/tiki-setup.php and enter in the appropriate info for:
That should do it. Please let me know if you have any updates/corrections to make to this, and I will update accordingly.