Download the latest official version of the official website (the version number in parentheses is the one I used to build the platform):
Apache (2.2.4):
http://httpd.apache.org/download.cgi
PHP (5.2.3,zip
As a result of changing the computer or reinstall the system often need to rebuild the PHP environment, this simple record of Windows to build a PHP environment process, the specific steps can refer to online data
Preparatory work:
Windows
1. Modify the httpd.conf file to allow Apache and PHP modules to be associated2. Configuring the php.ini FileModify the httpd.conf file to have Apache and PHP modules associatedHow do I get Apache and PHP to connect? Configure the PHP module with
Currently, no official 64-bit version is available for Apache and PHP software downloads. Apache64-bit: www. blackdot. be? The incapachebinaries installation file has been uploaded to the csdn resource space. You can search and download it!
MacOSX has built-in Apache and PHP, which is very convenient to use. This article takes MacOSX10.6.3 as an example. The main content includes: start Apache, run PHP, install MySQL, and use phpMyAdmin to configure the MCrypt extension library of PHP
PHP development environment setup tutorial (Apache + PHP + MySQL) and apachemysql in Windows. PHP Development Environment building tutorial in Windows (Apache + PHP + MySQL), apachemysql often needs to re-build the PHP environment after changing the
Today, I learned how to install Apache + PHP + MySQL + phpMyAdmin on my own. Next I will tell you the precautions for installation.
First,We recommend that you install it in the same folder during installation, so that it is easy to manage (the
Build a PHP environment in Windows: Apache + PHP + MySQL and apachemysql
Because you often need to re-build the PHP environment after changing the computer or reinstalling the system, this time a simple record of the process of building the PHP
What is the possible cause? sometimes, when I get a computer from 404 of my colleagues and request it for a while, I don't need it. my environment is very slow, I don't need to ask if Apache and php configuration is wrong after a request of about 30
Php Chu Getting Started
This chapter highlights
Decide whether to outsource or build your own
Find the right ISP
Avoid common host traps
Install PHP
Choose PHP Development Tools
In this chapter, we will discuss the pros and cons of
Ubuntu12.04 use c to compile the php extension module tutorial. The system is ubuntu12.04. apache and php have been installed. The php version is 5.3.10. If you encounter permission problems, we recommend that you switch to root. 1. download the
PHP correctly configures mysql (apache environment ). Write a php file to test mysql as follows: Copy the code as follows :? Php $ linkmysql_connect (localhost, root, root); if (! $ Link) echo failed !; Elseecho successful !; Mysql_cl writes a php
Start with MacOS. to configure the working environment, you must first enable MacOS to support PHP. Whether you use an integrated development environment, such as XAMPPforMacOSX, Apache and PHP that comes with MacOS, or even re-compile and install
Breathe. It can be regarded as a matter of getting the bugfree. After the bugfree is completed, it is easy to understand. (Don't laugh, it's actually not that simple)
After several times I climbed through the mountains and moved over the
Write a PHP file to test mysql as follows:Copy codeThe Code is as follows:$ Link = mysql_connect ('localhost', 'root', 'root ');If (! $ Link) echo "failed! ";Else echo "successful! ";Mysql_close ();?> The error message is: Fatal error: Call to
Windows:We recommend that you do not install the software on the system disk. It can be the root directory or other directories, but it is best not to have spaces in the directory name to avoid some errors.Configure Apache and PHPOpen the Apache
Write a test of MySQL PHP file is as follows:
Copy Code code as follows:
$link =mysql_connect (' localhost ', ' root ', ' root ');
if (! $link) echo "Failed!";
else echo "Success!";
Mysql_close ();
?>
Results reported
This article only describes the installation of these 3 software, for PHP and MySQL programming and use see other information.
How do I get the software?
There are many ways to get these 3 packages, and most Linux distributions are now bundled with
But today in a CMS, there is an unforgivable error, unable to connect to MySQL, wrote a test MySQL PHP file as follows:
The code is as follows
Copy Code
$link =mysql_connect (' localhost ', ' root ', ' root ');if (!
Apache is currently the most widely used Web server, PHP3 is an ASP-like scripting language, the current trend is much more than Perl, and MySQL is a lightweight database system, especially for Web site building, these 3 software are free software,
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.