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

140 Topics 950 Posts
  • LAMP for blank websites?

    Solved
    2
    1 Votes
    2 Posts
    680 Views
    girishG
    @jayonrails yes, correct. If you want to host a static site (no php, just html/case/js), choose the surfer app.
  • This topic is deleted!

    Moved
    7
    0 Votes
    7 Posts
    16 Views
  • ionCube not loading on PHP 7.4

    4
    0 Votes
    4 Posts
    1k Views
    webfrequent-deW
    Confirm it is working. [image: 1674490682301-5036fbcd-dfc4-4e24-ae99-68a3d577154f-image.png] [image: 1674490718338-229fc1e1-e5da-40f2-927f-ae5531464033-image.png] [image: 1674490767497-b0db9047-106b-476b-a694-86f7a5b4b995-image.png] Thanks for the fast response and fix
  • Cannot send mail from LAMP app

    Moved
    8
    0 Votes
    8 Posts
    2k Views
    holloschH
    @girish said in Cannot send mail from LAMP app: @hollosch you have to configure it in the code. https://docs.cloudron.io/apps/lamp/#email has an example. I assume you are using a custom app that you developed? I'm using https://www.php-guestbook.de/?langu=en
  • Error Reporting PHP in LAMP

    Moved
    5
    0 Votes
    5 Posts
    2k Views
    murgeroM
    @girish You can set this in php.ini: error_reporting = E_WARNING & ~E_NOTICE & ~E_DEPRECATED & ~E_STRICT I believe is the line to modify.
  • Using PHP-CLI 8.1 as default

    4
    0 Votes
    4 Posts
    1k 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
    1
    0 Votes
    9 Posts
    2k 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
    1k 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
    5k 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
  • WHMCS - LAMP - IonCube Not detected

    Moved
    7
    1 Votes
    7 Posts
    2k 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 wordpress lamp cache
    7
    0 Votes
    7 Posts
    2k 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
    1k Views
    L
    @girish Thanks, will give it a try and see how it goes.
  • Java support for LAMP?

    7
    3 Votes
    7 Posts
    2k 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
    811 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
    898 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
    870 Views
    ruihildtR
    @nebulon Thanks, I had searched before posting, but not well enough apparently.
  • Lamp Stack Sendmail

    Moved
    3
    0 Votes
    3 Posts
    930 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

    sftp
    10
    0 Votes
    10 Posts
    3k 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
    7k 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
    495 Views
    girishG
    Turn out I wasn't subscribed to https://github.com/phpmyadmin/phpmyadmin . I am now.