Command PHP.

edited December 2017 in Web Server

How can I execute:

/usr/local/lsws/lsphp56/bin/lsphp  -d memory_limit=512M -f /home/domain/public_html/cron.php >> /home/domain/public_html/var/log/cron.log 2>&1

options -d memory_limit=512M -f no exist in lsphp

Thks,

Tagged:
Tagged:

Comments

  • Hello

    You can use php binary at

    /usr/local/lsws/lsphp56/bin/php

    Regards

  • for me cron jobs for prestashop worked finelly on centos7 with cyberpanel litespeed...

    with these commands in crontab -e

            • /usr/local/lsws/lsphp56/bin/php "/home/familiar.fashion/public_html/index.php" "fc=module&module=cron&controller=cron&token=NCGECLAM"
            • /usr/local/lsws/lsphp56/bin/env php "/home/familiar.fashion/public_html/index.php" "fc=module&module=cron&controller=cron&token=NCGECLAM"

    i dont know which one works but one works for sure

Sign In or Register to comment.
Support CyberPanel CyberPanel Discord

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!