Hi,
I get the following errors when trying to run cupid.php script.
/cupid.php: line 1: ?: No such file or directory
./cupid.php: line 3: /aquota.group: Permission denied
./cupid.php: line 4: cmd.php: command not found
./cupid.php: line 5: cmd.php: command not found
./cupid.php: line 6: cmd.php: command not found
./cupid.php: line 7: syntax error near unexpected token `('
./cupid.php: line 7: `* copyright : (C) 2006 BoonEx Group'
The same errors occur for cmd.php and notifies.php
I am running PHP5, unix apache plesk cp
php.ini seems to be correct safe_mode off, register_globals off, allow_url_fopen on, I am not sure about exec but if run the script below:-
<?php
echo "<br/><b>PHP INI settings</b><br/>";
echo "<br>safe mode = ".ini_get('safe_mode');
echo "<br>disabled functions = ".ini_get('disable_functions');
echo "<br>register globals = ".ini_get('register_globals');
echo "<br>exec() = ".ini_get('exec()');
echo "<br>max execution time = ".ini_get('max_execution_time');
echo "<br>post_max_size = ".ini_get('post_max_size');
echo "<br>upload max filesize = ".ini_get('upload_max_filesize');
echo "<br/><br/><b>ffmpeg output</b><pre>";
$s = realpath("ray/modules/global/app/ffmpeg.exe");
echo `$s -version 2>&1`;
?>
It returns the following values:-
PHP INI settings
safe mode = 0
disabled functions =
register globals =
exec() =
max execution time = 30
post_max_size = 8M
upload max filesize = 2M
ffmpeg output
FFmpeg version SVN-r10832, Copyright (c) 2000-2007 Fabrice Bellard, et al.
configuration: --enable-libmp3lame --enable-libxvid --enable-libx264 --enable-gpl --enable-libvorbis --enable-libogg --enable-libtheora --enable-liba52 --enable-libamr-nb --enable-libamr-wb --enable-libfaad --enable-libfaac --enable-pthreads --disable-shared --enable-static
libavutil version: 49.5.0
libavcodec version: 51.46.1
libavformat version: 51.16.1
built on Oct 22 2007 21:09:01, gcc: 3.4.5 (Gentoo 3.4.5, ssp-3.4.5-1.0, pie-8.7.9)
FFmpeg SVN-r10832
libavutil 3212544
libavcodec 3354113
libavformat 3346433
any ideas