What should I do if I get an error when I install PHP, ask for help, or get an error in the PHP clas

Updated on technology 2024-06-15
5 answers
  1. Anonymous users2024-02-12

    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.

  2. Anonymous users2024-02-11

    If you look at the configuration, you can see that the modules with the error above are all being loaded repeatedly.

  3. Anonymous users2024-02-10

    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:

  4. Anonymous users2024-02-09

    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.

  5. Anonymous users2024-02-08

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

Related questions
8 answers2024-06-15

The system is broken, so let's reinstall the system

14 answers2024-06-15

This means to judge that the variable $entry is not equal to. And not equally. and the following is dir($dir.$entry) Yes. >>>More

8 answers2024-06-15

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

20 answers2024-06-15

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

16 answers2024-06-15

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.