私はこのコードを行いました:
$privKey = openssl_pkey_new();
//define(INITIALCODE, "hello.com");
$hello = openssl_error_string() ;
$timenow=time();
$hello の内容は error:02001003:system library:fopen:No such process です
解決策を検索すると、パスに PhP ディレクトリを追加する必要があると表示されます。
Go to Control Panel and open the System icon (Start -> Settings -> Control Panel -> System, or just Start -> Control Panel -> System for Windows XP/2003)
Go to the Advanced tab
Click on the ‘Environment Variables’ button
Look into the ‘System Variables’ pane
Find the Path entry (you may need to scroll to find it)
Double click on the Path entry
Enter your PHP directory ant the end, including ‘;’ before (e.g. ;C:\php)
Press OK and restart your computer
問題は、PHP ディレクトリとは何か、どこで見つけることができるかということです。それはphpmyinfoにありますか?何?