Opensuse11: Clip-bucket and php-cli


I wish to install Clip-bucket in my local machine, that is a Youtube clone; I have correctly installed LAMP through Yast, and it is working OK, i’ve tested it and works… but when I place the Clip-Bucket or PHPMotion, I only get blank Pages, I think it is because those scripts need PHP-Cli, but i don’t know if it is running or how to enable it if not.

I am using Opensuse 11, PHP5, Mysql5.

Here is a part of my phpinfo()

PHP Version 5.2.6

System Linux linux-nr7h #1 SMP 2008-06-07 01:55:22 +0200 i686
Build Date Jun 25 2008 19:15:52
Configure Command ‘…/configure’ ‘–prefix=/usr’ ‘–datadir=/usr/share/php5’ ‘–mandir=/usr/share/man’ ‘–bindir=/usr/bin’ ‘–with-libdir=lib’ ‘–includedir=/usr/include’ ‘–sysconfdir=/etc/php5/apache2’ ‘–with-config-file-path=/etc/php5/apache2’ ‘–with-config-file-scan-dir=/etc/php5/conf.d’ ‘–enable-libxml’ ‘–enable-session’ ‘–with-mm’ ‘–with-pcre-regex=/usr’ ‘–enable-xml’ ‘–enable-simplexml’ ‘–enable-spl’ ‘–enable-filter’ ‘–disable-debug’ ‘–enable-inline-optimization’ ‘–disable-rpath’ ‘–disable-static’ ‘–enable-shared’ ‘–program-suffix=5’ ‘–with-pic’ ‘–with-gnu-ld’ ‘–with-system-tzdata=/usr/share/zoneinfo’ ‘–with-apxs2=/usr/sbin/apxs2’ ‘–disable-all’ ‘–disable-cli’
Server API Apache 2.0 Handler
Virtual Directory Support disabled
Configuration File (php.ini) Path /etc/php5/apache2
Loaded Configuration File /etc/php5/apache2/php.ini
Scan this dir for additional .ini files /etc/php5/conf.d
additional .ini files parsed /etc/php5/conf.d/bz2.ini, /etc/php5/conf.d/ctype.ini, /etc/php5/conf.d/dom.ini, /etc/php5/conf.d/gd.ini, /etc/php5/conf.d/hash.ini, /etc/php5/conf.d/iconv.ini, /etc/php5/conf.d/json.ini, /etc/php5/conf.d/mbstring.ini, /etc/php5/conf.d/mcrypt.ini, /etc/php5/conf.d/mysql.ini, /etc/php5/conf.d/mysqli.ini, /etc/php5/conf.d/pdo.ini, /etc/php5/conf.d/pdo_mysql.ini, /etc/php5/conf.d/pdo_sqlite.ini, /etc/php5/conf.d/sqlite.ini, /etc/php5/conf.d/tokenizer.ini, /etc/php5/conf.d/xmlreader.ini, /etc/php5/conf.d/xmlwriter.ini, /etc/php5/conf.d/zlib.ini
PHP API 20041225
PHP Extension 20060613
Zend Extension 220060519
Debug Build no
Thread Safety disabled
Zend Memory Manager enabled
IPv6 Support enabled
Registered PHP Streams php, file, data, http, ftp, compress.bzip2, compress.zlib
Registered Stream Socket Transports tcp, udp, unix, udg
Registered Stream Filters string.rot13, string.toupper, string.tolower, string.strip_tags, convert., consumed, bzip2., convert.iconv., zlib.

This server is protected with the Suhosin Patch
Copyright (c) 2006 Hardened-PHP Project

This program makes use of the Zend Scripting Language Engine:
Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies

PHP Credits
PHP CoreDirective Local Value Master Value
allow_call_time_pass_reference Off Off
allow_url_fopen On On
allow_url_include Off Off
always_populate_raw_post_data Off Off
arg_separator.input & &
arg_separator.output & &
asp_tags Off Off
auto_append_file no value no value
auto_globals_jit On On
auto_prepend_file no value no value
browscap no value no value
default_charset no value no value
default_mimetype text/html text/html
define_syslog_variables Off Off
disable_classes no value no value
disable_functions no value no value
display_errors Off Off
display_startup_errors Off Off
doc_root no value no value
docref_ext no value no value
docref_root no value no value
enable_dl On On
error_append_string no value no value
error_log no value no value
error_prepend_string no value no value
error_reporting 6143 6143
expose_php On On
extension_dir /usr/lib/php5/extensions /usr/lib/php5/extensions
file_uploads On On #FFFFFF #FFFFFF
highlight.comment #FF8000 #FF8000
highlight.default #0000BB #0000BB
highlight.html #000000 #000000
highlight.keyword #007700 #007700
highlight.string #DD0000 #DD0000
html_errors Off Off
ignore_repeated_errors Off Off
ignore_repeated_source Off Off
ignore_user_abort Off Off
implicit_flush Off Off
include_path .:/usr/share/php5:/usr/share/php5/PEAR .:/usr/share/php5:/usr/share/php5/PEAR
log_errors On On
log_errors_max_len 1024 1024
magic_quotes_gpc Off Off
magic_quotes_runtime Off Off
magic_quotes_sybase Off Off
mail.force_extra_parameters no value no value
max_execution_time 1500 1500
max_input_nesting_level 64 64
max_input_time 60 60
memory_limit 128M 128M
open_basedir no value no value
output_buffering 4096 4096
output_handler no value no value
post_max_size 100M 100M
precision 14 14
realpath_cache_size 16K 16K
realpath_cache_ttl 120 120
register_argc_argv Off Off
register_globals Off Off
register_long_arrays Off Off
report_memleaks On On
report_zend_debug On On
safe_mode Off Off
safe_mode_exec_dir no value no value
safe_mode_gid Off Off
safe_mode_include_dir no value no value
sendmail_from no value no value
sendmail_path /usr/sbin/sendmail -t -i /usr/sbin/sendmail -t -i
serialize_precision 100 100
short_open_tag On On
SMTP localhost localhost
smtp_port 25 25
sql.safe_mode Off Off
suhosin.log.phpscript 0 0
suhosin.log.phpscript.is_safe Off Off no value no value
suhosin.log.sapi no value no value
suhosin.log.script no value no value no value no value
suhosin.log.syslog no value no value
suhosin.log.syslog.facility no value no value
suhosin.log.syslog.priority no value no value
suhosin.log.use-x-forwarded-for Off Off
track_errors Off Off
unserialize_callback_func no value no value
upload_max_filesize 100M 100M
upload_tmp_dir /tmp /tmp
user_dir no value no value
variables_order GPCS GPCS
xmlrpc_error_number 0 0
xmlrpc_errors Off Off
y2k_compliance On On
zend.ze1_compatibility_mode Off Off

PHP cli is what comes in package “php5” , after installing it, you must execute php -v in the command line and see

php -v
PHP 5.2.x with Suhosin-Patch 0.9.6.x (cli) (built: <month> <day> <year> <h>:<m>:<s>)