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


Skip to content

LAMP

138 Topics 926 Posts
  • How to enable LDAP support in LAMP app?

    Moved Solved ldap
    13
    1 Votes
    13 Posts
    3k Views
    girishG
    The latest LAMP app now has LDAP addon enabled. For existing installations, LDAP will still be off (sorry).
  • Changing DocumentRoot

    Solved apache
    3
    4 Votes
    3 Posts
    840 Views
    A
    @girish Thank you girish
  • PHP mailparse extension/modul

    Solved
    7
    0 Votes
    7 Posts
    1k Views
    A
    @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.
  • PostgreSQL and Memcached in LAMP

    10
    0 Votes
    10 Posts
    2k Views
    rmdesR
    @girish Hmm indeed, that's bad... couldn't some kind of basic auth be used instead a bit like the Youtube-DL app ?
  • Support at command in LAMP app

    Moved Solved lamp cron
    5
    1
    0 Votes
    5 Posts
    1k Views
    alex-adestechA
    @girish you're a genius man! I think it should work, I'll try it and come back. Thanks!!
  • php version 5.6

    2
    0 Votes
    2 Posts
    604 Views
    nebulonN
    This is unlikely to be supported by a specific LAMP app. In such a case it is probably better to build a customized app package following the documentation at https://cloudron.io/documentation/custom-apps/tutorial/
  • LDAP support in php

    2
    0 Votes
    2 Posts
    655 Views
    nebulonN
    Currently the Lamp app still does not have LDAP enabled for the same reasons about the username:password mentioned in the linked forum thread.
  • Lamp App with Git

    Moved Solved lamp
    5
    0 Votes
    5 Posts
    1k Views
    murgeroM
    @girish & @jdelon02 I believe LAMP app supports cron, in that case use the following script to auto-pull from a git repo whenever an update is pushed to that repo: Put in /app/data/updateGit #!/bin/sh ## CD to the path where the app is installed. cd /app/data/public UPSTREAM=${1:-'@{u}'} LOCAL=$(git rev-parse @) REMOTE=$(git rev-parse "$UPSTREAM") BASE=$(git merge-base @ "$UPSTREAM") if [ $LOCAL = $REMOTE ]; then echo "Up-to-date" elif [ $LOCAL = $BASE ]; then echo "Need to pull" git pull elif [ $REMOTE = $BASE ]; then echo "Need to push? Some files changed / commited here, this should not have happened." else echo "Diverged?? Help!" fi Then in /app/data/crontab: */5 * * * * bash /app/data/updateGit 2>&1 ## Or if you wanna avoid filling logs: */5 * * * * bash /app/data/updateGit 2>&1 > /dev/null This will check if a pull is needed from a repo every 5 minutes. (Re: https://crontab.guru/every-5-minutes) You can also modify the bash script to rebuild, npm install, composer install, etc when needed too.
  • LAMP does not activate locales?

    Moved lamp
    13
    0 Votes
    13 Posts
    2k Views
    girishG
    @jeau It looks like I closed https://git.cloudron.io/cloudron/lamp-app/issues/14 by mistake and this went off our radar. I have reopened it.
  • ionCube PHP Loader not detected

    Moved Solved lamp
    4
    3
    0 Votes
    4 Posts
    901 Views
    girishG
    @hdavy2002 Pushed an update to fix this now.
  • Shlink on LAMP, APC absent?

    Moved Solved lamp
    9
    0 Votes
    9 Posts
    2k Views
    yusfY
    Okay, I understand. It's fine by me. The separate admin panel's latest release just renders a blank page for me (locally and on LAMP) ¯_(ツ)_/¯
  • Mail from domain is not allowed from your host

    Moved lamp
    3
    0 Votes
    3 Posts
    888 Views
    girishG
    @mathieuepitech Apps on Cloudron send email with a specific email id and with a SMTP username/password. This is not just a security measure but also prevents misconfigured apps from sending emails with arbitrary domains resulting in your server being blacklisted as a spam bot. The specific email id/mail from that the app will use is the in the app configure dialog. The SMTP credentials for sending email are available as environment variables. In PHP, you can simply use getenv('MAIL_SMTP_SERVER') etc instead of hardcoding the credentials.
  • Where do i find the apache Access Log?

    Moved Solved lamp
    2
    0 Votes
    2 Posts
    436 Views
    girishG
    @jensbee4 If you click on the logs button in the app icon in the dashboard, you will see the access logs. We log in the combined format - "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-agent}i\"". More information about the format is http://httpd.apache.org/docs/current/mod/mod_log_config.html#customlog
  • Configuring ServerTokens & ServerSignature?

    Moved Solved lamp
    4
    0 Votes
    4 Posts
    916 Views
    girishG
    @murgero I added it after you asked the question
  • LAMP stack Composer: Cannot require any package, cannot write into cache

    Moved Solved lamp
    4
    0 Votes
    4 Posts
    971 Views
    girishG
    @jepster We have pushed an update that should make it simpler now. Also updated the docs - https://cloudron.io/documentation/apps/lamp/#running-composer
  • Composer is installed, but cannot require any package

    Moved Solved lamp
    2
    0 Votes
    2 Posts
    526 Views
    girishG
    Let's discuss this in https://forum.cloudron.io/topic/1700/lamp-stack-composer-cannot-require-any-package-cannot-write-into-cache
  • LAMP App - How to enable mod_expires.c ?

    Moved Solved lamp
    5
    0 Votes
    5 Posts
    1k Views
    M-arcusM
    A bunch of mods are already installed, but not activated. I would separate this into: Activating already installed mods Installing and activating new monds
  • redis (on lamp) is stuck due to high memory usage

    Moved Solved redis lamp memory
    4
    0 Votes
    4 Posts
    2k Views
    nebulonN
    Would be great if you could update this thread with your findings. Also please note that the memory settings for the addons are currently not preserved across app restores or even server reboots. We are working on this fix and you can see the status of it at https://git.cloudron.io/cloudron/box/issues/566