繁体   English   中英

在Windows中,我在哪里可以找到PhP目录?

[英]In Windows, where can I find the PhP directory?

我做了这个代码:

$privKey = openssl_pkey_new();  
    //define(INITIALCODE, "hello.com");
    $hello = openssl_error_string() ;
    $timenow=time();

$ hello的内容是错误:02001003:系统库:fopen:没有这样的进程

所以我搜索解决方案,它说我必须将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中吗? 什么?

搜索php.exe 它所在的目录应该添加到你的路径变量中。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM