Current time: 12-22-2024, 10:13 PM Hello There, Guest! (LoginRegister)


Post Reply 
Debian Lenny PHP5 Upgrade
Author Message
viperiii Offline
Junior Member
*

Posts: 65
Joined: Feb 2008
Reputation: 0
Post: #1
Debian Lenny PHP5 Upgrade
What would be the right way to get my php5 up to 5.2.8 at least?

Currently at 5.2.6-1-lenny I think...

my apt/sources.list
Code:
deb http://ftp.debian.org/debian/ lenny main contrib non-free
deb-src http://ftp.debian.org/debian/ lenny main contrib non-free
deb http://security.debian.org/ lenny/updates main contrib non-free
deb-src http://security.debian.org/ lenny/updates main contrib non-free

When I tested a .deb source it caused too many issues..
should I attempt an upgrade to Squeeze?

reason I'm looking to upgrade is supporting Joomla 1.7 and some of rockettheme's new modules

- RokGallery: Needs a minimum PHP version of 5.2.8. You are running PHP version 5.2.6-1+lenny13
- The PHP Sqlite PDO driver is needed but not installed.

any ideas?

I can follow directions but still not good enough on my own... I break a lot of things when left to my own devices!
09-01-2011 10:01 AM
Find all posts by this user Quote this message in a reply
kilburn Offline
Development Team
*****
Dev Team

Posts: 2,182
Joined: Feb 2007
Reputation: 34
Post: #2
RE: Debian Lenny PHP5 Upgrade
1. Upgrade to squeeze (things *will* break)
2. Update the panel to the latest version (or re-run the update procedure if you are already at 1.0.7).
3. Everything should work now. Ask if you have any further problems.
09-01-2011 05:13 PM
Visit this user's website Find all posts by this user Quote this message in a reply
viperiii Offline
Junior Member
*

Posts: 65
Joined: Feb 2008
Reputation: 0
Post: #3
RE: Debian Lenny PHP5 Upgrade
(09-01-2011 05:13 PM)kilburn Wrote:  1. Upgrade to squeeze (things *will* break)
2. Update the panel to the latest version (or re-run the update procedure if you are already at 1.0.7).
3. Everything should work now. Ask if you have any further problems.

Many Thanks...

things broke and didn't know the little tidbit of information to re-run the setup...

re-run the setup completely like an upgrade... download do make install and all that or just the setup again?
(already at 1.0.7 but will do complete procedure as stated above... thx again!)

thanks!
(This post was last modified: 09-02-2011 06:53 AM by viperiii.)
09-02-2011 01:49 AM
Find all posts by this user Quote this message in a reply
kilburn Offline
Development Team
*****
Dev Team

Posts: 2,182
Joined: Feb 2007
Reputation: 34
Post: #4
RE: Debian Lenny PHP5 Upgrade
Yeah that's it, you have to rerun the whole upgrade procedure because this will ensure that you get all the required packages for debian squeeze, as well as some minor customizations.
09-02-2011 04:17 PM
Visit this user's website Find all posts by this user Quote this message in a reply
viperiii Offline
Junior Member
*

Posts: 65
Joined: Feb 2008
Reputation: 0
Post: #5
RE: Debian Lenny PHP5 Upgrade
(09-02-2011 04:17 PM)kilburn Wrote:  Yeah that's it, you have to rerun the whole upgrade procedure because this will ensure that you get all the required packages for debian squeeze, as well as some minor customizations.

Finnally spent the time and got it all upgraded to squeeze...
couple of issues that I had created for myself...
the process used was from here...
http://www.howtoforge.com/upgrade-debian...mple-steps

Issues that I hit:

Code:
Unable to migrate to dependency-based boot system
â
â Tests have determined that problems in the boot system exist which
â prevent migration to dependency-based boot sequencing:
â
â insserv: warning: script 'S25libdevmapper1.02' missing LSB tags and
â overrides, insserv: script postfix: service mail-transport-agent already
â provided!, insserv: warning: script 'libdevmapper1.02' missing LSB tags
â and overrides, , package exim4-base removed but not purged, package
â libdevmapper1.02 removed but not purged, package mplayer removed but not
â purged, package mysql-server-5.0 removed but not purged
â
â If the reported problem is a local modification, it needs to be fixed
â manually. If it's a bug in the package, it should be reported to the BTS

(pushed past this notice)

Processing triggers for install-info ...
Errors were encountered while processing:
/var/cache/apt/archives/libavutil49_4%3a0.5.4-1_i386.deb
/var/cache/apt/archives/libpostproc51_4%3a0.5.4-1_i386.deb
/var/cache/apt/archives/libswscale0_4%3a0.5.4-1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

(Fix)

apt-get --purge remove exim4-base
dpkg-query -W -f='${Conffiles}\n' exim4-base
rm -rf /etc/init.d/exim4

apt-get --purge remove mplayer
dpkg-query -W -f='${Conffiles}\n' mplayer
rm -rf /etc/init.d/mplayer

apt-get --purge remove mysql-server-5.0
dpkg-query -W -f='${Conffiles}\n' mysql-server-5.0
rm -rf /etc/init.d/mysql
rm -rf /etc/init.d/mysql-ndb
rm -rf /etc/init.d/mysql-ndb-mgm

apt-get --purge remove fam
dpkg-query -W -f='${Conffiles}\n' fam
rm -rf /etc/init.d/fam

So now I was ready to continue and reload / re-install ISP-CP over the top again...

Everything went perfectly...

Code:
Welcome to ispCP '1.0.7 OMEGA' Update Dialog.

        This program will update your current ispCP OMEGA installation on this
        server.
        Please make sure you did a backup of all your server data.

        [NOTICE] During the migration process some or all services might require to
        be shut down.

        [WARNING] Only services that are not marked with 'NO' in your ispcp.conf
        configuration file will be processed by this program.

        Do you want to continue ? [Y/n]: y

        [NOTICE] Make sure you have read and performed all steps from
        docs/distro/INSTALL document (where distro is your linux distribution).

        Do you want to continue ? [Y/n/?]: y

        Starting ispCP update
         * Stopping services: ..........                               [ Done ]

        ispCP main configuration file
         * Loading old ispCP configuration file:                       [ Done ]
         * Update ispCP configuration file:                            [ Done ]
         * Check ispCP configuration file:                             [ Done ]

        Pre-installation tasks for Debian
         * Nothing to do...                                            [ Done ]

        ispCP database
         * Update ispCP database schema:                               [ Done ]

        Rebuilding all services configuration files
         * ispCP system resolver:                                      [ Done ]
         * ispCP crontab file:                                         [ Done ]
         * ispCP Bind9 main configuration file:                        [ Done ]
         * ispCP Apache fastCGI modules configuration:                 [ Done ]
         * ispCP Apache main vhost file:                               [ Done ]
         * ispCP Apache AWStats vhost file:                            [ Done ]
         * ispCP Postfix configuration files:                          [ Done ]
         * ispCP Courier-Authentication:                               [ Done ]
         * ispCP ProFTPd configuration file:                           [ Done ]
         * ispCP init scripts:                                         [ Done ]

        Rebuilding all GUI configuration files
         * ispCP GUI Bind9 configuration:                              [ Done ]
         * ispCP GUI fastCGI/PHP configuration:                        [ Done ]
         * ispCP GUI vhost file:                                       [ Done ]
         * ispCP PMA configuration file:                               [ Done ]

        Rebuilding all customers configuration files
         * Please wait, this may take some time:                       [ Done ]

        Additional tasks
         * ispCP Rkhunter configuration:                               [ Done ]
         * ispCP System cleanup:                                       [ Done ]

        Permissions setup
         * Set engine permissions:                                     [ Done ]
         * Set gui permissions:                                        [ Done ]

        Finishing update
         * Starting services: ..........                               [ Done ]


        Congratulations, you updated ispCP OMEGA'1.0.7 OMEGA' successfully!

        Type http://admin.domain.com into your browser to log in
        to your panel.

When I type http://admin.domain.com

I hit the 1st hosted site and not the admin login...

seems my bind / dns is confused again...

any ideas?

(full disclosure)
I went back to starting snapshot and found that the problem was there when I started... so the upgrade did everything perfectly... the problem was carried forward from the last issue that was going on with bind9 failure happening... imagine that issue has returned...

ideas for that? think I can fix it like I did last time however seem to only be a temporary fix each time... http://isp-control.net/forum/thread-6448...l#pid99135
(This post was last modified: 09-18-2011 07:16 AM by viperiii.)
09-18-2011 07:05 AM
Find all posts by this user Quote this message in a reply
viperiii Offline
Junior Member
*

Posts: 65
Joined: Feb 2008
Reputation: 0
Post: #6
RE: Debian Lenny PHP5 Upgrade
Found the problem... at least part of it...

within the network I was able to hit admin.tld.com

however externally still was not able to...

during all my re-loads and snapshots seem to have messed up and not redone the /etc/hosts file...

that was still aimed at the old address...
Figured I'd re-follow the IP change steps and see if that helped...
http://isp-control.net/documentation/dok...:change_ip

yup... so far internally all is working great again... now to see if admin.tld.com externally will work......

YUP.. Success... now reboot and see if its all holding before I remove all my snapshots, and backup.... yuck...

Not sure why it didn't hold the IP changes from last time while it was working but figure something was still in there....

seems to be doing good now... just showing the old address in the bind/backup data only now...

Also very speedy as well... seems to be moving much quicker than previously.... Either Squeeze / PHP5.3.3 / Fixing things... but really seems much snappier!
09-18-2011 08:54 AM
Find all posts by this user Quote this message in a reply
viperiii Offline
Junior Member
*

Posts: 65
Joined: Feb 2008
Reputation: 0
Post: #7
RE: Debian Lenny PHP5 Upgrade
Okay... Everything running...

PHP is now more current but still get the PDO Error from the Joomla Component... php error went away..

"The PHP Sqlite PDO driver is needed but not installed."

doesn't seem to be part of the installation?
09-20-2011 04:47 AM
Find all posts by this user Quote this message in a reply
viperiii Offline
Junior Member
*

Posts: 65
Joined: Feb 2008
Reputation: 0
Post: #8
RE: Debian Lenny PHP5 Upgrade
# Aptitude update
# Aptitude install php5-dev php5- sqlite sqlite libmagic aspell aspell-dev-en

Fixed for me...

hopefully I didn't trash the install again!
09-20-2011 06:26 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)