Koozali.org: home of the SME Server

Updating php on SME

Offline Denbert

  • *
  • 156
  • +0/-0
    • hegnstoften.net
Updating php on SME
« 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
/ Denbert
"Success is not final, failure is not fatal: it is the courage to continue that counts" - Sir Winston Churchill

ergozd

Updating php on SME
« Reply #1 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.

Cruzer

Just in case..
« Reply #2 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

ergozd

Updating php on SME
« Reply #3 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

Offline Denbert

  • *
  • 156
  • +0/-0
    • hegnstoften.net
Updating php on SME
« Reply #4 on: April 27, 2004, 08:17:37 PM »
It worked!!!

Thanks to you all.

I still love my SMESERVER  :-D

/ Denbert  :pint:
/ Denbert
"Success is not final, failure is not fatal: it is the courage to continue that counts" - Sir Winston Churchill

Offline Denbert

  • *
  • 156
  • +0/-0
    • hegnstoften.net
Updating php on SME
« Reply #5 on: May 03, 2004, 10:22:49 PM »
Just found out that my webmail is broke after the upgrade???

Any suggestions - Please.

/ Denbert  :cry:
/ Denbert
"Success is not final, failure is not fatal: it is the courage to continue that counts" - Sir Winston Churchill

Anonymous

Updating php on SME
« Reply #6 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

Offline Kobus

  • ****
  • 153
  • +0/-0
    • http://www.fullnet.co.uk
Updating php on SME
« Reply #7 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?
Kobus............

Offline Kobus

  • ****
  • 153
  • +0/-0
    • http://www.fullnet.co.uk
Updating php on SME
« Reply #8 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.
Kobus............