|
Posted by Robin on 01/09/06 04:35
Hi:
I am running PHP 4.3.10 (cli) (built: Dec 11 2005 17:38:29) on SuSe 9.3 - and am having some problems getting some scripts running.
php was compiled (by Suse) with:
Configure Command => './configure' '--prefix=/usr' '--datadir=/usr/share/php' '--mandir=/usr/share/man' '--bindir=/usr/bin' '--libdir=/usr/share' '--includedir=/usr/include' '--sysconfdir=/etc' '--with-_lib=lib' '--with-config-file-path=/etc' '--with-exec-dir=/usr/lib/php/bin' '--disable-debug' '--enable-inline-optimization' '--enable-memory-limit' '--enable-magic-quotes' '--enable-safe-mode' '--enable-sigchild' '--disable-ctype' '--disable-session' '--without-mysql' '--disable-cli' '--without-pear' '--with-openssl' '--enable-force-cgi-redirect' '--enable-discard-path' '--enable-cli' '--with-pear' 'i586-suse-linux'
(unrelated question - why have --enable-cli and --disable-cli?)
And I have safe mode off in php.ini,
safe_mode = Off
which is verified by a phpinfo();
safe_mode => Off => Off
However, the script should run from a cvs commit (the CVSROOT/logginfo
# BEGIN added by gforge-plugin-cvstracker
ALL ( php -q -d include_path=.:/opt/gforge/gforge:/opt/gforge/gforge/www/include:/etc/gforge /opt/gforge/gforge/plugins//cvstracker/bin/post.php %r %p %{sVv} )
# END added by gforge-plugin-cvstracker
And in /opt/gforge/gforge/plugins//cvstracker/bin/post.php, the code:
echo "safemode ";
echo ini_get('safe_mode');
Displays : "safemode 1"
I have tried the same thing from the command line, and the only way I can make it the same, is to add the "-n" flag.
Any thoughts or pointers?
Thanks
-Robin
Navigation:
[Reply to this message]
|