• I’m the Unix guy trying to see whether I can upgrade PHP on our website. I don’t use WordPress. The WordPress guy is out for a few weeks. I downloaded the PHP Compatibility Checker, a zip file, unzipped it in the directory that has all the other WP plugins. When I try to run wp phpcompat 7.2 --scan=active I find out there is no executable named wp. When I go to the directory and run ./wpengine-phpcompat.php I get

    ./wpengine-phpcompat.php: line 1: ?php: No such file or directory
    ./wpengine-phpcompat.php: line 2: /aquota.group: Permission denied
    ./wpengine-phpcompat.php: line 3: error_log: command not found
    ./wpengine-phpcompat.php: line 4: error_log: command not found
    ./wpengine-phpcompat.php: line 5: error_log: command not found
    ./wpengine-phpcompat.php: line 6: error_log: command not found
    ./wpengine-phpcompat.php: line 7: error_log: command not found
    ./wpengine-phpcompat.php: line 8: error_log: command not found
    ./wpengine-phpcompat.php: line 9: error_log: command not found
    ./wpengine-phpcompat.php: line 10: error_log: command not found
    ./wpengine-phpcompat.php: line 11: error_log: command not found
    ./wpengine-phpcompat.php: line 12: error_log: command not found
    ./wpengine-phpcompat.php: line 13: error_log: command not found
    ./wpengine-phpcompat.php: line 14: error_log: command not found
    ./wpengine-phpcompat.php: line 15: error_log: command not found
    ./wpengine-phpcompat.php: line 16: php52/: is a directory
    ./wpengine-phpcompat.php: line 18: //: is a directory
    ./wpengine-phpcompat.php: line 19: syntax error near unexpected token `’ABSPATH”
    ./wpengine-phpcompat.php: line 19: `if ( ! defined( ‘ABSPATH’ ) ) {‘

    php wpengine-phpcompat.php returns nothing, seems to have done nothing; it completes immediately.

    Can I do what I want to do? I appreciate that this is a dumb question.

Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Running the php compatibility checker from the Linux command line’ is closed to new replies.