Table of Contents
Solution to the problem of invalid memory location access error in php, php solution
When opening the php web page, it prompts that the memory location access is invalid
Invalid memory location access
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

Jul 13, 2016 am 10:20 AM
php Memory

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...
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

Hot Article Tags

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

PHP 8.4 Installation and Upgrade guide for Ubuntu and Debian PHP 8.4 Installation and Upgrade guide for Ubuntu and Debian Dec 24, 2024 pm 04:42 PM

PHP 8.4 Installation and Upgrade guide for Ubuntu and Debian

CakePHP Date and Time CakePHP Date and Time Sep 10, 2024 pm 05:27 PM

CakePHP Date and Time

CakePHP Project Configuration CakePHP Project Configuration Sep 10, 2024 pm 05:25 PM

CakePHP Project Configuration

Sources say Samsung Electronics and SK Hynix will commercialize stacked mobile memory after 2026 Sources say Samsung Electronics and SK Hynix will commercialize stacked mobile memory after 2026 Sep 03, 2024 pm 02:15 PM

Sources say Samsung Electronics and SK Hynix will commercialize stacked mobile memory after 2026

CakePHP File upload CakePHP File upload Sep 10, 2024 pm 05:27 PM

CakePHP File upload

CakePHP Routing CakePHP Routing Sep 10, 2024 pm 05:25 PM

CakePHP Routing

Discuss CakePHP Discuss CakePHP Sep 10, 2024 pm 05:28 PM

Discuss CakePHP

CakePHP Quick Guide CakePHP Quick Guide Sep 10, 2024 pm 05:27 PM

CakePHP Quick Guide

See all articles