Listing 1. Contents of php.ini file.
清单1. php . ini文件的内容。
Listing 4. Settings for php.ini file.
清单4. php . ini文件的设置。
检查您的php . ini文件。
Copy that file to a file called php.ini.
将该文件复制到名为php . ini的文件中。
You set all directives in the php.ini file.
可在php.ini 文件中设置所有指令。
Table 1. Resource related Settings in php.ini.
表1 . php . ini中与资源相关的设置。
The value may differ, but /usr/local/lib/php.ini
值可能会有些变化,但 /usr/local/lib/php.ini 是大多数 UNIX?
To load and apply the extension, you must edit php.ini.
要加载并应用扩展,您必须编辑php.ini。
The section should also reflect the Settings of php.ini.
这一节还应该反映php . ini的设置。
File. To demonstrate, I add this line to the php.ini file.
为了说明,我将下列代码行添加到php . ini文件中。
There are many configuration Settings in the php.ini file.
ini文件中有许多配置设置。
Open php.ini in a text editor, and add the following lines.
在文本编辑器中打开 php.ini,并添加以下代码行。
The PHPinfo tab displays information from the php.ini file.
PHPinfo选项卡显示来自php.ini 文件的信息。
To activate PDO, add the following two lines to your php.ini file.
为了激活pdo,将下面两行添加到php . ini文件。
The Zend Debugger is a Zend extension and must be enabled in php.ini.
ZendDebugger是一个 Zend扩展,必须在 php.ini 中启用它。
The loadable extensions directory is specified inside the php.ini file.
可加载的扩展名目录是在php.ini 文件中指定的。
In the c: \ PHP folder, you will find a file named php.ini-recommended.
在c: \php文件夹,您可以找到一个名为php . ini - recommended的文件。
You need to activate the driver by adding it to your php.ini file as well.
您需要将驱动程序添加到php . ini文件中,从而激活驱动程序。
Copy this file and paste it into the same folder, but rename it to php.ini.
复制这个文件并粘贴到同一个文件夹中,但将其重命名为php . ini。
In php.ini, make sure that the following values are set for these two keys.
在php . ini中,要确保为这两个键值设置为以下的参数值。
Open your php.ini file in your favorite text editor, then add the following
在您喜欢的文本编辑器中打开php.ini文件,然后添加以下代码
Listing 4 shows all the relevant Settings for Xdebug for your php.ini file.
清单4显示了php . ini文件的Xdebug的所有相关设置。
As with dumps, Xdebug has several php.ini options to customize what is traced.
同转储一样,Xdebug有若干个php . ini选项用于自定义跟踪内容。
Copy c: \ PHP \ php.ini-dist to c: \ PHP \ php.ini and open it with an editor.
将c: \php \ php . ini - dist复制到c: \ php \ php . ini,然后用编辑器将其打开。
The other change needed in the php.ini file is the definition of the PDO extension.
还需要在php . ini文件中更改pdo扩展名的定义。
PHP calls MINIT method of each extension, which is being enabled. View your php.ini.
PHP调用各个扩展的MINIT方法,从而使这些扩展切换到可用状态。
The top section of the output will have a row listing where PHP is looking for php.ini
输出的上面部分有一行列出了PHP查找 php.ini 的位置
This option specifies where you want PHP to look for php.ini, the PHP configuration file.
该选项指定您希望php在哪里查找php配置文件php . ini。
Next, look for a file called php.ini-recommended under the location where you unzipped PHP.
接着,在您解压PHP 的位置上查找名为php.ini-recommended的文件。
Save those Settings (or something akin) to your php.ini file, then restart your Web server.
将这些设置(或类似的内容)保存到php . ini文件中,然后重新启动Web服务器。
应用推荐