LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 07-07-2010, 02:52 AM   #1
secretlydead
Member
 
Registered: Sep 2003
Location: Qingdao, China
Distribution: mandriva, slack, red flag
Posts: 249

Rep: Reputation: 31
install php 5.2 on 2010.0/2010.1


i have some web software that doesn't work on php 5.3 - is there a way i can install php 5.2.x on 2010.0/2010.1?
 
Old 07-08-2010, 11:56 AM   #2
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Devuan
Posts: 3,660
Blog Entries: 33

Rep: Reputation: 283Reputation: 283Reputation: 283
Hi, you should be able to get php5.2.9 from Mandriva 2009.1 install disks, or the repo.

http://easyurpmi.zarb.org/

Select Version (2009.1) and then follow the directions of that page.

Task-lamp may be the meta package you need.

Quote:
task-lamp - Metapackage for the Linux, Apache, MySQL, PHP and Perl server​ 

This package is a meta-package, meaning that its purpose is to contain dependencies for running LAMP-server, allowing easy installation of a comprehensive LAMP testing/development setup. For a production server, you may prefer to install a subset of the dependencies.
Quote:
task-lamp-extras - Metapackage for the Linux, Apache, MySQL, PHP/Perl/Python extras​  This package is a meta-package, meaning that its purpose is to add additional packages for a LAMP setup that are not strictly required, but are often provided in other similar bundles. These extra packages are usually a convenience, and not recommended for use on production servers without securing them.
You should be able to remove the 5.3 ver of php with

Code:
urpme php -a
All the best, Glenn
 
Old 07-08-2010, 08:36 PM   #3
secretlydead
Member
 
Registered: Sep 2003
Location: Qingdao, China
Distribution: mandriva, slack, red flag
Posts: 249

Original Poster
Rep: Reputation: 31
what i actually had to do was:

sudo urpme task-lamp-php
sudo urpmi --auto-orphans

and then urpmi task-lamp-php with the new repo's.

of course, i dd'ed my partition before starting on this journey, and i'll update here if my computer melts or anything.


anyway, the problem now is how am i going to urpmi --auto-update? do i just set the system to fetch from all repo's or do i just not auto-update?
 
Old 07-08-2010, 09:45 PM   #4
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Devuan
Posts: 3,660
Blog Entries: 33

Rep: Reputation: 283Reputation: 283Reputation: 283
You can use the skip.list in /etc/urpmi/

/etc/urpmi/skip.list
Code:
# Here you can specify the packages that won't be upgraded automatically
# for example, to exclude all apache packages :
# /^apache/
/^x11-driver-video-nvidia-current/
/^nvidia-current-kernel/
/^dkms-nvidia-current/
/^kaffeine/
/^amarok/
/^kernel/
/^drakx-installer*/
/^smart-gui*/
/^smart*/
for example...
you need root access to save this file!

But you can still upgrade them with a different tool, like smart and rpm (cli)

smart has a version padlock instead to exclude packages.

Last edited by GlennsPref; 07-08-2010 at 09:47 PM. Reason: you need root access to save this file.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Error before install (2010 powerpack) MidniteHex Mandriva 6 08-09-2010 03:45 AM
"Event Announcment: PHP | OSI Days 2010 - Asia's Largest PHP Conference" anandan1982 Linux - News 0 06-08-2010 09:24 PM
what kde version comes with 2010 install? babag Mandriva 3 12-01-2009 02:20 AM
2010 install timl Mandriva 3 11-27-2009 03:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 09:07 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration