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

141 Topics 972 Posts
  • LAMP - Package Updates

    Pinned
    57
    1 Votes
    57 Posts
    13k Views
    Package UpdatesP
    [5.0.0] Remove PHP 7.4 and 8.0 . Both of these have reached end of life If you use any of these obsolete PHP versions, first update the PHP version and then update the package
  • Connecting the LAMP app with Git

    20
    0 Votes
    20 Posts
    218 Views
    P
    oK, Im not sure if I just fat fingered something or if this was fixed, but the yaml is now set up to be working. Here is my .yaml file name: Sync Repo with Cloudron LAMP app on: workflow_dispatch: push: branches: [main] jobs: deploy-to-cloudron-app: runs-on: ubuntu-latest environment: [WHATEVER YOUR ENVIRONMENT NAME WAS IN SETTINGS OF REPO] steps: - name: Checkout Repository uses: actions/checkout@v4 - name: Diagnostic – Print environment context run: | echo "=== GITHUB CONTEXT ===" echo "Branch: $GITHUB_REF" echo "Workflow: $GITHUB_WORKFLOW" echo "Runner: $RUNNER_NAME" echo "Workspace: $GITHUB_WORKSPACE" echo "======================" - name: Diagnostic – Check secret presence shell: bash run: | declare -A secrets secrets["CLOUDRON_FQDN"]="${{ secrets.CLOUDRON_FQDN }}" secrets["CLOUDRON_TOKEN"]="${{ secrets.CLOUDRON_TOKEN }}" secrets["CLOUDRON_APP_ID"]="${{ secrets.CLOUDRON_APP_ID }}" echo "Checking secrets..." for key in "${!secrets[@]}"; do if [ -z "${secrets[$key]}" ]; then echo "❌ $key is EMPTY" else echo "✅ $key is set" fi done - name: Cloudron Push to App uses: cloudron-io/cloudron-push-to-app@latest with: CLOUDRON_FQDN: "${{ secrets.CLOUDRON_FQDN }}" CLOUDRON_TOKEN: "${{ secrets.CLOUDRON_TOKEN }}" CLOUDRON_APP_ID: "${{ secrets.CLOUDRON_APP_ID }}" CLOUDRON_PUSH_DESTINATION: "/app/data" CLOUDRON_CREATE_APP_BACKUP: "false"
  • PHP 8.5 added, shortly removing PHP 7.4 and 8.0

    2
    0 Votes
    2 Posts
    90 Views
    girishG
    PHP 7.4 and 8.0 are removed in the latest package.
  • LAMP App - How to enable mod_expires.c ?

    Moved Solved lamp
    11
    0 Votes
    11 Posts
    2k Views
    nebulonN
    Yeah the idea was to just setup an oidc client credentials set with a redirect URI for the app, but not actually configuring the lamp stack to also use this. Same as with LDAP credentials. You can test the branch from https://git.cloudron.io/packages/lamp-app/-/tree/oidc-support?ref_type=heads if you know your way around building a custom app. Once installed you have to create an OpenID client in your Cloudron dashboard with /secure/redirect_uri and put the following in /app/data/apache/app.conf: # OIDCRedirectURI is a vanity URL that must point to a path protected by this module but must NOT point to any content OIDCRedirectURI https://<your.lampapp.domain>/secure/redirect_uri OIDCCryptoPassphrase somethingsecret OIDCProviderMetadataURL https://<my.example.com>/.well-known/openid-configuration OIDCClientID <clientId> OIDCClientSecret <secret> Then restart the app and then you may put those two lines in any .htaccess within your public/ folder which you want to protect from public access: AuthType openid-connect Require valid-user
  • [Question] How to install wp-cli on LAMP app

    Moved
    5
    1 Votes
    5 Posts
    646 Views
    32463
    Thanks folks. I'll give that a whirl
  • Disable Strict Mode Mysql

    Moved Solved lamp sqlmode
    20
    0 Votes
    20 Posts
    10k Views
    girishG
    @timconsidine said in Disable Strict Mode Mysql: @girish I thought our app cannot SET GLOBAL due to restricted permissions ? True / false ? My earlier comment seems to be a typo. I think I meant SET SESSION . ONLY_FULL_GROUP_BY cannot be disabled globally on Cloudron. It's a deprecated flag in MySQL and any code needing it is deviating from SQL standards.
  • Using YARN

    Solved
    18
    0 Votes
    18 Posts
    6k Views
    jamesJ
    Hello @charlesnw With this commit: https://git.cloudron.io/platform/docker-base-image/-/commit/2e4f7fd5fde83652567dd0a00a695f523bef98d1 yarn was removed from the docker base image. So yes, yarn is no longer included in any app by default.
  • Problem with LAMP

    Solved lamp ownership change problem
    3
    0 Votes
    3 Posts
    689 Views
    jamesJ
    Closed due to inactivity
  • Web Based On LAMP Stuck When Backup Process

    Solved
    4
    1
    0 Votes
    4 Posts
    1k Views
    jamesJ
    Closed due to inactivity Note: Issue was resolved. If this ever happens to you, stop the backup, restart the server and re-run the backup.
  • Is this pip install persistent for app updates?

    Solved python python3 venv lamp
    5
    1 Votes
    5 Posts
    872 Views
    imc67I
    @james said in Is this pip install persistent for app updates?: Hello @imc67 You can use venv or uv to create virtual environments. Here is a quick cheatsheet for venv => https://aaronlelevier.github.io/virtualenv-cheatsheet/ Many prefer uv these days, see => https://github.com/astral-sh/uv thanks again! I used venv and it works very well!
  • FreeScout in the LAMP app

    11
    1 Votes
    11 Posts
    2k Views
    C
    I couldn't resolve this but discovered that it isn't in fact as complicated as I thought it would be to migrate to the Freescout App. Just in case anyone else comes up against this challenge: Install and setup Freescout app Drop all the tables in the database and import database from previous installation If you have any modules: upload module folders to storage/modules Upload attachments folder to storage Done
  • How to Change a Local Domain to a Public One in Cloudron?

    6
    1 Votes
    6 Posts
    1k Views
    jdaviescoatesJ
    @alejandrolengua have you already created the A record as instructed? If so it's probably just a matter of waiting for propagation like it says. Can be really quick, can take hours (or technically even days but that's pretty rare)
  • Omeka Classic tells me mod-rewrite is not enabled.

    7
    0 Votes
    7 Posts
    2k Views
    robiR
    @scooke nod, I used cp -a * but forgot I also had to do .*
  • Connecting Cloudron LAMP Database to Desktop Applications

    4
    0 Votes
    4 Posts
    842 Views
    I
    @BrutalBirdie Thank you for the incredibly comprehensive tutorial. It seems this guide is best suited for users with advanced knowledge, so I’ll need to take some time to study and understand every detail you’ve provided. Much appreciated! Thank you @joseph for the documentation reference. I'll look into it.
  • Is there any Firewall in LAMP App Blocking LDAP Connections?

    4
    1 Votes
    4 Posts
    757 Views
    alejandrolenguaA
    I am using Moodle inside LAMP App (and not directly the Moodle one) because I migrated an older version that was using PHP version 7.4 that I managed to upgrade using the terminal inside Cloudron.
  • [Template] Flarum - Modern, fast & free community software

    2
    2
    4 Votes
    2 Posts
    549 Views
    robiR
    Well done! Super easy @simong
  • 0 Votes
    6 Posts
    1k Views
    L
    Thank you Joseph - that helped a lot. Then, everything just works fine :).
  • Cron Job Setup Correction

    6
    1 Votes
    6 Posts
    1k Views
    I
    @joseph Thank you, it works now! cc: @nebulon
  • LMAP .htaccess rewrite rules with google analytics - Help needed

    Solved
    21
    0 Votes
    21 Posts
    4k Views
    P
    AAannnnnd now it is working. I wish I could tell you why, but I don't. Thanks @robi
  • Deeplinking media files from external volumes

    Moved Solved volumes
    25
    0 Votes
    25 Posts
    6k Views
    benborgesB
    Hmm I still have permission denied inside the container to read /media/MyMount EDIT This time, it's working, for future reference, only thing I did was to set the home directory properly in the systemD service for each mount, remount them and then systemctl restart box or from the UI restart the box, my mounts are now visible inside the containers and I can read from them [image: 1734902378511-386b79d8-79cb-47db-8687-019194acef53-image.png]