search
HomeBackend DevelopmentPHP ProblemHow to solve the problem that php cannot locate the input point

Solution to the problem that php cannot locate the input point: 1. Copy the "php_memcached.dll" file to php and the ext file; 2. Modify "php.ini" and add the content "extension=php_memcache. dll"; 3. Rename the php file.

How to solve the problem that php cannot locate the input point

Recommended: "PHP Video Tutorial"

Solution: PHP cannot locate the program input point in the dynamic Link library

The root cause is the problem of php reinstallation.

The process of making mistakes: The process is very painful!

It's quite OK when running locally. It runs quickly. Once on the server, it's gone. It's still a windows server.

The mistake at the beginning was that it stopped as soon as it reached memcache.

Is it a memcache problem?

Start copying the php_memcached.dll file to php and the ext file, then change php.ini and add extension=php_memcache.dll

This is a memcache test

//1.实例化一个Memcache对象
        $mem=new Memcache;
        //2. 连接到指定的memcache中
        $mem->connect("127.0.0.1",11211);
        //放入数组
        $arr = array('北京','天津');
        //$arr = serialize($arr);
        if(!$mem->add('arr',$arr,0,10)){
            //print_r(json_encode($arr));
            echo '数组已经在memcache中';
        }else{
            echo '加入成功';
        }
$arr = $mem->get('arr');

It can be passed normally on the web page. Why does it stop when running in the bat file? Reinstall the xampp environment and run php test.php again and the error starts to appear.

php cannot locate the program input point in the dynamic link library

Check Information: It says that copying the error file to C:\WINDOWS\system32 does not help. 、

Check again. Some people say it is because they have installed more PHP. That is not the same as me. Well

A separate PHP in a xampp environment.

OK, just rename the single PHP file and everything will be fine.

The above is the detailed content of How to solve the problem that php cannot locate the input point. For more information, please follow other related articles on the PHP Chinese website!

Statement
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 AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

WebStorm Mac version

WebStorm Mac version

Useful JavaScript development tools

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

VSCode Windows 64-bit Download

VSCode Windows 64-bit Download

A free and powerful IDE editor launched by Microsoft

PhpStorm Mac version

PhpStorm Mac version

The latest (2018.2.1) professional PHP integrated development tool

EditPlus Chinese cracked version

EditPlus Chinese cracked version

Small size, syntax highlighting, does not support code prompt function