Long time ago wanted to see something of PHP, to tell the truth, today it took so long to explore the running out of PHP really a bit embarrassed. First want to use PHP is to want to know more things, do not know now only to build up the environment,
Design ideasTaking into account the mere acquisition of a picture of a webpage, too troublesome, so directly collect his list page, get the URL of the list and then collect in one by one, but with PHP match the URL of the list page is too
Look: This article is for friends who want to set up a secure web platform on the Win2K platform.
The required program:
Apache
http://www.apache.org/dist/httpd/binaries/win32/
We choose Apache_1.3.28-win32-x86-no_src.msi, or Apache_2.0.47-win32-x86-
Use the ISAPI method to install PHP.
Download Connection: Http://cn2.php.net/get/php-4.4.0-Win32.zip/from/cn.php.net/mirror
The ISAPI method is the most efficient way to execute PHP under Win system IIS. Strongly recommended.
After you unpack
Disclaimer: Some of the articles in this article refer to some articles on the web, and all the code in the article is tested on the CentOS 6.2 X84 64-bit system.
First, download the package
wget http://mozbuildtools.googlecode.com/files/libiconv-
Installing the Build Environment
Now you may have at least one installed PHP and have used it to develop web-based applications. You may have downloaded a Win32 from Php.net to build and run on IIS or Windows version of Apache, or a package
Lnamp environment installation record will be used by Open source software: Apache [must, Web dynamic scripting server, do nginx reverse proxy 8080 Port]tengine [must, Web static file server 80 port]mysql [must be]php [must]1. Apache Install a.apr
1 Connecting the database: You can use objects or functions to connect (we mainly use mysqli objects here, with a function connection)// Create a Mysqli object (also called a resource handle) $_mysqli New mysqli (); // Connect to Database//If you do
CentOS 5.5 Installation mysql5.1.57+php5.2.17 (FastCGI) +nginx1.0.1 high Performance Web server [reprint]September 05, 2012 ⁄linux Technology ⁄ a total of 12362 characters ⁄ font size small big ⁄ no comments ⁄ read the page As the production
Today, Linux yum is not available, with a third-party yum Source, and Yum installs it and it takes a long time to update the header.Remember to install the specified installation directory with the--with-php-config=path command.CentOS 6 Install php
Several Web servers have been configured recently to post the installation notes. There is no time like before, the article written as the system, please forgive me. Detailed configuration, you can see the previous old article:
Principle: According to the PHP version in Lampp, compile memcache, reference the corresponding downloaded PHP version, and install the php_config to generate memcache.so file, then put the so file to lamppp corresponding location, and then modify
premise: Assume that readers who read this article already have basic Linux usage skills to solve system installation problems and software installation techniques.
Note: This article involves the main installation package (need to
PHP/*Custom Delete functions that can delete files and recursively delete folders*/ functionMy_del ($path)//to customize the My_del function, the function has a parameter ($path). When calling the My_del () function, we also pass a path (e.g. ' PHP '
Let's start with the process of calling the mail () function in PHP.See Source Ext/mail.c236 lines:Char *sendmail_path = ini_str ("Sendmail_path"NULL;Get the Sendmail_path variable from the INI. Let's see what php.ini is saying: for Unix only. as
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.