Home > Backend Development > PHP Tutorial > Solution to the problem of invalid memory location access error in php, php solution_PHP tutorial

Solution to the problem of invalid memory location access error in php, php solution_PHP tutorial

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-07-13 10:20:47
Original
844 people have browsed it

Solution to the problem of invalid memory location access error in php, php solution

The configuration environment is as follows:
Win2003SP2+IIS6+php5.26+mysql5.0.51a+zend3.3a+PhpMyAdmin2.11.7.1 PHP execution mode: isapi. Mysql is installed manually.

About "Invalid memory location access" error solutions and steps: (Some partially invalid debugging steps are skipped..)

1. Turn on the error display of IIS, but no cause of the error was found!

2. Check the IIS extension, ISAPI, php.ini and Mysql configurations as well as the corresponding installation directory ACLs permissions, all are correct.

3. Recycle the IIS process, the error still appears "Invalid memory location access"....

4. Turn on display_startup_errors = On in php.ini, and the problem is finally discovered... (Note: If you turn on display_startup_errors in php.ini, if there is an error in php, it will prompt, and in the event viewer There are records. If set to display_startup_errors = Off, there will be no prompt)

5. Error Analysis

Copy code The code is as follows:
Warning
Cannot load module ‘SQLite’ because required module ‘pdo’ is no loaded

The above error message was finally discovered. The general meaning is that the support for SQLite desktop database is enabled in the php.ini configuration, but the related pdo mode is not enabled, and the pdo module fails to load...

6. The solution is also very simple. Because the php_sqlite.dll is not loaded into the php_pdo.dll file, the memory location access is invalid when running the phpinfo() function. Find the php.ini configuration file, and then remove the semicolon in front of ";extension=php_pdo.dll", extension=php_sqlite.dll
Then recycle the IIS application pool process and the problem is completely solved.

When opening the php web page, it prompts that the memory location access is invalid

Just restart IIS.

Invalid memory location access

In order to maintain the stability of the system, windows2003 does not allow access to the memory address occupied by the system itself (to prevent blue screens). If a program attempts to access it, it will be blocked and the above prompt will appear. This is usually caused by incorrect installation of the software.

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/864931.htmlTechArticleSolution to the problem of invalid memory location access error in php. The php solution configuration environment is as follows: Win2003SP2+IIS6+php5. 26+mysql5.0.51a+zend3.3a+PhpMyAdmin2.11.7.1 PHP execution method: i...
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Issues
php data acquisition?
From 1970-01-01 08:00:00
0
0
0
PHP extension intl
From 1970-01-01 08:00:00
0
0
0
How to learn php well
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template