Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: Denbert on April 26, 2004, 09:47:12 PM

Title: Updating php on SME
Post by: Denbert on April 26, 2004, 09:47:12 PM
Hi there,

I'm trying to install a Postnuke site using the how-to http://no.longer.valid/phpwiki/index.php/How%20to%20install-remove%20Post-Nuke%200.7

It's ok - my webdesigner is now asking for a newer version of php? The one on SME 6.0.1 is 4.1.2 and he is asking for php 4.2.2 ?

I qoute him here: "Also, this is a very old version of PHP. AutoTheme is  not  normally known
to work on this version, but this version of PHP contains bugs and security vulnerabilities."

As you can see he is using AutoTheme from
http://spidean.mckenzies.net/

Can anyone please help?

I really need his new site to work on my server.

/ Denbert
Title: Updating php on SME
Post by: ergozd on April 26, 2004, 10:31:09 PM
You can user DabBrowns PHPs (latest = v4.3.6)

You can get them from
http://www.ibiblio.org/pub/linux/distributions/e-smith/contrib/DanBrown/RPMS/i386/?M=D

Download RPMS you want to upgrade (php, php-imap, phpmysql, php-ldap maybe a few others if you have installed them)

and run
#rpm -Uvh php-*rpm

Good luck.
Title: Just in case..
Post by: Cruzer on April 27, 2004, 03:29:40 AM
Just in case..running
#rpm -Uvh php-*rpm produces dependancy errors.. try this..and run
#rpm -Uvh --nodeps php-*rpm
Title: Updating php on SME
Post by: ergozd on April 27, 2004, 06:10:30 AM
I forgot to mention to modify your PHP.INI settings to activate PEAR

Make sure that your include_path is modified
include_path            = ".:/usr/share/pear"

Check your templates also in file
# /etc/e-smith/templates/etc/php.ini/50PathsDirectories

and restart your httpd service

Rgds, Ergin
Title: Updating php on SME
Post by: Denbert on April 27, 2004, 08:17:37 PM
It worked!!!

Thanks to you all.

I still love my SMESERVER  :-D

/ Denbert  :pint:
Title: Updating php on SME
Post by: Denbert on May 03, 2004, 10:22:49 PM
Just found out that my webmail is broke after the upgrade???

Any suggestions - Please.

/ Denbert  :cry:
Title: Updating php on SME
Post by: Anonymous on May 03, 2004, 11:39:51 PM
Quote from: "Denbert"
Just found out that my webmail is broke after the upgrade???

Any suggestions - Please.

/ Denbert  :cry:


You have to install pear Log:

pear install Log
/etc/init.d/httpd restart
/etc.init.d/httpd-e-smith restart
Title: Updating php on SME
Post by: Kobus on August 20, 2004, 10:05:26 PM
when changing the 50PathsDirectories file do I need to change the include dir or add the one specified earlier in this post?
Title: Updating php on SME
Post by: Kobus on August 21, 2004, 10:38:10 AM
Not to worry as I figured this out myself and in the process got to understand the whole templates custom template thing. possibly a bit slow but hey rather late than never.