php does not work on unbuntu 14.04 amd64

Discussion in 'Programming/Scripts' started by penkku, Oct 15, 2014.

  1. penkku

    penkku New Member

    PHP does not work on my unbuntu 14.04 desktop amd64 after LAMP installing.
    Someone say that php5.4 and above cannot support unbuntu 14.04 amd64, is it ture?
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Thats not true off course.you can use aany recent php version on Ubuntu.
     
  3. penkku

    penkku New Member

    Thanks! So I'll find way to solve problem.
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Which error do you get? Did you enable mod_php in apache?
     
  5. penkku

    penkku New Member

    It works!
    Uninstall and install LAMP a few times.

    There are two errors:
    1.
    dpkg: error processing package libapache2-mod-php5 (--configure):
    子进程 已安装 post-installation 脚本 返回了错误号 1
    在处理时有错误发生:
    libapache2-mod-php5
    E: Sub-process /usr/bin/dpkg returned an error code (1)

    apt-get remove --purge apache2
    Uninstall apache fully and install again to fix.

    2.
    White screen when open localhost/info.php
    Rewrite php.ini: display_errors = On to solve.
     
    Last edited: Oct 16, 2014
  6. imhappyyy

    imhappyyy New Member

    Thats not true off course.you can use aany recent php version on Ubuntu.???

    _______________
    GuL
     
  7. GrowthHacking

    GrowthHacking New Member

    maybe work normal on centos 5
     

Share This Page