私はすべてが皆さんとうまくいくことを願っています。テストボタンを押した後、私のPhpSlimをFitNesseで実行できないのはなぜですか?
私は、Gregor Gramlichのチュートリアルのhttp://ggramlich.github.io/phpslim/installation.htmlからhttp://ggramlich.github.io/phpslim/first_test.htmlに従っていました。私はそのチュートリアルからphpslim.pharを使用していました。そして、私はリリース20161106のFitNesseを使っていました。
私はテストボタンを押した後に問題があります。 FitNesseは警告を出します:
Unable to start test system 'slim': fitnesse.slim.SlimError: Got invalid slim header from client. Read the following:
次に、[実行ログ]ボタンをクリックしました。標準出力は私に説明を与える:
PHP Warning: socket_bind(): unable to bind address [13]: Permission denied in phar:///home/lubuntu/Documents/Time/phpslim.phar/PhpSlim/SocketService.php on line 14
PHP Fatal error: Uncaught exception 'PhpSlim_SlimError' with message 'socket_bind() failed: Permission denied' in phar:///home/lubuntu/Documents/Time/phpslim.phar/PhpSlim/Socket.php:135
Stack trace:
#0 phar:///home/lubuntu/Documents/Time/phpslim.phar/PhpSlim/SocketService.php(16): PhpSlim_Socket->raiseError('socket_bind() f...')
#1 phar:///home/lubuntu/Documents/Time/phpslim.phar/PhpSlim/SocketService.php(6): PhpSlim_SocketService->bind()
#2 phar:///home/lubuntu/Documents/Time/phpslim.phar/PhpSlim/Server.php(24): PhpSlim_SocketService->init()
#3 phar:///home/lubuntu/Documents/Time/phpslim.phar/PhpSlim.php(29): PhpSlim_Server->run('1')
#4 phar:///home/lubuntu/Documents/Time/phpslim.phar/index.php(4): PhpSlim::main(Array)
#5 /home/lubuntu/Documents/Time/phpslim.phar(9): include('phar:///home/lu...')
#6 {main}
thrown in phar:///home/lubuntu/Documents/Time/phpslim.phar/PhpSlim/Socket.php on line 135
私はFitNesseを起動するときにポート8070を使用していました。私はLubuntu 12.04、PHP 5.3、Java 1.7(OpenJDK 7)を使用していました。
この問題の解決方法を教えてください。
ありがとうございます。