Koozali.org: home of the SME Server

Looking for HowTo install MySQL 5.x and PHP 5.x

Offline mike_mattos

  • *
  • 313
  • +0/-0
Looking for HowTo install MySQL 5.x and PHP 5.x
« Reply #45 on: May 25, 2007, 11:16:06 PM »
I haven't been able to get MySQL5/PHP5 to work with the current updates installed ,  I think the install image is 7.1.06.

Has anyone tried this lately?

thx
...

Offline Franco

  • *
  • 1,171
  • +0/-0
    • http://contribs.org
Looking for HowTo install MySQL 5.x and PHP 5.x
« Reply #46 on: May 26, 2007, 05:03:03 AM »
Quote
Has anyone tried this lately?


I tried and failled miserably!
 :(

I was able to get my system back following many posts from William  :D
I had this working up until 7.1 following his instructions.
Thanks,

Offline mike_mattos

  • *
  • 313
  • +0/-0
Looking for HowTo install MySQL 5.x and PHP 5.x
« Reply #47 on: May 28, 2007, 06:31:45 PM »
well, of necessity, I'm ghosting a working 7.1.3 system & will try again to do a fresh install later!  

I DID install MYSQL5/PHP5  onto 7.1.3 a few weeks ago with the same install image,  I've got no idea where it is going wrong now!
...

Offline william_syd

  • ****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
Looking for HowTo install MySQL 5.x and PHP 5.x
« Reply #48 on: June 21, 2007, 01:40:29 PM »
Here is some good info on running php4 and php5 side by side.

http://sme.firewall-services.com/spip.php?article46#forum62

There is a thread on here about it as well.
Regards,
William

IF I give advise.. It's only if it was me....

tsinatra

Looking for HowTo install MySQL 5.x and PHP 5.x
« Reply #49 on: July 26, 2007, 01:47:10 PM »
If server-manager and/or admin console login don't work after mysql5 php5 upgrade on SME7.2:

yum --enablerepo=centosplus update perl-DBI perl-suidperl
signal-event post-upgrade
signal-event-reboot

Offline Stefano

  • *
  • 10,836
  • +2/-0
Looking for HowTo install MySQL 5.x and PHP 5.x
« Reply #50 on: July 26, 2007, 03:10:01 PM »
I managed to install mysql5 and php5 on sme 7.2 without problems

Code: [Select]


rpm -e --nodeps php-domxml

db yum_repositories setprop centosplus Exclude kernel,kernel-smp,mkinitrd,mdadm,initscripts,perl*,perl-DBI,perl-DBD-MySQL,httpd,mod_ssl

expand-template /etc/yum.conf

yum update php mysql \
--disablerepo=* \
--enablerepo=base \
--enablerepo=updates \
--enablerepo=centosplus \
--enablerepo=smeos \
--enablerepo=smeupdates \
--enablerepo=smeaddons

signal-event post-upgrade
signal-event reboot

mysql_upgrade

signal-event post-upgrade
signal-event reboot


server-manager, phpmyadmin, webmail all running fine

HTH

Ciao

Stefano

crackerboy

Looking for HowTo install MySQL 5.x and PHP 5.x
« Reply #51 on: August 02, 2007, 05:49:20 PM »
Quote from: "william_syd"
Here is some good info on running php4 and php5 side by side.

http://sme.firewall-services.com/spip.php?article46#forum62

There is a thread on here about it as well.
That fucked up my forums that i host on the serrver also mine wich has grown pretty much :cry:

Offline Daniel B.

  • *
  • 1,699
  • +0/-0
    • Firewall Services, la sécurité des réseaux
Looking for HowTo install MySQL 5.x and PHP 5.x
« Reply #52 on: August 02, 2007, 10:19:56 PM »
Quote from: "crackerboy"
Quote from: "william_syd"
Here is some good info on running php4 and php5 side by side.

http://sme.firewall-services.com/spip.php?article46#forum62

There is a thread on here about it as well.
That fucked up my forums that i host on the serrver also mine wich has grown pretty much :cry:


Hi. You cannot fuck anything with this how-to. If it doesn't work for you, you can remove the custom-template for your web app:

(in the example)
Code: [Select]

<Directory /home/e-smith/files/ibays/vtiger/html>
       AddHandler php5-cgi .php
       Action php5-cgi /php5-cgi/php
</Directory>


And it we be handled by the default php module of your sme, just like it was before you tried it. If you don't use the php5-cgi anymore, you can also remove the rpms, and the other template, and your system will be just like it was before.

Cheers
C'est la fin du monde !!! :lol:

Offline Jean-Philippe Pialasse

  • *
  • 2,721
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: Looking for HowTo install MySQL 5.x and PHP 5.x
« Reply #53 on: September 30, 2007, 02:17:12 AM »
how to install mysql5 on SME 7.2:

Code: [Select]
yum update --enablerepo=centosplus  mysql-server  --exclude=php-pdo --exclude=php-common --exclude=php-mysql --exclude=perl-DBD-MySQL --exclude=perl -y

cat /usr/share/mysql/mysql_fix_privilege_tables.sql | /usr/bin/mysql --force --user=root --host=localhost --database=mysql
service mysqld stop;
service mysqld start;
/etc/rc.d/init.d/mysql.init restart;