-
starting php-fpm php warning: module 'curl'The phrase already loaded in unknown on line 0 translates to loading a curl module in an unknown place, and to put it bluntly, you don't have such a curl module.
Then type phpinfo() to see if your curl extension is enabled, if not, you need to enable it to use the curl feature. Enable method: Find the file you are using and remove it; extension=php before the semicolon.
-
If you look at the configuration, you can see that the modules with the error above are all being loaded repeatedly.
-
1. The easiest way is to add the following directly to the PHP program
Copy ** ** as follows: error reporting(e all e notice e warning);
Close all notice and warning level errors.
Put this statement in your script's utility file, usually in or , to control the output.
2. You can also set it in as follows.
Open the file in the PHP installation directory.
Find display errors = on and change it to display errors = off
Note: If you have copied the file to the windows directory, you must also set display errors = on in c:windows
Changed to display errors = off
php .The display errors = off invalid in ini is resolved.
Problem: php settings file phpdisplay errors = off has been set in ini, but an error message still appears on the webpage during operation.
Solution: Open the file in the php installation directory.
Find log errors = off and change it to log errors = on
Find error log = filename and change it to error log="d:phperrlogphp_"
Here the directory and file name d:phperrlogphp whatever you want).
Note: If you have copied the file to the windows directory, you must also copy the c:windows file.
In addition, PHP must have at least modify and write permissions to user, otherwise it will not be able to output error logs.
Error reporting(7) is often used to set the level of error reporting.
value constant
1 e_error
2 e_warning
e_parse
8 e_notice
16 e_core_error
e_core_warning
64 e_compile_error
e_compile_warning
256 e_user_error
e_user_warning
1024 e_user_notice
2047 e_all
2048 e_strict
However, 7 = 1 + 2 + 4
It is to display 1 e error 2 when an error occurs
e_warning 4 e_parse
Copy ** ** As follows:
-
This is the case, because when Apache loads PHP, PHP needs to load PHP extensions, PHP extensions are not loaded successfully, which will also cause Apache to fail to start, and the above paragraph you fill in ** HTM and HTML as PHP mime type may be a bit inappropriate, so the solution is as follows:
1.Check the PHP configuration and find Display Startup Errors and change the value of this to on
2.Start Apache and see if there is an alarm that the PHP extension cannot be found, or the extension cannot be loaded, or something like that is missing.
3.Find the configuration of the corresponding extension in the php configuration of the relevant extension extension=php and use it; Add a semicolon before the extension to comment out the extension loading on the line, start more apache, more sensitive resistance test, you can be good.
-
You don't even have a detailed question, you can't answer it, if you don't understand the configuration, don't toss it yourself, it is recommended to use the powerful phpwamp.
32-bit and 64-bit PHP versions can be switched at will, and 700 PHP versions can be switched at will.
First of all, what does WAMP mean?
Apache+MySQL+PHP under Windows, called WAMP.
There are many integrated software belonging to the WAMP environment, such as WAMPserver, APMSERV, XAMPP, PHPWAMP, etc., which have their own characteristics.
You can use phpwamp to integrate with the green environment (good for running locally and on top of a server).
Build locally
"The application of PHP green integration environment on the cloud server, phpwamp to build the first case on the server".
Whether the integration environment is suitable for the server can be described in this article
All Windows systems are supported, and the latest Windows 10 is no problem.
The green integrated environment phpwamp features are as follows:6. Force all environmental obstacles to be removed, and remove the non-80 port of any web server site domain name with one click.
7. Integrate practical tools such as web page encryption, different PHP version configuration distinction, log segmentation processing and other practical functions.
8. Multi-functional site management, automatic regular restart of the server, automatic regular restart of apache, mysql and other related services.
PHPWAMP comes with these 6 default versions, with a symbiosis mode (used at the same time as other environments), a single dog overlord mode, and a forced way to break through the hindrance to run**.
The system is broken, so let's reinstall the system
This means to judge that the variable $entry is not equal to. And not equally. and the following is dir($dir.$entry) Yes. >>>More
The operating system is the operating software of the computer, of course, it is the system software, such as Windows, DOS, Zhi Android, iOS, etc. The browser is to surf the Internet. >>>More
There are a lot of problems with the lite version. It is recommended that you use the original version of Permiere 2, it is said that installing Permiere Pro 2 under win7 has been successful, but I haven't tried, you have to remember that it is best to install the software under win7 with the right mouse button on the installation file to install it as an administrator. The next time you install Permiere Pro 2, go to the next time to clean up the remaining software of Permiere Pro 2, otherwise the installation will not be successful. >>>More
It should be a bad sector in the hard disk, and I personally feel that unless there is a big mistake in the hard disk, such as the damage of the platter, it is necessary to be cautious and low-level operation, and the damage to the hard disk is too great. It is recommended to use the XP2 disk to install and format normally, the formatting of the XP system is a format with the least damage to the hard disk (VSTAR has not been studied), install the operating system normally, and use fast FAT32 to format it once before installation and then install it directly.