久久精品精选,精品九九视频,www久久只有这里有精品,亚洲熟女乱色综合一区
    分享

    Couldn't find package php5-fpm

     ccccshq 2013-10-07

    I'm trying to set up nginx with PHP5 and MySQL on my production VPS. The reason I chose nginx over Apache was because the VPS isn't high spec.

    nginx is installed, and is successfully serving static pages like it should. Now I'm trying to install PHP5 and am running into troubles.

    Following this guide: http://www./setting-up-a-php-development-environment-with-nginx-on-ubuntu-1104

    it says to run this command to install PHP5:

    sudo apt-get install php5-fpm php5-cli php5-common php5-curl php5-gd   php5-mcrypt php5-mysql php5-pgsql php5-sqlite php5-tidy php5-xmlrpc   php5-xsl php5-intl php5-imagick php5-xdebug php-apc php-pear
    

    When I do, I get this output:

    root@lvps92-60-122-235:/tmp# sudo apt-get install php5-fpm php5-cli php5-common php5-curl php5-gd >   php5-mcrypt php5-mysql php5-pgsql php5-sqlite php5-tidy php5-xmlrpc >   php5-xsl php5-intl php5-imagick php5-xdebug php-apc php-pear
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    E: Couldn't find package php5-fpm
    

    I've already tried running sudo apt-get update and it still fails. After Google'ing the problem, which usually fixes all trouble I have, there seems to be no fullproof solution :/

    Has anyone done this before and knows how to get PHP5 working properly with nginx?

    share|improve this question
    Is your VPS running Ubuntu 11.04 (as per the article)? I believe the PHP-FPM package has only been included in Ubuntu 10.10 and up (so if you are running 10.04 LTS, for instance, it isn't in the repository). – cyberx86 Jan 5 '12 at 3:07
    I'm running 10.04 LTS, yeah :/ I suppose I'll have to upgrade to get the required repositories? Or just add the repositories? – Whitey Jan 5 '12 at 3:23

    2 Answers

    For a start, for Ubuntu, you should almost always be using a Long Term Support edition, so that's 10.04.

    Here's the reason - https://wiki./LTS - look at the graph.

    (So if you can wait for 12.04 LTS, due at the end of April, good for you.)

    Otherwise, the Nginx' PHP repo - ppa:nginx/php5 - is no longer maintained.

    You could use Mercer's repo but he himself says not to (I've just updated vpsbible's stackscripts accordingly, hence the know-how) cos it's not maintained.

    INSTEAD ... use the ppa:l-mierzwa/lucid-php5 repo with 10.04 and you'll be fine.

    add-apt-repository ppa:l-mierzwa/lucid-php5
    apt-get update
    

    (Probably it will be fine with 11.04 also if you want to try.)

    That gives you PHP 5.3.10. If you want to play with 5.4.0 (which is not recommended unless you're a bug tester) then this ...

    add-apt-repository ppa:ondrej/php5

      本站是提供個人知識管理的網絡存儲空間,所有內容均由用戶發布,不代表本站觀點。請注意甄別內容中的聯系方式、誘導購買等信息,謹防詐騙。如發現有害或侵權內容,請點擊一鍵舉報。
      轉藏 分享 獻花(0

      0條評論

      發表

      請遵守用戶 評論公約

      類似文章 更多

      主站蜘蛛池模板: 黄又色又污又爽又高潮动态图 | 粗大的内捧猛烈进出小视频| 国产日韩精品中文字幕| 亚洲AV天天做在线观看| 久久国产精品成人影院| 亚洲欧美综合中文| 在线日韩日本国产亚洲| 色翁荡熄又大又硬又粗又视频| 久久无码人妻一区二区三区午夜| 日韩精品一区二区三区影院| 免费AV片在线观看网址| 亚洲欧美综合人成在线| 国产福利高颜值在线观看| 免费人成在线观看网站| 亚洲AV区无码字幕中文色| 一区二区中文字幕久久| 午夜国产精品福利一二| 狠狠婷婷色五月中文字幕| 国产猛男猛女超爽免费视频| 国产性色的免费视频网站| 亚洲男女一区二区三区| 国产精品欧美福利久久| 国产对白老熟女正在播放| 欧美国产日韩在线三区| 性动态图AV无码专区| 免费又大粗又爽又黄少妇毛片| 国产精品 自在自线| 艳女性享受在线观看| 推油少妇久久99久久99久久| 国产精品毛片在线完整版SAB| 国产成人高清亚洲综合| 日本一区二区在线高清观看| 国产精品一区二区手机在线观看| 国产福利酱国产一区二区| 免费吃奶摸下激烈视频| 亚洲熟女片嫩草影院| 国产福利一区二区三区在线观看| 人妻一区二区三区三区| 精品日本一区二区三区在线观看| 欧美成本人视频免费播放| 精品一区二区三区自拍图片区|