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. Планируете поездку в солнечную Анапу и нужен надежный транспорт? Компания «Открытая Анапа» предлагает профессиональные услуги пассажирских перевозок с круглосуточной диспетчерской поддержкой. Организация работает с полным пакетом документов и строгим контролем качества обслуживания, что подтверждают многочисленные благодарственные письма от клиентов. На сайте https://autobus.open-anapa.ru/ вы можете оперативно оформить заказ и получить консультацию через удобные мессенджеры. Опытные водители, современный автопарк и индивидуальный подход к каждому заказу делают путешествие комфортным и безопасным для групп любого размера.

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

  3. Здорово, Кыргызстан! То вообще доступ к аккаунту без причин закрывают, Искал реально долго, перепробовал кучу сомнительных вариантов пока чисто случайно не протестировал единственное место, где реально не кидают и предлагает топовые условия как для ординаров, так и для экспрессов. Вывод честно заработанных денег занимает буквально 5 минут,

    Кому тоже актуально найти проверенное место для игры, вся полезная инфа выложена вот здесь онлайн билет футбол онлайн билет футбол Лучше обходить стороной забаненные платформы и выбирать надежные зоны. обязательно перешлите этот пост тому, кто тоже сейчас ищет нормальную контору!

  4. Hi! I just wanted to ask if you ever have any trouble with hackers? My last blog (wordpress) was hacked and I ended up losing several weeks of hard work due to no data backup. Do you have any solutions to protect against hackers?

  5. Ищете йога-тур? Йога и путешествия по всему миру для вас на сайте yogajourney.ru. У нас большой выбор йога-туров, авторских путешествий, ретритов и семинаров. Проверенные организаторы, уникальные предложения. Посмотрите на сайте лучшие предложения! Мы поможем воплотить ваши мечты в незабываемые путешествия! Сложно определиться среди множества предложений? Разработаем тур под ваш запрос. Yoga Journey — это лучшие йога-туры как по России, так и по всему миру!

  6. Very great post. I just stumbled upon your weblog and wanted to mention that I’ve really loved surfing around your blog posts. In any case I will be subscribing to your rss feed and I am hoping you write again soon!

  7. I’m really impressed with your writing skills as well as with the layout on your blog. Is this a paid theme or did you customize it yourself? Anyway keep up the nice quality writing, it?s rare to see a nice blog like this one today..

  8. It?s really a great and useful piece of information. I am glad that you simply shared this helpful info with us. Please stay us informed like this. Thanks for sharing.

  9. I love what you guys are up too. Such clever work and coverage! Keep up the fantastic works guys I’ve included you guys to my blogroll.

  10. One more thing. It’s my opinion that there are several travel insurance web pages of respected companies that let you enter your journey details and acquire you the quotations. You can also purchase the actual international holiday insurance policy on the web by using the credit card. All you have to do should be to enter your travel details and you can see the plans side-by-side. Simply find the program that suits your financial allowance and needs and use your credit card to buy the item. Travel insurance on the web is a good way to check for a reputable company regarding international travel cover. Thanks for giving your ideas.

  11. great issues altogether, you just won a new reader. What may you suggest in regards to your post that you made a few days in the past? Any sure?

  12. Thanks for the thoughts you are discussing on this weblog. Another thing I want to say is the fact getting hold of duplicates of your credit history in order to check accuracy of any detail would be the first action you have to undertake in credit repair. You are looking to thoroughly clean your credit history from destructive details flaws that wreck your credit score.

  13. Hey there! Do you know if they make any plugins to assist with SEO? I’m trying to get my blog to rank for some targeted keywords but I’m not seeing very good gains. If you know of any please share. Thanks!

  14. Hello! This is my first visit to your blog! We are a collection of volunteers and starting a new project in a community in the same niche. Your blog provided us beneficial information to work on. You have done a marvellous job!

  15. Have you ever considered about including a little bit more than just your articles? I mean, what you say is fundamental and everything. But think about if you added some great visuals or videos to give your posts more, “pop”! Your content is excellent but with images and video clips, this blog could certainly be one of the most beneficial in its field. Very good blog!

  16. Wonderful beat ! I wish to apprentice at the same time as you amend your website, how can i subscribe for a blog site? The account helped me a appropriate deal. I were tiny bit acquainted of this your broadcast provided shiny transparent concept

  17. Do you have a spam issue on this site; I also am a blogger, and I was wondering your situation; we have created some nice practices and we are looking to trade strategies with others, please shoot me an e-mail if interested.

  18. Oh my goodness! an incredible article dude. Thanks Nevertheless I’m experiencing challenge with ur rss . Don?t know why Unable to subscribe to it. Is there anybody getting identical rss drawback? Anyone who is aware of kindly respond. Thnkx

コメントする

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