Skip to main content

Could not open input file:

Comments

3 comments

  • 24x7server
    Hi, What output do you get without safemode? Can you share a screenshot of the error? /usr/local/bin/php -q /home/rankingsolution/public_html/my.php
    0
  • cPanelMichael
    Hello, You must use the "d" flag to define PHP environment variables when calling it via the command line. EX:
    /usr/bin/php -q -d safe_mode=Off /path/to/test.php
    Keep in mind the "safe mode" option is removed as of PHP 5.4: PHP: Safe Mode - Manual Thank you.
    0
  • ammad
    Thanks for asking but problem has been solved.
    0

Please sign in to leave a comment.