centos5.6 と php53

php5.3が使えるというCentOS5.6が最近リリースされましたので、5.5からアップグレードして、さらにphp5.3をいれてみました。
方々で書かれているように、CentOS5.6ではphpパッケージの名前が5.3系からphp53と変更されている。

とりあえずまず、OSを5.6にした後に、phpのパッケージリストを出してみる。
インストールされているものは、rpm -qa | grep phpとかでリストアップ。
それをメモっておいてyumでアンインストール

まず、apacheとめておく
# service httpd stop

アンインストール
# yum remove php php-*

新しいパッケージをインストール
# yum install php53 php53-cli php53-common php53-mbstring php53-devel php53-gd php53-ldap php53-mysql php53-odbc php53-pdo php53-pgsql php53-xml
このインストールするパッケージはさっきメモったパッケージ名のphpのところをphp53としてやったもの

pearもアンインストール時に削除されてしまうのだけれど、インストールし直す
# yum install php-pear

しかしこのままだとpearはwarningを吐きまくるらしいのでアップデートしてやる
参考:http://d.hatena.ne.jp/okyohei/20110416/1302907269
参考:http://d.hatena.ne.jp/Akkiesoft/20110411/1302488866

# pear upgrade –force Archive_Tar
# pear upgrade –force Console_Getopt
# pear upgrade PEAR

で終了
特に問題なく動いております。

コメント
  1. Wonderful items from you, man. I’ve take into account your stuff previous to and you are simply extremely great. I really like what you have obtained right here, really like what you are saying and the way in which in which you say it. You’re making it entertaining and you still take care of to stay it smart. I can not wait to learn far more from you. This is really a tremendous web site.

  2. Thanks for another fantastic article. Where else could anyone get that type of info in such a perfect way of writing? I have a presentation next week, and I’m on the look for such information.

  3. В этой статье мы рассматриваем разрушительное влияние зависимости на жизнь человека. Обсуждаются аспекты, такие как здоровье, отношения и профессиональные достижения. Читатели узнают о необходимости обращения за помощью и о путях к восстановлению.
    Смотрите также – https://trezvoe-obshchestvo.ru/stati/vitaminy-i-alkogol.html

  4. I’m extremely impressed with your writing skills and also with the layout on your weblog. Is this a paid theme or did you customize it yourself? Either way keep up the nice quality writing, it is rare to see a great blog like this one these days..

  5. Thanks for your publication. I also think that laptop computers are getting to be more and more popular right now, and now tend to be the only type of computer included in a household. The reason being at the same time potentially they are becoming more and more reasonably priced, their processing power keeps growing to the point where there’re as potent as personal computers coming from just a few years ago.

  6. Hey would you mind sharing which blog platform you’re working with? I’m looking to start my own blog soon but I’m having a hard time making a decision between BlogEngine/Wordpress/B2evolution and Drupal. The reason I ask is because your design seems different then most blogs and I’m looking for something unique. P.S Sorry for getting off-topic but I had to ask!

  7. Hey! Do you know if they make any plugins to protect against hackers? I’m kinda paranoid about losing everything I’ve worked hard on. Any tips?

  8. Write more, thats all I have to say. Literally, it seems as though you relied on the video to make your point. You obviously know what youre talking about, why throw away your intelligence on just posting videos to your weblog when you could be giving us something informative to read?

  9. Слушайте кто знает Ситуация критическая Дети напуганы В больницу тащить страшно Короче, только это реально спасло — вывод из запоя анонимно недорого с опытом Сняли ломку и стабилизировали состояние В общем, телефон и цены тут — алкоголь вывести из запоя москва https://kruglosutochno.vyvod-iz-zapoya-na-domu-moskva.ru Вывод из запоя на дому — это реальный выход Перешлите тем кто в такой же ситуации

  10. Схема помощи зависит от состояния, стажа употребления, противопоказаний и дальнейших целей лечения.
    Подробнее тут – http://www.domen.ru

  11. Врач учитывает симптомы, риски, анамнез и семейную ситуацию, чтобы предложить подходящую программу.
    Получить больше информации – vyvod-iz-zapoya-krasnogorsk2.ru/

  12. Heya i?m for the first time here. I found this board and I find It really useful & it helped me out much. I hope to give something back and help others like you aided me.

  13. Врач-нарколог проводит осмотр, собирает анамнез, оценивает клиническую картину, уточняет данные о лекарствах, прошлых кодированиях, хронических диагнозах, нарушениях сна и психики. При необходимости назначаются ЭКГ, анализы, тест на вещества, консультация психиатра или психотерапевта. В лечении используются солевой раствор, витамины, седативные препараты, гепатопротекторы, кардиопротекторы и средства, которые нормализуют обменные процессы, восстанавливают водно-солевой баланс и улучшают работу внутренних органов.
    Подробнее можно узнать тут – http://vyvod-iz-zapoya-v-koroleve14.ru

  14. Magnificent beat ! I wish to apprentice while you amend your website, how could i subscribe for a blog web site? The account helped me a acceptable deal. I had been tiny bit acquainted of this your broadcast offered bright clear concept

  15. Люди подскажите Ситуация критическая Дети напуганы Таблетки не помогают Короче, врачи приехали и поставили систему — капельница от запоя клиника с гарантией Приехали через 40 минут В общем, не потеряйте контакты — капельница от запоя стоимость https://kapelnicza-ot-zapoya-sankt-peterburg.ru Звоните прямо сейчас Перешлите тем кто в такой же ситуации

  16. Thank you for another great article. Where else could anybody get that kind of information in such a perfect way of writing? I have a presentation next week, and I’m on the look for such info.

  17. Рекомендации строятся вокруг состояния человека, а не по универсальному шаблону для всех случаев.
    Подробнее – vyvod-iz-zapoya-kapelnica

  18. What i do not realize is in reality how you are not really a lot more smartly-preferred than you might be right now. You are so intelligent. You already know therefore considerably in terms of this subject, produced me in my view consider it from so many numerous angles. Its like men and women don’t seem to be interested unless it is something to do with Woman gaga! Your individual stuffs great. All the time handle it up!

  19. When I originally commented I clicked the “Notify me when new comments are added” checkbox and now each time a comment is added I get several emails with the same comment. Is there any way you can remove me from that service? Bless you!

  20. You can certainly see your skills in the work you write. The sector hopes for more passionate writers such as you who are not afraid to mention how they believe. Always follow your heart.

  21. Thanks , I have just been searching for information about this topic for ages and yours is the best I’ve discovered so far. But, what about the bottom line? Are you sure about the source?

  22. Good blog! I really love how it is simple on my eyes and the data are well written. I am wondering how I could be notified whenever a new post has been made. I’ve subscribed to your feed which must do the trick! Have a nice day!

  23. В этой статье обсуждаются актуальные медицинские вопросы, которые волнуют общество. Мы обращаем внимание на проблемы, касающиеся здравоохранения и лечения, а также на новшества в области медицины. Читатели будут осведомлены о последних событиях и смогут следить за тенденциями в медицине.
    Ознакомиться с полной информацией – вывод из запоя капельница

コメントする

必須フィールドには、* がマークされています。あなたのメールアドレスが公開されることはありません。