Installation FAQ and known problems

  • Q: Why am I getting an error about php-cli not found ?
    A: Install php-cli (sudo apt-get install php5-cli).
    (On XAMPP installation you should have php5-cli enabled by default).
  • Q: I get messages saying the permissions are not right, what should I do ?
    A: Run kalturaCE/install/fixperms.sh with the user owner of the web root directory (or use sudo kalturaCE/install/fixperms.sh).
  • Q: How do I install memcache ?
    A: Run the command: apt-get install memcached php5-memcache
    edit the file: /etc/php5/conf.d/memcache.ini
    uncomment the line: ;extension=memcache.so (By removing the ";" from the start).
    Restart apache (usualy by running the following command with root user: /etc/init.d/apache2 restart).
  • Q: How do I install libcURL ?
    A: sudo apt-get install curl libcurl3 libcurl4-openssl-dev php5-curl
    Restart apache.
    (On XAMPP installation you should have libcURL enabled by default).
  • Q: How do I install and enable Mod_Rewrite ?
    A: Run the following command with root user: a2enmod rewrite
    Restart apache.
    (On XAMPP installation you should have Mod_Rewrite enabled by default).
  • Q: Why isn't my KCW webcam working? / I have a streaming server (Red5/FMS/Wowza) installed, and I would like to enable recording from the KCW - what should I do ?
    A: Follow the following steps:

    • Create a symbolic link from the streams directry (the folder that is customized in the streaming server to save recorded streams to, on Red5 you can use: red5/webapps/oflaDemo) to the webcam folder in the kalturaCE (/kalturaCE/content/webcam).
    • Change the kcw uiConf (for the sample implementation: content/uiconf/kaltura/samplekit/kcw_2.6.4/kcw_samplekit.xml) to add the webcam UI:
      <provider id="webcam" name="webcam" code="2">
              <authMethodList>
                      <authMethod type="1" />
              </authMethodList>
              <moduleUrl>WebcamView.swf</moduleUrl>
              <customData>
                      <serverUrl>rtmp://{HOST_NAME}/oflaDemo</serverUrl>
              </customData>
      </provider>
    • Change the <serverUrl>...</serverUrl> tag value to the url of the recording application on your Streaming server (you can use {HOST_NAME} to use the KalturaCE server domain).