2.2: Configuring the Environment PHP.ini
Phpinfo ();
Open MySQL database to do the following
Both 1 and 2 are operational.
Mysql
[Operation version ....]
Ini
618 rows
Extension=php_mysql.dll
Restart Apache
Precautions:
1:php Extended Directory Write error
Extension_dir = "F:/dev/php/ext"
99% no problem.
There's one more option.
2: Modify Apache configuration file
F:/dev/apache/conf/httpd.conf
PHP Configuration Items
LoadFile ' F:/dev/php/libmysql.dll '
//-----------------------------
If you configure the MySQL function library
Phpinfo ();
php.ini File Location Error
Loaded Configuration File:
F:\dev\php\php.ini
The following two states appear
No value
‘‘
Wrong configuration.
Apache/conf/httpd.conf
Phpinidir "f:/dev/php"
No MySQL entries in 1:phpinfo ()
Error Reason: Project open error
Extension=php_msql.dll
; Extension=php_mysql.dll *
No MySQL entries in 2:phpinfo ()
Error Reason: spelling error
Extension_dir = "F:/div/php/ext"
"F:/dev/php/ext"
Session configuration information
Ini
Session.save_handler = Files
; Session.save_path = "/tmp"
Session File Save path
Default C:/windows/temp
PHP Graphics Functions GD
Modify configuration options
Ini
; extension = Php_gd2.dll
PHP Related Configuration