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

119 Topics 777 Posts
  • Using YARN

    Solved
    16
    0 Votes
    16 Posts
    2k Views
    girishG

    @FoksVHox Will do. I am subscribed to that issue, but it's open for 5 years now, so I have no hope πŸ™‚

  • Using PHP-CLI 8.1 as default

    4
    0 Votes
    4 Posts
    220 Views
    girishG

    @FoksVHox I am not an expert on laravel, but can you point me to what issue one hits here because the php binary is still pointing to 7.4? Currently, it is difficult to create a package where the php binary is dynamic.

    Are you refering to some issue like https://stackoverflow.com/questions/32750250/tell-composer-to-use-different-php-version ?

  • php not loading

    9
    0 Votes
    9 Posts
    249 Views
    girishG

    @andreasdueren Oh, I went back and read what you said in the initial post. I guess "myphp page" meant PHPMyAdmin ? Didn't occur to me, I read that is "my php app". Are you accessing PHPMyAdmin via https://app.domain.com//phpmyadmin .

  • WordPress LAMP FTP / FTPS

    3
    0 Votes
    3 Posts
    297 Views
    girishG

    As @msbt mentioned, that window pops up when WordPress does not have write permissions to the files.

  • Cannot change PHP version on Lamp

    Solved
    13
    0 Votes
    13 Posts
    1k Views
    LaurDanielL

    @girish I think this might help https://stackoverflow.com/a/43586197, but I need help to make it working with Cloudron Lamp app

  • Deeplinking media files from external volumes

    Moved Solved
    21
    0 Votes
    21 Posts
    683 Views
    benborgesB

    @girish Thanks for taking the time to ponder on this !

    Yes you got me right and I understand why it's not possible in the case of nocodb.

    just FYI, the path nocodb use in the cloudron context to store uploaded files is
    /app/data/nc/uploads/noco/{NameOfTheDatabase}

    f9e7d383-3c20-4693-9060-caf2008b655f-image.png

    Your suggestion to link directly to the LAMP or to a static "mirror" of this is the path I finally went with, it's was the logical step since provided I can link to it, where the media is does not matter much.

    i'm not yet releasing this publicly but it's coming !

    Thanks for the help!

  • WHMCS - LAMP - IonCube Not detected

    Moved
    7
    1 Votes
    7 Posts
    469 Views
    girishG

    @Trankery Did you check if it switched to PHP 7.4 correctly ? You can put a page with phpinfo and it will show the version and also that ioncube is indeed activated.

  • WP development on LAMP app vs. caching

    Moved Solved
    7
    0 Votes
    7 Posts
    333 Views
    M

    @girish thanks, I usually fire up a fresh one and use duplicator to migrate it to the live domain πŸ˜‰

  • Laravel & PHP

    Moved
    4
    0 Votes
    4 Posts
    274 Views
    L

    @girish Thanks, will give it a try and see how it goes.

  • Java support for LAMP?

    7
    3 Votes
    7 Posts
    328 Views
    robiR

    @necrevistonnezr yes, a bit disappointed that it's not even doing plain text search as it seems to indicate before setting up Tika for looking into PDFs and even OCR if ones add Tesseract.

    Perhaps a different workflow can be had once its files are mounted via webDAV and a local search done.

  • OCS Inventory Server

    Moved
    2
    1 Votes
    2 Posts
    194 Views
    girishG

    App was requested here - https://forum.cloudron.io/topic/4678/osc-inventory/ . Would be interesting to know if anyone has tried this.

  • Ability to pull a private repository via Git

    3
    0 Votes
    3 Posts
    188 Views
    girishG

    Also, to automate the pull, put this in the app's cron:

    * * * * * echo "==> Pulling" && cd /app/data/helloworld && git pull

    Then, in the logs, you will see:

    Mar 20 15:48:02 ==> Pulling Mar 20 15:48:02 From https://git.cloudron.space/root/helloworld Mar 20 15:48:02 8e9fa9a..6a79ead master -> origin/master Mar 20 15:48:02 Updating 8e9fa9a..6a79ead Mar 20 15:48:02 Fast-forward Mar 20 15:48:02 index.php | 3 ++- Mar 20 15:48:02 1 file changed, 2 insertions(+), 1 deletion(-)

    It pulls every minute for testing, so you might want to adjust the cron pattern.

  • Lamp app in error state `MYSQL_HOST: unbound variable`

    Moved Solved
    3
    0 Votes
    3 Posts
    216 Views
    ruihildtR

    @nebulon Thanks, I had searched before posting, but not well enough apparently. πŸ˜‰

  • Lamp Stack Sendmail

    Moved
    3
    0 Votes
    3 Posts
    165 Views
    girishG

    @savity Please see https://docs.cloudron.io/apps/lamp/#email on how to use it with PHPMailer.

    As @robi mentioned, you don't need sendmail. sendmail is just a binary to send mail. If you really want to use a binary, you can use swaks. swaks usage is documented here - https://docs.cloudron.io/packaging/addons/#sendmail

  • SFTP access for LAMP app

    10
    0 Votes
    10 Posts
    540 Views
    girishG

    @3246 Strange indeed. I can't quite make out what the issue is. Can you drop a mail to support@cloudron.io with SSH access and I can try to debug?

  • Mime type for webp images

    3
    0 Votes
    3 Posts
    2k Views
    girishG

    I guess something like :

    <Files *.webp> AddType image/webp .webp </Files>

    Many examples here : https://www.keycdn.com/support/optimus/configuration-to-deliver-webp

  • phpMyAdmin has a new version

    Solved
    3
    0 Votes
    3 Posts
    156 Views
    girishG

    Turn out I wasn't subscribed to https://github.com/phpmyadmin/phpmyadmin . I am now.

  • 0 Votes
    2 Posts
    154 Views
    girishG

    @levisadm the database is already added. If you go to the app's Web Terminal , if you run env | grep CLOUDRON_MYSQL_ you will get the values to use in your app. It's actually better if you just use the env variables directly in your app like getenv('CLOUDRON_MYSQL_USERNAME') etc

  • Installing Attendize on LAMP - Need help

    Moved
    5
    0 Votes
    5 Posts
    360 Views
    micmcM

    @girish said in Installing Attendize on LAMP - Need help:

    @micmc said in Installing Attendize on LAMP - Need help:

    You cannot install composer nor run docker in a LAMP under Cloudron.

    You are correct about docker but composer is actually already installed. In fact, you can also use a new composer since composer itself is just php, so you can download it in any directory and run it.

    Yep, thanks for the reminder. I think I've mixed composer with compose here loll Cheers!

  • Owncast in LAMP failed

    Moved
    4
    2 Votes
    4 Posts
    256 Views
    jdaviescoatesJ

    @loudlemur said in Owncast in LAMP failed:

    Shall I create an AppWish?

    No, upvote the existing one as per the OP

    https://forum.cloudron.io/post/22108