I did dual php (5.2.17 and 5.3.x) and works fine with all http://website with additional .htaccess AddType directive.
But running cron job (php -f or -q /my-path/script.php) still execute php as 5.3
I have try /path-to-lsws/fcgi-bin/lsphp-5.2.17 -q but resulting an error :
-h giving me these :
which one of those usage above or any way methode that will help me to execute my cron job with lsphp52 ?
But running cron job (php -f or -q /my-path/script.php) still execute php as 5.3
I have try /path-to-lsws/fcgi-bin/lsphp-5.2.17 -q but resulting an error :
Code:
Could not open input file: /my-path/script.php
Code:
Usage: php
php -[b|c|n|h|i|q|s|v|?] [<file>] [args...]
Run in LSAPI mode, only '-b', '-s' and '-c' are effective
Run in Command Line Interpreter mode when parameters are specified
-b <address:port>|<port> Bind Path for external LSAPI Server mode
-c <path>|<file> Look for php.ini file in this directory
-n No php.ini file will be used
-h This help
-i PHP information
-l Syntax check
-q Quiet-mode. Suppress HTTP Header output.
-s Display colour syntax highlighted source.
-v Version number
-? This help