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

136 Topics 905 Posts
  • Adding mcrypt extension

    Solved
    7
    0 Votes
    7 Posts
    1k Views
    robiR
    @nebulon you just run the update command(s)
  • LAMP Laravel and npm

    Moved Solved
    7
    0 Votes
    7 Posts
    1k Views
    nebulonN
    @deiwee I guess you would want to run it as www-data user though to not mess with file permissions. Did you get any error messages in the log? Of course after app restart it will always take at most a minute to kick the cron according to schedule.
  • Internal Caching

    2
    0 Votes
    2 Posts
    533 Views
    girishG
    @jlx89 there is no internal cache. Can you just do a plain curl -v https://clonedapp.domain.com and see what is happening? Could it be that you have the domain hardcoded in your LAMP app and it's redirecting you to that location? This happens fairly often when cloning WP with misconfigured plugins.
  • Mysql ssl error and auto-increment not working

    7
    0 Votes
    7 Posts
    1k Views
    girishG
    @carbonbee don't think it matters but I will push an update to phpMyAdmin 5.1.0 - https://www.phpmyadmin.net/news/2021/2/24/phpmyadmin-510-released/
  • Creating a queue worker for laravel app?

    Moved
    14
    0 Votes
    14 Posts
    3k Views
    ?
    @girish Hah this actually helps me with the Humhub app. Thanks! My solution was to use sed to delete line 312 in /etc/php/7.4/cli/php.ini lmao. Jank to the extreme.
  • Proper IP Address and Hostname on Log

    Solved
    4
    0 Votes
    4 Posts
    678 Views
    girishG
    @nj I have fixed this in the new package. However, it will work only for new installation. For existing install, you have to edit /app/data/apache/app.conf and add the following lines (You can add it after the DocumentRoot /app/data/public line): LogFormat "%{X-Forwarded-For}i %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" proxy CustomLog "|/bin/cat" proxy ErrorLog "|/bin/cat" After that restart the app.
  • Adding a second db to php 7.4 app

    Solved mysql migration drupal civicrm
    2
    0 Votes
    2 Posts
    605 Views
    girishG
    @shai you have to build a custom app, please see this guide https://docs.cloudron.io/guides/multiple-databases-lamp/
  • Migrating Drupal 7 to Cloudron Lamp 7.4

    Moved Solved
    4
    0 Votes
    4 Posts
    845 Views
    ShaiS
    @girish But a random web search +1 for random web searches! led me to where someone suggests that "I had this issue in drush command line, when there was an error parsing the settings.php file That was it! A missing comma in the databases array. Thanks so much!
  • Vimeo domain restriction issue

    Solved
    6
    0 Votes
    6 Posts
    1k Views
    nebulonN
    @ccfu I am not quite sure anymore why we are explicitly overriding that header, even if it is passed from the upstream server (ie the app in this case) I've pushed a change for next release which will allow overriding it now https://git.cloudron.io/cloudron/box/-/commit/70f2337b09f321c1252fd0e17754e5ffbb1080d9 Does anyone know if this may have problematic side-effects security wise?
  • LAMP - nano - local config file

    Solved
    4
    0 Votes
    4 Posts
    1k Views
    nebulonN
    @timconsidine fixed with https://git.cloudron.io/cloudron/docker-base-image/-/commit/c3431324eaddac83122e3e63893c7c6a8e1ee17d but of course only part of the next base image release then.
  • Composer 2 required for folks like me

    3
    0 Votes
    3 Posts
    621 Views
    girishG
    Indeed, the current composer comes from ubuntu 20. If you want a different version, you can always download the phar from the composer website and run it as @murgero suggested.
  • Form Designer/Hoster/Collector for LAMP

    13
    0 Votes
    13 Posts
    2k Views
    timconsidineT
    @girish surveyjs looks great. It can certainly help with some projects/use cases. But think I will pursue Budibase as the more complete design/host/collect responses solutions. Got it working (easily after stupid error on my side) and will look at putting on a VPS. Would rather it is in Cloudron, but not sure I am competent enough to build it as custom app. Maybe will have a bash.
  • Enviroment variables and how to use mail

    9
    0 Votes
    9 Posts
    2k Views
    girishG
    @peterle Yes, sure. We need to bring up the package at https://github.com/M-arcus/friendica-docker-image up to speed. It was packaged 3 years ago, so it probably won't work now.
  • How to install Python external libraries?

    Solved
    4
    0 Votes
    4 Posts
    993 Views
    nebulonN
    @why42 yes I think this would not be suiteable for LAMP. But having a custom app package for custom scripts is very much doable if you have used docker at some point. Otherwise we are happy to help.
  • Implementation strategy clarification

    Solved
    3
    0 Votes
    3 Posts
    619 Views
    timconsidineT
    @girish Thank you
  • "git push" (ci/cd) workflow for the LAMP app

    5
    0 Votes
    5 Posts
    1k Views
    girishG
    @nebulon I think for a start just making ssh based git push/pull work with hooks on the Github Pages and LAMP app is good enough. I think for rest of the "complicated" apps, we have to really make some container based PaaS, where we build the container as well (just like Heroku). That's a really long term feature.
  • Using MongoDB instead of MySQL in a LAMP app?

    Moved Solved lamp
    7
    0 Votes
    7 Posts
    2k Views
    S
    @girish sorry for spamming this old thread. I added a complete new post: https://forum.cloudron.io/topic/4203/git-push-ci-cd-workflow-for-the-lamp-app
  • More packages needed for Resourcespace in LAMP

    lamp resourcespace php.ini ffmpeg
    9
    0 Votes
    9 Posts
    2k Views
    girishG
    apt install -y cron apache2-dev php7.4 php7.4-{bcmath,bz2,cgi,cli,common,curl,dba,dev,enchant,fpm,gd,gmp,imap,interbase,intl,json,ldap,mbstring,mysql,odbc,opcache,pgsql,phpdbg,pspell,readline,soap,sqlite3,sybase,tidy,xml,xmlrpc,xsl,zip} libapache2-mod-php7.4 php-{apcu,date,geoip,gettext,imagick,gnupg,mailparse,pear,redis,twig,uuid,validate,zmq} ghostscript libgs-dev ffmpeg && \ is what we install. exiftool is there in the base image.
  • 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
    741 Views
    A
    @girish Thank you girish