Installation of PHPBecause PHP is a zip file (not installed version), the installation is relatively simpleUnzip on the line. Rename the extracted php5.2.1-win32 to PHP5. and copy it to the installation disk directory. For example, the installation
Open source solutions can be of great help to you, such as:
Open source code is done by a lot of people, so it tends to be better than the result of a person's accomplishment.
You can get free code updates and upgrades, otherwise you'll
[Serious when I come in] the prompt "Warning: mysql_fetch_array (): suppliedargumentisnotavalidMySQLresult" is displayed when I fetch data from mysql. this is a question that I have hundreds of times and google has queried countless times, probably
So deliberately write this configuration document, I believe that the following steps you will be successful. I hope you'll correct me in the wrong place.
This example is under Wiondws XP
php5.2.1
As a php+mysql (other database) programmer, you may need to test in a different database version environment in order to meet different needs
However, there can only be one version of MySQL database in the normal installation mysql,windows system,
This article mainly summarizes the PHP page and Mysql database to UTF8 encoding problem, need friends can refer to the next website if you need to internationalize, you need to code from GB2312 to UTF-8, there are many problems to note. if the
For developers who are familiar with the installation and configuration of Apache + PHP + MYSQL, or who do not want to develop but want to build a PHP application, it is easier to use the Apache/PHP/MYSQL installation kit to configure the php web
I. Installation and configuration of PHP
Rename the extracted Php5.2.1-win32 folder to PHP5. and copy it to the C drive directory. That is, the installation path is C:\PHP5
1 Locate the Php.ini-dist or php.ini.recommended file in the PHP
Is your PHP page garbled?
One
Learning PHP Children's shoes when writing web pages, if the design of Chinese content storage, most of the problem is garbled. Generally garbled words, we can check three aspects
(1) Whether the page is encoded
Breakthrough phpMyAdmin upload file 2M size limit
When importing a database using phpMyAdmin, because the script responds too long at upload time, data that is larger than 2M will occasionally fail to import. And most of the default settings, only
First, the preparatory work:
1, the installation of good
2, ready to use the software, I used the specific following:
PHP V5.2.1 for Windows
Http://www.skycn.com/soft/516.html
MySQL for Windows V5.2 Alpha
Start Apache
There are two methods:
In this way, enter "http: // localhost" in the browser and you will see the content of "It works !" Is located under "/Library (resource Library)/WebServer/Documents/", which is the default root directory of
OneLearning PHP Children's shoes when writing web pages, if the design of Chinese content storage, most of the problem is garbled. Generally garbled words, we can check three aspects(1) Whether the page is encoded correctly, such as whether to add
This MySQL server has gone away was suddenly encountered during development today. The analysis may be that the SQL statement sent is too long and exceeds the size of max_allowed_packet. If this is the reason, you only need to modify my. cnf:
Mysql database is an essential combination for PHP website development. Generally, PHP connects to Mysql through the root user name and password. The initial root password is blank during Mysql installation, when installing and using the PHP
I. Summary of MySQL password change methods
The first thing to note is: Generally, you need to have the root permission in MySQL to change the MySQL password. In this way, you cannot change the password unless you ask the Administrator to help you
I previously gave a class for displaying MySQL records by page, but did not give examples. Now, I have sorted out a framework of an online bidding system I just wrote.
Program To describe how to use this class, and discuss the implementation method
There is no theoretical basis as described below, which is purely an experience.
MySQL uses version 4.1 or later, and uses the default for whatever character set it is. You do not need to set MySQL.
Then an example of using GB2312 and UTF-8 is
Mud: Use nginx to build a WordPress blog using a virtual host, nginxwordpress
This article was sponsored by Xiuyi linfeng and first launched in the dark world.
Recently, I plan to learn about nginx web servers. Since it is learning or practical. We
1. Chinese problems
When using the MySQL instance Configuration tool, set the character set to GBK.
2 password Problems: The password set during installation cannot be accessed using phpMyAdmin
Mysql> set password
-> 'Root' @ 'localhost' = old_
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.