New user here, trying to get RKWard working on Windows Vista.
Had R (2.9) already. Installed KDE (4.3) and php (5.3) as instructed here: http://rkward.sourceforge.net/ (RKWard on Windows page)
Ran the RKWard installer and it seemed to work - the program opens at least - so far so good. But when I try to click on one of the pull-down menus, I get a pop-up error message:
"The PHP backend could not be started. Check whether you have correctly configured the location of the PHP-binary (Settings->Configure Settings->PHP backend)"
I look in the settings, and the PHP backend location just says "php". Any idea what I need to change this to? I've tried changing it to C:\Program Files\PHP with no success.
In the PHP installation instructions, it said "On the Components page, you need to select Program/CLI Executable". I could find no such page or option - the closest I could see was a "Script Executable" option on the "Choose Items to Install" page, which I selected to install. Could this have anything to do with the problem?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
You are looking for a php.exe, and you'd specify the whole path to that (i.e. c:\Program Files\PHP\php.exe). That *should* work, but please let us know, if it does not.
Alternatively, modify your %PATH% so that it contains the PHP-directory. Then, the default setting of "php" should be good enough.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
New user here, trying to get RKWard working on Windows Vista.
Had R (2.9) already. Installed KDE (4.3) and php (5.3) as instructed here:
http://rkward.sourceforge.net/ (RKWard on Windows page)
Ran the RKWard installer and it seemed to work - the program opens at least - so far so good. But when I try to click on one of the pull-down menus, I get a pop-up error message:
"The PHP backend could not be started. Check whether you have correctly configured the location of the PHP-binary (Settings->Configure Settings->PHP backend)"
I look in the settings, and the PHP backend location just says "php". Any idea what I need to change this to? I've tried changing it to C:\Program Files\PHP with no success.
In the PHP installation instructions, it said "On the Components page, you need to select Program/CLI Executable". I could find no such page or option - the closest I could see was a "Script Executable" option on the "Choose Items to Install" page, which I selected to install. Could this have anything to do with the problem?
You are looking for a php.exe, and you'd specify the whole path to that (i.e. c:\Program Files\PHP\php.exe). That *should* work, but please let us know, if it does not.
Alternatively, modify your %PATH% so that it contains the PHP-directory. Then, the default setting of "php" should be good enough.
Yep, that seems to work now - many thanks for the speedy response!
FYI, my system "Path" variable already included the PHP directory (I assume this was done automatically in the PHP installation).