2017-05-02 18 views
0

私はこの問題に直面していましたが、PHP :: Interpreterをstrawverry perlのcpanクライアントにインストールしています。strawberry perlのPHP :: Interpreterモジュールのインストールに関する問題を解決しました


cpan> install PHP::Interpreter 
Database was generated on Tue, 02 May 2017 06:44:13 GMT 

Running install for module 'PHP::Interpreter' 
Checksum for C:\STRAWB~1\cpan\sources\authors\id\A\AF\AFF\PHP-Interpreter-1.0.2.tar.gz ok 
Scanning cache C:\STRAWB~1\cpan\build for sizes 
............................................................................DONE 
Configuring A/AF/AFF/PHP-Interpreter-1.0.2.tar.gz with Makefile.PL 
using php_config 'php-config' 
'php-config' is not recognized as an internal or external command, 
operable program or batch file. 
Failed to find the 'php-config' executable. Make sure you have PHP and PHP sources installed, and that 'php-config' is in PATH. at Makefile.PL line 55. 
Warning: No success on command[C:\Strawberry\perl\bin\perl.exe Makefile.PL] 
    AFF/PHP-Interpreter-1.0.2.tar.gz 
    C:\Strawberry\perl\bin\perl.exe Makefile.PL -- NOT OK 
Stopping: 'install' failed for 'PHP::Interpreter'. 
Failed during this command: 
AFF/PHP-Interpreter-1.0.2.tar.gz    : writemakefile NO 'C:\Strawberry\perl\bin\perl.exe Makefile.PL' returned status 256 

上記の問題を解決する私を助けにも再びそれをインストールしようとした


cpan> install PHP::Interpreter 
Running install for module 'PHP::Interpreter' 
    AFF/PHP-Interpreter-1.0.2.tar.gz 
    Has already been unwrapped into directory C:\STRAWB~1\cpan\build\PHP-Interpreter-1.0.2-1 
    AFF/PHP-Interpreter-1.0.2.tar.gz 
    'C:\Strawberry\perl\bin\perl.exe Makefile.PL' returned status 256, not re-running 

cpan> 

下に示すように、同様のエラーを得ました。

ありがとうございます!モジュールが破損していることを

よろしく、

Shreeram

答えて

1

。代替案を見つける。

2008年以降に更新されておらず、現在のバージョンのPHPとの互換性もなくなりました。

+0

ありがとうございました。しかし、PHP(フロントエンドコード)とPerl(バックエンドコード)の間でコードを統合するのに役立つ他のモジュールはありますか?本当に素晴らしい助けになるでしょう:-) –

関連する問題