Table of Contents
回复讨论(解决方案)
Home Backend Development PHP Tutorial 新装了windows2012后,file_get_contents,cul均无法使用!

新装了windows2012后,file_get_contents,cul均无法使用!

Jun 23, 2016 pm 01:13 PM

让机房新装了服务器操作系统windows2012,发现file_get_contents无法使用,检查了PHP.ini均正确。后采用cul方法,但超时严重,基本都是10秒!!!
怀疑机房配置的时候有问题,又请机房做了系统,未做任何配置。自己远程做配置,本地也同时配。只做了最基本的IIS和PHP配置,但file_get_contents仍然是无法使用,而换用cul方法依然严重超时。但,本地的却非常正常!
机房技术表示很无奈,求解!


回复讨论(解决方案)

补充:原来服务器使用的是windows2008 R2一切正常!

round print
看看路由表中是否有环

php 应用与操作系统相配套的版本

round print
看看路由表中是否有环

php 应用与操作系统相配套的版本



PHP版本32位5.3.9和64位5.6.19,表现一样。
托管机房,难道换个系统,路由表就变了?~貌似应该不会。

round print 看到的是操作系统内部的路由表,自然换个系统就不一样的

困惑中!...

最后没有找到原因,还是用回windows2008 R2

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

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)

How to solve PHP Warning: file_get_contents(): Filename cannot be empty How to solve PHP Warning: file_get_contents(): Filename cannot be empty Aug 18, 2023 pm 07:30 PM

How to solve PHPWarning: file_get_contents(): Filenamecannotbeempty In the process of PHP development, we often encounter this error message: PHPWarning: file_get_contents(): Filenamecannotbeempty. This error usually occurs when using the file_get_contents function

如何解决PHP Warning: file_get_contents(): failed to open stream: HTTP request failed 如何解决PHP Warning: file_get_contents(): failed to open stream: HTTP request failed Aug 18, 2023 pm 11:34 PM

How to solve PHPWarning:file_get_contents():failedtoopenstream:HTTPrequestfailed During PHP development, we often encounter situations where HTTP requests are initiated to remote servers through the file_get_contents function. However, sometimes we encounter a common error message: PHPWarning: file_get_c

Detailed explanation of PHP file caching functions: file caching processing methods of file_get_contents, file_put_contents, unlink and other functions Detailed explanation of PHP file caching functions: file caching processing methods of file_get_contents, file_put_contents, unlink and other functions Nov 18, 2023 am 09:37 AM

Detailed explanation of PHP file caching functions: file caching processing methods of file_get_contents, file_put_contents, unlink and other functions, which require specific code examples. In web development, we often need to read data from files or write data to files. Moreover, in some cases, we need to cache the contents of files to avoid frequent file read and write operations, thus improving performance. In PHP, there are several commonly used functions that can help us implement file caching, including

PHP's file_get_contents() function: How to read contents from a file PHP's file_get_contents() function: How to read contents from a file Nov 04, 2023 pm 01:43 PM

PHP's file_get_contents() function: How to read content from a file, specific code example In PHP, file_get_contents() is a very useful function that allows us to read content from a file. Whether reading a text file or reading content from a remote URL, this function can easily complete the task. Syntax The basic syntax of this function is as follows: stringfile_get_contents(string$f

PHP function introduction—file_get_contents(): Read the contents of the URL into a string PHP function introduction—file_get_contents(): Read the contents of the URL into a string Jul 24, 2023 pm 02:32 PM

PHP function introduction—file_get_contents(): Read the contents of the URL into a string. In web development, it is often necessary to obtain data from a remote server or read a remote file. PHP provides a very powerful function file_get_contents(), which can conveniently read the contents of a URL and save it to a string. This article will introduce the usage of file_get_contents() function and give some code examples to help readers better

How to read file contents using file_get_contents function in PHP How to read file contents using file_get_contents function in PHP Jun 26, 2023 pm 12:01 PM

In PHP, we often need to read data from files. In this case, we can use the file_get_contents function. This function can simply read everything from a file and return it as a string. This is very useful in many scenarios, such as reading configuration files, reading log files, etc. In this article, we will explain how to read file contents using the file_get_contents function in PHP. Step 1: Open the file using file

PHP function introduction—file_get_contents(): Read file contents into a string PHP function introduction—file_get_contents(): Read file contents into a string Jul 24, 2023 pm 06:40 PM

Introduction to PHP functions—file_get_contents(): Read file contents into strings. In PHP development, it is often necessary to read the contents of files and process them. To achieve this function, you can use PHP's built-in function file_get_contents(). This article will introduce the file_get_contents() function and provide some code examples to help readers better understand its usage. Basic introduction to file_get_contents function fi

Detailed explanation of PHP 5.2 functions: How to use the file_get_contents function to read file contents Detailed explanation of PHP 5.2 functions: How to use the file_get_contents function to read file contents Jul 29, 2023 pm 04:09 PM

Detailed explanation of PHP5.2 functions: How to use the file_get_contents function to read file contents. In PHP development, we often need to read the contents of files. PHP provides many methods to read file contents. One of the commonly used and powerful functions is file_get_contents(). This function can read the content from a file and return the content in the form of a string to facilitate our subsequent processing. file_get_contents() function

See all articles