Results 1 to 5 of 5

Thread: Compile PHP 5

  1. #1
    gilbertonunes36 is offline Active Member
    Join Date
    Jul 2011
    Posts
    35
    Rep Power
    4

    Default Compile PHP 5

    Hi guys

    Is it possible compile PHP 5 on Zimbra 8.0.6??

    Thanks

  2. #2
    alessandro.motta is offline Trained Alumni
    Join Date
    Oct 2010
    Posts
    43
    Rep Power
    4

    Default

    Hi Gilberto,
    yes it is technically possible (i experienced it), but you need to be careful.
    You need to download the php sources for the exact version used by your Zimbra server and recompile using the current ./configure that you can retrieve with phpinfo() function, plus the modifications you need.
    Make sure you also have the sources of the other components listed in the current ./configure.

    Best regards

  3. #3
    gilbertonunes36 is offline Active Member
    Join Date
    Jul 2011
    Posts
    35
    Rep Power
    4

    Default

    Quote Originally Posted by alessandro.motta View Post
    Hi Gilberto,
    yes it is technically possible (i experienced it), but you need to be careful.
    You need to download the php sources for the exact version used by your Zimbra server and recompile using the current ./configure that you can retrieve with phpinfo() function, plus the modifications you need.
    Make sure you also have the sources of the other components listed in the current ./configure.

    Best regards
    I'm sorry... but there is no php instalation here... at least not on my Zimbra 8.0.6 instalation...

    Here is the find /opt/zimbra | grep php command result:

    ./httpd-2.4.4/htdocs/aspell.php
    ./httpd-2.4.4/modules/libphp5.so
    ./conf/php.ini
    ./bdb-5.2.36/docs/programmer_reference/ext_php.html
    ./cbpolicyd-2.1.0-beta/share/webui/quotas-limits-delete.php
    ./cbpolicyd-2.1.0-beta/share/webui/accesscontrol-change.php
    ./cbpolicyd-2.1.0-beta/share/webui/policy-group-delete.php
    ./cbpolicyd-2.1.0-beta/share/webui/postfix-mailboxes-add.php
    ./cbpolicyd-2.1.0-beta/share/webui/greylisting-add.php
    ./cbpolicyd-2.1.0-beta/share/webui/checkspf-change.php
    ./cbpolicyd-2.1.0-beta/share/webui/policy-member-change.php
    ./cbpolicyd-2.1.0-beta/share/webui/policy-member-add.php
    ./cbpolicyd-2.1.0-beta/share/webui/postfix-transports-main.php
    ./cbpolicyd-2.1.0-beta/share/webui/amavis-main.php
    ./cbpolicyd-2.1.0-beta/share/webui/policy-group-main.php
    ./cbpolicyd-2.1.0-beta/share/webui/policy-group-member-main.php
    ./cbpolicyd-2.1.0-beta/share/webui/amavis-delete.php
    ./cbpolicyd-2.1.0-beta/share/webui/policy-group-member-add.php
    ./cbpolicyd-2.1.0-beta/share/webui/postfix-distgroups-add.php
    ./cbpolicyd-2.1.0-beta/share/webui/checkhelo-blacklist-change.php
    ./cbpolicyd-2.1.0-beta/share/webui/postfix-distgroups-member-change.php
    ./cbpolicyd-2.1.0-beta/share/webui/policy-add.php
    ./cbpolicyd-2.1.0-beta/share/webui/postfix-transports-delete.php
    ./cbpolicyd-2.1.0-beta/share/webui/checkhelo-blacklist-main.php
    ./cbpolicyd-2.1.0-beta/share/webui/checkhelo-whitelist-add.php
    ./cbpolicyd-2.1.0-beta/share/webui/postfix-transports-add.php
    ./cbpolicyd-2.1.0-beta/share/webui/postfix-distgroups-member-main.php
    ./cbpolicyd-2.1.0-beta/share/webui/checkspf-main.php
    ./cbpolicyd-2.1.0-beta/share/webui/postfix-distgroups-main.php
    ./cbpolicyd-2.1.0-beta/share/webui/postfix-aliases-delete.php
    ./cbpolicyd-2.1.0-beta/share/webui/amavis-change.php
    ./cbpolicyd-2.1.0-beta/share/webui/policy-member-main.php
    ./cbpolicyd-2.1.0-beta/share/webui/policy-change.php
    ./cbpolicyd-2.1.0-beta/share/webui/postfix-aliases-main.php
    ./cbpolicyd-2.1.0-beta/share/webui/checkhelo-delete.php
    ./cbpolicyd-2.1.0-beta/share/webui/postfix-distgroups-change.php
    ./cbpolicyd-2.1.0-beta/share/webui/postfix-distgroups-delete.php
    ./cbpolicyd-2.1.0-beta/share/webui/checkspf-delete.php
    ./cbpolicyd-2.1.0-beta/share/webui/quotas-delete.php
    ./cbpolicyd-2.1.0-beta/share/webui/policy-group-add.php
    ./cbpolicyd-2.1.0-beta/share/webui/checkhelo-add.php
    ./cbpolicyd-2.1.0-beta/share/webui/checkhelo-blacklist-add.php
    ./cbpolicyd-2.1.0-beta/share/webui/accesscontrol-add.php
    ./cbpolicyd-2.1.0-beta/share/webui/greylisting-whitelist-add.php
    ./cbpolicyd-2.1.0-beta/share/webui/postfix-aliases-add.php
    ./cbpolicyd-2.1.0-beta/share/webui/checkhelo-change.php
    ./cbpolicyd-2.1.0-beta/share/webui/policy-group-member-change.php
    ./cbpolicyd-2.1.0-beta/share/webui/checkhelo-whitelist-main.php
    ./cbpolicyd-2.1.0-beta/share/webui/checkhelo-whitelist-change.php
    ./cbpolicyd-2.1.0-beta/share/webui/accounting-add.php
    ./cbpolicyd-2.1.0-beta/share/webui/accounting-delete.php
    ./cbpolicyd-2.1.0-beta/share/webui/policy-delete.php
    ./cbpolicyd-2.1.0-beta/share/webui/quotas-limits-main.php
    ./cbpolicyd-2.1.0-beta/share/webui/accounting-change.php
    ./cbpolicyd-2.1.0-beta/share/webui/greylisting-change.php
    ./cbpolicyd-2.1.0-beta/share/webui/quotas-limits-change.php
    ./cbpolicyd-2.1.0-beta/share/webui/quotas-limits-add.php
    ./cbpolicyd-2.1.0-beta/share/webui/greylisting-whitelist-delete.php
    ./cbpolicyd-2.1.0-beta/share/webui/accounting-main.php
    ./cbpolicyd-2.1.0-beta/share/webui/checkhelo-blacklist-delete.php
    ./cbpolicyd-2.1.0-beta/share/webui/quotas-add.php
    ./cbpolicyd-2.1.0-beta/share/webui/greylisting-whitelist-change.php
    ./cbpolicyd-2.1.0-beta/share/webui/checkhelo-main.php
    ./cbpolicyd-2.1.0-beta/share/webui/index.php
    ./cbpolicyd-2.1.0-beta/share/webui/postfix-distgroups-member-delete.php
    ./cbpolicyd-2.1.0-beta/share/webui/quotas-main.php
    ./cbpolicyd-2.1.0-beta/share/webui/amavis-add.php
    ./cbpolicyd-2.1.0-beta/share/webui/quotas-change.php
    ./cbpolicyd-2.1.0-beta/share/webui/policy-main.php
    ./cbpolicyd-2.1.0-beta/share/webui/checkspf-add.php
    ./cbpolicyd-2.1.0-beta/share/webui/policy-member-delete.php
    ./cbpolicyd-2.1.0-beta/share/webui/postfix-transports-change.php
    ./cbpolicyd-2.1.0-beta/share/webui/postfix-aliases-change.php
    ./cbpolicyd-2.1.0-beta/share/webui/greylisting-main.php
    ./cbpolicyd-2.1.0-beta/share/webui/checkhelo-whitelist-delete.php
    ./cbpolicyd-2.1.0-beta/share/webui/postfix-mailboxes-change.php
    ./cbpolicyd-2.1.0-beta/share/webui/policy-group-change.php
    ./cbpolicyd-2.1.0-beta/share/webui/postfix-mailboxes-delete.php
    ./cbpolicyd-2.1.0-beta/share/webui/postfix-distgroups-member-add.php
    ./cbpolicyd-2.1.0-beta/share/webui/greylisting-whitelist-main.php
    ./cbpolicyd-2.1.0-beta/share/webui/accesscontrol-delete.php
    ./cbpolicyd-2.1.0-beta/share/webui/policy-group-member-delete.php
    ./cbpolicyd-2.1.0-beta/share/webui/greylisting-delete.php
    ./cbpolicyd-2.1.0-beta/share/webui/postfix-mailboxes-main.php
    ./cbpolicyd-2.1.0-beta/share/webui/accesscontrol-main.php
    ./cbpolicyd-2.1.0-beta/share/webui/includes/tooltips.php
    ./cbpolicyd-2.1.0-beta/share/webui/includes/header.php
    ./cbpolicyd-2.1.0-beta/share/webui/includes/tooltipdata.php
    ./cbpolicyd-2.1.0-beta/share/webui/includes/footer.php
    ./cbpolicyd-2.1.0-beta/share/webui/includes/config.php
    ./cbpolicyd-2.1.0-beta/share/webui/includes/db.php

    Perhaps, I miss something...

    Thanks

  4. #4
    alessandro.motta is offline Trained Alumni
    Join Date
    Oct 2010
    Posts
    43
    Rep Power
    4

    Default

    php is available through the zimbra apache server, if you create a php test file in /opt/zimbra/httpd/htdocs/ you can view it at http://yourzimbraserver:7780/yourphptestfile

  5. #5
    gilbertonunes36 is offline Active Member
    Join Date
    Jul 2011
    Posts
    35
    Rep Power
    4

    Default

    Quote Originally Posted by alessandro.motta View Post
    php is available through the zimbra apache server, if you create a php test file in /opt/zimbra/httpd/htdocs/ you can view it at http://yourzimbraserver:7780/yourphptestfile
    Sorry Alessandro... I didn't knew it! Thanks...

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Compile and install?
    By cornbread in forum Developers
    Replies: 2
    Last Post: 04-09-2008, 08:46 AM
  2. 5.0b3 compile error
    By dijichi2 in forum Developers
    Replies: 2
    Last Post: 09-27-2007, 06:27 AM
  3. How to compile the zimbra?
    By sshgz in forum Developers
    Replies: 7
    Last Post: 08-12-2006, 07:02 AM
  4. Compile on Red Hat
    By Robert Mortimer in forum Developers
    Replies: 2
    Last Post: 04-12-2006, 08:34 AM
  5. 64-bit: how to compile
    By joshuamorgan in forum Installation
    Replies: 1
    Last Post: 10-07-2005, 09:32 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •