My cronjob not working

Discussion in 'Bug Reports' started by newlitespeeduser, Jun 11, 2010.

  1. newlitespeeduser

    newlitespeeduser New Member

    Hi.I am trial user at the moment for litespeed.
    my cronjob working without problem when apache server active.
    but it is not working when i switched to liteserver.

    here is my cronjob code:
    [​IMG]

    i enjoyed litespeed but this cronjob problem really hurting me.please help
  2. mistwang

    mistwang LiteSpeed Staff

    should be a PHP issue, maybe extra PHP module is required for that script.
    compare phpinfo() page from LiteSpeed and Apache, make sure litespeed include all modules except Apache specific.
  3. newlitespeeduser

    newlitespeeduser New Member

    thanks for answer.how can i fix this? i need to mail cpanel?
  4. NiteWave

    NiteWave Administrator

  5. newlitespeeduser

    newlitespeeduser New Member

    yeah.i saw now.
    i could open/enter url from browser when i using apache server.

    but iam getting this error after switching to litespeed:

    Warning: file_put_contents(ache/iketler.php) [function.file-put-contents]: failed to open stream: Permission denied in /home/nsid/public_html/cheyaz.php on line 7

    line 7: file_put_contents("ache/iketler.php","<?php \n return " . var_export($iketler,true).";\n?>");

    i changed chmod to 777 but nothing changed. please help
    Last edited: Jun 12, 2010
  6. newlitespeeduser

    newlitespeeduser New Member

    please kindly help me :(
  7. NiteWave

    NiteWave Administrator

    most likely you haven't done "Build Matching PHP Binary" for litespeed.

    please follow or check
    http://www.litespeedtech.com/support/wiki/doku.php?id=litespeed_wiki:apache:ezcpanel
    "How to convert your cPanel server to LiteSpeed in 20 minutes"

    to see if you can resolve the issue yourself.

    Please note step 4: best to set "Port Offset" to non-zero, say 2000 or 5000 etc. before ensuring you've setup litespeed correctly. in this mode, lsws and apache are running in parallel --- apache listen to normal port 80, lsws listen to port 2080 or 5080.
  8. newlitespeeduser

    newlitespeeduser New Member

    i done it but problem continue..

    Warning: file_put_contents(ache/iketler.php) [function.file-put-contents]: failed to open stream: Permission denied in /home/nsid/public_html/cheyaz.php on line 7
  9. NiteWave

    NiteWave Administrator

    location of iketler.php?

    /home/nsid/public_html/ache/iketler.php?

    then check permission of /home/nsid/public_html/ache:
    Code:
    ls -ald /home/nsid/public_html/ache
    try to change it to 777
  10. newlitespeeduser

    newlitespeeduser New Member

    well.it is not about with 777 chmod.

    i fixed this problem after deleted my cronjob and created it again while using litespeed server.

    regards

Share This Page