When a PHP page is connected to the database, an httpd exe application error appears

Updated on technology 2024-04-19
11 answers
  1. Anonymous users2024-02-08

    This is a nuisance, the memory is occupied.

    You're going to have to look it up"The memory cannot be read"Find relevant solutions, there are many on the Internet.

    I've tried it before, but my problem is different from theirs, I'm setting the file wrong, and I didn't know it for a long time.

    I repeated the loadmodule and phpinidir lines, you check if it's wrong, if it's deleted and then restart apache it's fine.

  2. Anonymous users2024-02-07

    Yes, something went wrong. Click OK to terminate the program.

  3. Anonymous users2024-02-06

    Check if the apache configuration file is correct. Check if the php configuration file is correct.

  4. Anonymous users2024-02-05

    When you install PHP, you must configure Apache to connect to your PHP, and you should have made an error when you reconfigured this.

  5. Anonymous users2024-02-04

    mysql_connect(":3306","root","123456") or exit("If the connection to the MySQL server fails, check the connection string");

    mysql_select_db("mysite_bak") or exit("The database name is incorrect");

    mysql_query("set names 'utf8'");Notify the server client to pass the encoding of past statements.

    mysql_query("set character_set_client=utf8");The server sets the client encoding.

    mysql_query("set character_set_results=utf8");Set the encoding of the query results.

    date_default_timezone_set("prc");Set the time zone to Beijing time.

  6. Anonymous users2024-02-03

    Is there a write-connection to the database? mysql_connect($host,$username,$password);

  7. Anonymous users2024-02-02

    PHP connection to the database ** did not write right?

  8. Anonymous users2024-02-01

    HTML markup is not the content of PHP, and you will definitely not be able to read the data if you write it directly in PHP"$row[0]

    row[1]

  9. Anonymous users2024-01-31

    1 The server is written as localhost

    2 If it is written backwards, the connection is really successful.

    3 Check the username and password of MySQL.

  10. Anonymous users2024-01-30

    Apache has such a problem on many Win32 operating systems, such as various XP systems. After shutting down, the process is actually still running in the process. The best way to do this is to right-click on my computer, select "Manage Services", then find the Apache service, right-click and select Close.

    However, some PHP integrations use Apache that doesn't show up in the list of services (which is weird). I don't know why). Just end the process in process management, and sometimes there will be two of them, in short, just turn them all off.

    In addition, the process of mysql is or. Occasionally, there will be a situation where it can still be used when it is closed, and the handling method is the same as above. Shut down the service, or force the process to end. The first way is recommended.

  11. Anonymous users2024-01-29

    Only the GUI interface of the foreground is turned off, and the services in the background are not closed.

Related questions
17 answers2024-04-19

If it's multiple months, just modify the link.

Then submit the database query: >>>More

9 answers2024-04-19

You can make an information query system, if you haven't done it before, it is recommended to use ASP to write it first, this is relatively simple, even people who do not have a basic knowledge of network programming can get started in a short period of time. The written web program can be called on the network, and different permissions can be set for different users. In this way, you can achieve the function you want, but this is only the basic, and you should learn more deeply to achieve more complete functions. >>>More

4 answers2024-04-19

ASP connection access

Define the access database path. >>>More

11 answers2024-04-19

select ,from emp e left jion dept don ;

Left Company. The left link is, the left side prevails, and the right side is useless to make up for it. >>>More

2 answers2024-04-19

1. Create an access database and create a new table in the database—that is, an additional table. By setting the property values of the attached table, make it linked to the database you want to access. >>>More