SSH2 with PHP4

Hello,

I have installed openSSL and libSSH2. Now i found this in my phpinfo

Registered PHP Streams php, http, ftp, https, ftps, compress.bzip2, compress.zlib, ssh2.shell, ssh2.exec, ssh2.tunnel, ssh2.scp, ssh2.sftp

So i seems to work, but when i’m trying my gamepanel i got a BLANK page. What is the problem? Can somebody help me?

Thanks :wink:

Set your php error_log variable to valid path & file … that way you’ll be able to see the errors in the log.

Sorry for the delay but this is the error

[25-May-2007 21:57:33] PHP Parse error: syntax error, unexpected ‘{’ in /chroot/home/xxxxxxxxx/xxxxxx/html/gamepanel/pages/servers.php on line 206

I got this panel to on my reseller account, there it works. but there i got php5, and the scripter says it must work to with php4.

I have re-installed ssh2 on PHP-4.4.4 and it must work. but still page is blank.

That error message means there is a bug in the PHP code itself. Start looking around line 206 or earlier for any syntax errors or typos in the code in that file.

But the same gamepanel files, works on another server, on my reseller plan. only the different is that the server has PHP5 and this server PHP4.4.4

Maybe the script works only at PHP5 and not also to PHP4.4.4 what the scripter says ?

Ah yeah, if you’re trying to run a PHP5 script in PHP4, this could cause error messages like you are seeing.

Ok, thanks for help but i got now another controlpanel, and that works fine.