Copyright © 2011 Kaltura Inc.
All Rights Reserved. Designated trademarks and brands are the property of their respective owners.
Use of this web site constitutes acceptance of the Terms of Use and Privacy Policy.
EduVideo.org
Hi all,
I have downloaded the kalturaCE in order to install it on my server.
I have check all pre configuration setting and I have installed php-cli.
If I type "php -v" I obtain the correct answer
PHP 5.2.12 (cli) (built: Jan 2 2010 22:45:42)
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies
If I type "echo $PATH" this is the output
/usr/local/mysql/bin:/usr/local/php/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
I have rebooted apache and also the entire server in order to be sure that environment variables was available.
My problem is that the installation process report "Errors found - see details below:"
You must have php-cli. This is required in order to run batch jobs, etc.
Please install php-cli and make sure that php executable is in PATH
WINDOWS users - after adding php executable to the PATH, you will need to restart
your computer in order for the changes to take effect.
what could be my problem?
Many thanks
regards
Marco Balcon
Hi,
I use
sudo /usr/local/apache2/bin/apachectl start
in order to start apache so I think the user involved is root
if I run "sudo -s" and next "echo $PATH" i obtain
/usr/local/mysql/bin:/usr/local/php/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin
About php version: I have download the last 5.2.x version so I think 5.2.12 > 5.5.2 are not ?
Thanks.
Marco
Using sudo -s is indeed the root user.
The thing is that when browsing to the installation script of CE, the user that performs the actions is the apache user (called apache or www-data, in some systems ot might be called 'httpd').
The question is if the PHP is executable in $PATH for the apache user.
Can you check that (using su apache; echo $PATH; OR su www-data; echo $PATH;)?
Regarding the version - you are correct. My mistake.
Thanks
ok,
I think the apache user is daemon.
su - daemon
$ echo $PATH
the output is
/usr/local/bin:/usr/bin:/bin:/usr/games
that in effect do not contain the php path.
How I can set the correct path for daemon user? I use ubuntu system.
Thanks
Marco
I have found the solution:
edit the file
/usr/local/apache2/bin/envvars
and set the path variable.
Now install script recognize php-cli.
Thanks for support,
Marco
Can you run $PATH on the apache user (apache or www-data) and post the results here?
(run: su apache; echo $PATH; OR su www-data; echo $PATH;)