Google or Baidu, a lot of such problems, the solution is to modify the php.ini, the Allow_url_fopen to enable, change to Allow_url_fopen = On
This can solve some people's problems, it is said in PHP.ini, there are two options: Allow_url_fopen =on
Share The PHP error message explanation. When I was learning PHP, I often encountered various error prompts. today I am very familiar with the error prompts and explanations. now I want to learn from them. Haha ..... 1. Notice. Haha .....
1. Notice:
Today when I help a friend to configure a server to find that the site is configured to read and write to the cache directory is not successful, when the error is opened to find the prompt warning:file_exists () [function.file-exists]: Open_basedir
Sometimes, because of the increase in system code, causing many files to be interrelated, or some third interface (etc.), you have to debug online.On-line environment, we are all set "Ini_set (' display_errors ', false)" in order to prevent errors
Ajax requests php Error 404, but the script can normally output data
1. Scenario
Ajax requests the php script to return a 404 status code, but the php script can output data, causing the ajax callback function to fail to be
PHP error: Forbidden You don't have permission to access/on this server., permissiontoaccess
The configuration file httpd. conf of php.
Find the configuration section in the original location file
Options FollowSymLinksAllowOverride NoneOrder deny,
PHP error Cannot adopt OID in UCD-SNMP-MIB, LM-SENSORS-MIB,
Cannot adopt OID in UCD-SNMP-MIB:
The Cannot adopt OID in LM-SENSORS-MIB: lmTempSensorsValue
What should I do if I encounter these errors when running PHP? Just install two software!
They
Introduction to PHP Error and LoggingThe error and logging functions allow you to process and record errors.The error function allows you to define error handling rules and modify the method for recording errors.The logging function allows you to
Start PHP Error: Libssh2.dll lost.
Workaround: Install the PHP-SSH2 extension.
PHP-SSH2 extension Tutorial for installing PHP under Windows7
Because I want to do a test server file requirements, see PHP support SSH operation, so the next
PHP Error: Warning:phpinfo () have Been Disabled for Security reasons
Today I want to use the Phpinfo function to look at the information about PHP on the server, reported the following error:
Warning:phpinfo () had been disabled for security
PHP error syntax error, unexpected T_goto, expecting t_string, error file and line number point to the following code, what is the reason?
Native PHP version is 5.3.8,apache/2.2.21, I guess is the environmental problem, because it is normal
Configuring Apache and PHP Error issues!
I downloaded Apache2.2 and php5.3 (my system is win7), I installed it after downloading, but when I configured Apache httpd.conf file, I just added these two sentences.
LoadModule php5_module
When the program is running online, if you encounter a bug, want to not output error messages in the front end, but also timely email to inform the developer, Register_shutdown_function function can come in handy.Registers a function that will be
In the daily project development process, there will always be some of our unexpected anomalies, if we do not have a relatively perfect treatment, then the program looks very unprofessional, it is likely to become the effective information of others
To get a wrong takeover class:PHP//----------------------------------//leephp Error takeover class//2017-07-06//pengchonglee//------------------------------- ---//error_reporting-setting what PHP errors should be reported error_reporting(0);
Cannot adopt OID in Ucd-snmp-mib:Cannot adopt OID in Lm-sensors-mib:lmtempsensorsvalueWhat happens if I run PHP and encounter these errors? Install two software on the line!They were: Getcomposer and Snmp-mibs-downloader.Download: Curl-ss
What kinds of error tips are there in PHP?1.notice: note2.waring: Warning3.error: ErrorWhat kinds of error-checking methods are available in PHP?1, grammar check--php configuration file, the error display options are open or Code start section, add
This example describes the method for configuring the error log in PHP. Share to everyone for your reference, specific as follows:
Ini:
; Error log
log_errors = on
; display error
display_errors = off
; log path
error_log = "/usr/local/lnmp/
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.