Php memory location access failure problem solution, php solution _ PHP Tutorial

Source: Internet
Author: User
Php memory location access error solution: php solution. Php memory location access failure problem solution, php solution configuration environment: Win2003SP2 + IIS6 + php5.26 + mysql5.0.51a + zend3.3a + PhpMyAdmin2.11.7.1PHP execution method: I php memory location access failure problem solution, php solution

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

Solution and steps for "invalid memory location access" errors: (some invalid debugging steps are skipped ..)

1. enable IIS errors. no error cause is found!

2. check for IIS Extensions. The ISAPI, php. ini, and Mysql configurations, and the corresponding installation directory ACLs permissions are all correct.

3. reclaim IIS process. the error still shows "invalid memory location access "....

4. open display_startup_errors = On in php. ini. The problem is finally found... (Note: If you open display_startup_errors of php. ini, if php has an error, a prompt will be displayed, and there will be a record in the event viewer. If it is set to display_startup_errors = Off, no prompt will be displayed)

V. Error Analysis

The code is as follows:

Warning
Cannot load module 'sqlite 'because required module 'pdo' is no loaded


The above error message was finally found. Probably because SQLite desktop database support is enabled in the php. ini configuration, but the related pdo mode is not enabled, the pdo module loading fails .....

6. the solution is also very simple. because the php_sqlite.dll file is not loaded when it is loaded, the system prompts that the access to the memory location is invalid when running the phpinfo () function. Find the php. ini configuration file and remove the semicolon before "; extension = php_pdo.dll". extension = php_sqlite.dll
Then, clear the IIS application pool process and solve the problem completely.


When a php webpage is opened, the system prompts that the access to the memory location is invalid.

Restart IIS.

Invalid memory location access

To maintain system stability, windows2003 does not allow access to the memory address occupied by the system (to prevent blue screen access ). If a program tries to access it, it will block it. the above prompt appears, which is generally caused by incorrect software installation.

The environment for configuring ingress is as follows: Win2003SP2 + IIS6 + php5.26 + mysql5.0.51a + zend3.3a + PhpMyAdmin2.11.7.1 PHP execution method: I...

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.