Hello. My name's Kate. I love Linux, WordPress - own a WordPress dedicated design studio, a beginner entrepreneur who co-founded Asia software company. This is where i blog about Linux, WordPress, daily life and other interesting stuff
Status: available

You are on the Nineteen Labs » Update Plesk 7.5.4 (Plesk 7.5 Reloaded) PHP and Mysql (to PHP 5.0 and MySQL 4.1) article.

Update Plesk 7.5.4 (Plesk 7.5 Reloaded) PHP and Mysql (to PHP 5.0 and MySQL 4.1)

This post has some additional informations. There is new actions here while updating Plesk 7.5 Reloaded PHP and MySQL, add command old_passwords=1 in /etc/my.cnf (please read below)

Update PHP, MYSQL and OpenSSL
# yum update php
# yum update mysql
# yum update openssl

Stop httpd
# /etc/init.d/httpd stop

Stop plesk/psa
# /etc/init.d/psa stop

Start all of them (httpd,named and psa)
# /etc/init.d/psa start

Check PHP version
# rpm -q php

Check mySQL version
# rpm -q mysql

Update php and mysql library
libphp5.so located in /usr/lib/httpd/modules
mysql.so located in /usr/lib/php/modules

PHP
edit # vi /etc/httpd/conf.d/php.conf
LoadModule php5_module modules/libphp5.so
AddType application/x-httpd-php .inc .php5 .php .php4 .php3 .phtml

MySQL
edit # vi /etc/php.ini
in paths and directories
extension_dir = /usr/lib/php/modules
in dynamics extensions
Dynamic extension=mysql.so

edit # vi /etc/php.d/mysql.ini
extension=mysql.so

MySQL
edit # vi /etc/my.cnf
old_passwords=1

Stop httpd and psa, then start again (restart)

Share : These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • del.icio.us
  • SphereIt
  • BlinkList
  • Reddit
  • StumbleUpon

Receives 6 Responses to “Update Plesk 7.5.4 (Plesk 7.5 Reloaded) PHP and Mysql (to PHP 5.0 and MySQL 4.1)”

Leave a Reply

This site powered : WordPress. Made with PC (sorry, MAC), Coffee and Tofu