Koozali.org: home of the SME Server

Horde issues.

tymiles

Horde issues.
« on: May 11, 2004, 12:39:05 AM »
I followed the how to Horde 2.2.5, IMP 3.2.3, Turba 1.2.2 to upgrade my IMP. But I am having a couple issues.

Does anyone have a how-to or files to upgrade your PHP in e-smith 6 so I can get everything working?

Thanks in advance for the help! :-)

Offline Rigger

  • ***
  • 71
  • +0/-0
Horde issues.
« Reply #1 on: May 11, 2004, 02:24:54 AM »
Try this script. It should upgrade your system to the latest PHP. Leave feedback here if it works for you. Have not used it myself since I'm already upgraded.

http://www.ibiblio.org/pub/linux/distributions/smeserver/contribs/dmusty/SME6.0/scripts/php4.3.6-upgrade.sh

Quote
Script text

#!/bin/sh

mkdir phpupgrade
cd phpupgrade

wget http://www.ibiblio.org/pub/linux/distributions/e-smith/contrib/DanBrown/RPMS/i386/php-snmp-4.3.6-1db.i386.rpm

# Uncomment next line if you are using postgre sql
# wget http://www.ibiblio.org/pub/linux/distributions/e-smith/contrib/DanBrown/RPMS/i386/php-pgsql-4.3.6-1db.i386.rpm

wget ftp://ftp.rediris.es/sites/ftp.redhat.com/pub/redhat/linux/7.3/en/os/i386/RedHat/RPMS/unixODBC-2.2.0-5.i386.rpm
wget http://www.ibiblio.org/pub/linux/distributions/e-smith/contrib/DanBrown/RPMS/i386/php-odbc-4.3.6-1db.i386.rpm
wget http://www.ibiblio.org/pub/linux/distributions/e-smith/contrib/DanBrown/RPMS/i386/php-mysql-4.3.6-1db.i386.rpm

# Uncomment next line if you want to install the manual. It is large - 15megs.
# wget http://www.ibiblio.org/pub/linux/distributions/e-smith/contrib/DanBrown/RPMS/i386/php-manual-4.3.6-1db.i386.rpm

wget http://www.ibiblio.org/pub/linux/distributions/e-smith/contrib/DanBrown/RPMS/i386/php-ldap-4.3.6-1db.i386.rpm
wget http://www.ibiblio.org/pub/linux/distributions/e-smith/contrib/DanBrown/RPMS/i386/php-imap-4.3.6-1db.i386.rpm
wget http://www.ibiblio.org/pub/linux/distributions/e-smith/contrib/DanBrown/RPMS/i386/php-devel-4.3.6-1db.i386.rpm
wget http://www.ibiblio.org/pub/linux/distributions/e-smith/contrib/DanBrown/RPMS/i386/php-4.3.6-1db.i386.rpm

rpm -Uvh --nodeps php*.rpm

mkdir -p /etc/e-smith/templates-custom/etc/php.ini
touch /etc/e-smith/templates-custom/etc/php.ini/50PathsDirectories
echo 'include_path        = ".:/usr/share/pear"' > /etc/e-smith/templates-custom/etc/php.ini/50PathsDirectories
echo 'doc_root            =' >> /etc/e-smith/templates-custom/etc/php.ini/50PathsDirectories
echo 'user_dir            =' >> /etc/e-smith/templates-custom/etc/php.ini/50PathsDirectories
echo 'extension_dir       = /usr/lib/php4' >> /etc/e-smith/templates-custom/etc/php.ini/50PathsDirectories
echo 'enable_dl           = On' >> /etc/e-smith/templates-custom/etc/php.ini/50PathsDirectories

pear install Log
pear install Date

/sbin/e-smith/expand-template /etc/php.ini

service httpd restart

rm * -f
cd ..
rmdir phpupgrade

echo " DONE........"


--
Doug M.
"Rigger"

Mitsou

blank page
« Reply #2 on: May 13, 2004, 12:11:18 AM »
Hello since I've upgrade my php I've a blank page when I try to go to my phpsysinfo page and my on imp I can log in but stop on redirect.php... don't understand...

Thx for help

Offline Rigger

  • ***
  • 71
  • +0/-0
Horde issues.
« Reply #3 on: May 13, 2004, 02:25:39 AM »
Did you upgrade using the script from the previous message? Do know why but once I had to delete all the ols "Sess*" files out of the /tmp folder when something similar happened to me. Just that one time though quite a long time ago.


--
Doug M.
"Rigger"

Mitsou

Horde issues.
« Reply #4 on: May 13, 2004, 01:55:37 PM »
Hi Rigger,

No I' don't use the script upper. But it look's like another that I used.

But I was in error with the command :

pear install Log

So I'll install something else don't remembre and after the pear install Log is ok...

Maybe I installed something bad but when I do :

php -v

I've the 4.3.6 php version.

Or it's my php.ini or another thing... I'm lost ... HELP

Thx a lot

Mitsou

Horde issues.
« Reply #5 on: May 14, 2004, 12:58:07 PM »
I ve the https://www.dsbb.net/horde/login.php and it's work but I can't login. All other php for example phpsysinfo doesn't work.

It's apache configuration files ? etc ...

Thx for you help..

ergozd

Horde issues.
« Reply #6 on: May 14, 2004, 02:32:35 PM »
Try running

/sbin/e-smith/signal-event post-upgrade
/sbin/e-smith/signal-event reboot

Best rgds, Ergin

Mitsou

Horde issues.
« Reply #7 on: May 18, 2004, 11:07:45 AM »
Thx but I've already try this command but without success.

I've upgraded my SME 5.6 to 6.0.1 and Webmail is ok now. But some other ibays don't work like phpsysinfo... Maybe I must creat another ibays... I'll try it tonight?

CU

Mitsou

Horde issues.
« Reply #8 on: May 24, 2004, 12:12:16 PM »
Ok I found the problem...

When you install phpsysinfo, you must grant acces to /proc to the ibays "toto" with a command line...

[root@sme root]# /sbin/e-smith/db accounts setprop toto PHPBaseDir /home/e-smith/files/ibays/toto/:/proc/
[root@sme root]# /sbin/e-smith/signal-event ibay-modify toto

It's this command is bad with the 6.0.1. Don't know why. Must have a frsh install and not a upgrade from 5.6 ?