Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Solved PHP mailparse extension/modul

    LAMP
    2
    7
    187
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      andirahmat last edited by

      Hi Everyone. I have this app that requires PHP mailparse extension/module. https://www.php.net/manual/en/book.mailparse.php

      Anyone have managed to install and enable this module on LAMP 7.4 ?

      1 Reply Last reply Reply Quote 0
      • girish
        girish Staff last edited by

        How are these extensions usually installed? If you have a .so, you can install following the docs here - https://docs.cloudron.io/apps/lamp/#installing-custom-php-extensions (like ioncube)

        A 1 Reply Last reply Reply Quote 0
        • A
          andirahmat @girish last edited by

          @girish said in PHP mailparse extension/modul:

          How are these extensions usually installed? If you have a .so, you can install following the docs here - https://docs.cloudron.io/apps/lamp/#installing-custom-php-extensions (like ioncube)

          This is my first time installing the app. There is this page https://pecl.php.net/package/mailparse but i do not see any .so files on it. I guess this is different from ioncube.

          1 Reply Last reply Reply Quote 0
          • girish
            girish Staff last edited by

            It looks like one has to do pecl install mailparse which doesn't work right now because of the readonly file system. Have to figure what is the easiest way to do this.

            A 1 Reply Last reply Reply Quote 0
            • A
              andirahmat @girish last edited by

              @girish said in PHP mailparse extension/modul:

              It looks like one has to do pecl install mailparse which doesn't work right now because of the readonly file system. Have to figure what is the easiest way to do this.

              Is it possible to preinstalled with apt on the app repo?

              1 Reply Last reply Reply Quote 0
              • girish
                girish Staff last edited by

                @andirahmat OK, I learnt a bit more about this now.

                PECL is PHP extensions written in C. PEAR is PHP extensions written in PHP.

                Luckily, as you pointed out mailparse is already there in apt. So, I have pushed an update for the PHP 7.4 app to have mailparse in it. I also added it to the php-postgres repo.

                A 1 Reply Last reply Reply Quote 0
                • A
                  andirahmat @girish last edited by

                  @girish said in PHP mailparse extension/modul:

                  @andirahmat OK, I learnt a bit more about this now.

                  PECL is PHP extensions written in C. PEAR is PHP extensions written in PHP.

                  Luckily, as you pointed out mailparse is already there in apt. So, I have pushed an update for the PHP 7.4 app to have mailparse in it. I also added it to the php-postgres repo.

                  Thank you! I'll try again.

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post
                  Powered by NodeBB