Menu

php backend

fox
2007-11-27
2013-01-15
  • fox

    fox - 2007-11-27

    I am a Mac user who is totally new to Linux.  I have been trying it out in a virtualized environment and I have Ubuntu 7.04 and Fedora 2007 running nicely.  I successfully installed rkward on both, but I can't get it to work.  I get the data menu all right, but when I try to input data and then run a function (e.g., regression), I get a php backend error message.  When I go to rkward settings/PHP backend, it asks me for the location of the PHP binary, which isn't the default it supplies.  I tried searching for something that resembled the default and that the setting would take, and in Fedora the closest I could find was "/usr/lib/php/modules/phpcups.so".  So I put that in.  That got me farther, to a "Fitting Linear Models" window, but I still got no output and got an error message, "The PHP backend died unexpectedly. The current output buffer is shown below:".  I would appreciate some help to get me through this - how can I locate whatever the program expects for PHP binary?  Or is there something I have to run to create it?

    Thanks in advance.

     
    • Johan Van de Wauw

      For ubuntu, you need a package called "php5-cli" (sudo apt-get install php5-cli). In that case you can just use /usr/bin/php as the executable.

      I don't use fedora myself, but from googling it seems the package name there is something similar to "php-cli-5.*"

       
      • fox

        fox - 2007-11-27

        Thanks for your reply.  Getting the php5-cli seems to have moved the process forward a bit on my Ubuntu installation.  (Haven't tried Fedora yet.)  Now I think I am missing something related to kde.  I wasn't sure how to get and install the KDE libraries (I'm using Gnome on both Ubuntu and Fedora), so I used the add/remove application and asked it to install anything that looked related to KDE libraries.  But now when I start up rkward, I get an error message, "Could not read network connection list /home/username/DCOPserver_username-desktop_0. Please check that "dcopter" program is running." [Note, I think it was dcopter program; I may have written it down wrong.]  Then it continues and I do get rkward started, but I get the following message: "Will not save configuration. Configuration file "/home/username/.kde/share/config/rkwardc" is not writable" and also"/home/username/.kde/share/config/globals" is not writable".  What do I do to overcome these problems?

         
MongoDB Logo MongoDB