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 902 Posts
  • LAMP - Package Updates

    Pinned
    44
    1 Votes
    44 Posts
    5k Views
    Package UpdatesP
    [4.3.1] Update php to 8.4.6
  • Omeka Classic tells me mod-rewrite is not enabled.

    7
    0 Votes
    7 Posts
    194 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
    95 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.
  • How to Change a Local Domain to a Public One in Cloudron?

    4
    1 Votes
    4 Posts
    79 Views
    J
    Will you then be port forwarding port 443 from the external firewall to the private IP ? Think it should be ok, this set up is fairly common .
  • Is there any Firewall in LAMP App Blocking LDAP Connections?

    4
    1 Votes
    4 Posts
    94 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
    94 Views
    robiR
    Well done! Super easy @simong
  • 0 Votes
    6 Posts
    236 Views
    L
    Thank you Joseph - that helped a lot. Then, everything just works fine :).
  • Cron Job Setup Correction

    6
    1 Votes
    6 Posts
    292 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
    774 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
    2k 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]
  • super admin

    8
    1 Votes
    8 Posts
    480 Views
    J
    @mdc773 the Strict Mode can only be set on the global (whole mysql) level or the session/connection level. There is no way to set this at database level. We cannot enable NO_AUTO_VALUE_ON_ZERO at the global level. Since this change will then apply to all the apps on Cloudron. This will break things (just like having it disabled breaks your app). AFAIK, there is no way to fix this other then fixing the script itself. Unfortunately, otherwise, you have to host this outside Cloudron since it's not compatible.
  • Problem with LAMP

    Unsolved lamp ownership change problem
    2
    0 Votes
    2 Posts
    142 Views
    nebulonN
    Maybe still a bug in the filemanager then. Will look into this. Until this is fixed you can extract it and use the webterminal to change the ownership maybe?
  • Cross-Origin Resource Sharing (CORS) issue

    Moved
    4
    1 Votes
    4 Posts
    321 Views
    nebulonN
    Since the domain of the frontend and the backend differ, the browser will send a preflight check request to the backend for the REST calls, so this means the backend has to respond properly via CORS. In your case do not touch the apache nor nginx configs (anyways nginx is the reverse proxy on Cludron and changes won't persist). The Laravel app then should respond with the correct CORS messages, however I am no Laravel expert so I don't know how this works with that framework. Edit: if Laravel needs apache settings, follow the docs at https://docs.cloudron.io/apps/lamp/#apache-settings
  • NPM clean-install in public folder - command not found

    5
    0 Votes
    5 Posts
    364 Views
    C
    @murgero Many thanks for your help.
  • Unable to enable certain modules

    Solved
    12
    2 Votes
    12 Posts
    910 Views
    S
    @girish Thanks for the quick resolution!
  • run.sh not working as expected

    Solved
    3
    1 Votes
    3 Posts
    324 Views
    E
    @joseph Oh, okay! That works perfectly. Thank you for the clarification!
  • Outdated LAMP install

    Moved
    4
    1 Votes
    4 Posts
    387 Views
    J
    @Robin my bad. The lamp.cloudronapp.php73 and lamp.cloudronapp.php74 are totally different packages! I think you are using the very old php 7.3 package. This is why you are not seeing the update. I don't know why the old one was deprecated though.
  • Connection Problems IWP

    Moved
    8
    1
    1 Votes
    8 Posts
    1k Views
    girishG
    @chriskloss said in Connection Problems IWP: These should be able to connect to each other if I use the FTP and MySQL data from the staging environment, right? Yes, for MySQL. As long as they are in the same instance, you can use the MySQL credentials from one app into another. For FTP, I guess you are asking if IWP can access files of another via FTP. This is possible, yes. Just use the SFTP credentials of the app - https://docs.cloudron.io/apps/#sftp-access
  • Config Apache with domain and subdomain

    4
    1 Votes
    4 Posts
    439 Views
    girishG
    Just creating multiple VirtualHost should work. Something like below works for me. ServerName %{HTTP_HOST} <VirtualHost *:80> ServerName main.smartserver.io DocumentRoot /app/data/public/main LogFormat "%{X-Forwarded-For}i %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" proxy CustomLog "|/bin/cat" proxy ErrorLog "|/bin/cat" <Directory /app/data/public/main> Options +FollowSymLinks AllowOverride All Require all granted </Directory> # Do not remove this include. It's required for your app to see the Real IP Include "/app/code/apache/rpaf.conf" </VirtualHost> <VirtualHost *:80> ServerName update.smartserver.io DocumentRoot /app/data/public/update LogFormat "%{X-Forwarded-For}i %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" proxy CustomLog "|/bin/cat" proxy ErrorLog "|/bin/cat" <Directory /app/data/public/update> Options +FollowSymLinks AllowOverride All Require all granted </Directory> # Do not remove this include. It's required for your app to see the Real IP Include "/app/code/apache/rpaf.conf" </VirtualHost>
  • How to get Mariadb installed for Lamp app

    Moved
    8
    1 Votes
    8 Posts
    987 Views
    S
    Considering Turnkey Linux has a container version of LAMP with MariaDB that works great for our software, it is too much to manually setup SSL and other things, this is why we want to use the LAMP in Cloudron to setup our software, but MariaDB is needed.