Website Connection: http://www.php7.ca/
It is said that the final version of PHP7 will be released next October, although many domestic servers are still using php4.x, such as the X net. First look at the new features of PHP71. Performance
Download software, use command wget xxx, parameters: URL
For example:
wget http://download.redis.io/releases/redis-3.0.0.tar.gz
Unzip, using command tar, parameters: ZXVF z (gzip attribute), X (decompression), V (Display procedure), F (with file
Reprint please indicate the source http://coderknock.com
Upgrade Nginx can refer to the installation of Linux nginx and possible errorsJust modify the following steps to:
./configureThe parameters used are different:
The parameters are
Data-id= "1190000005068760" data-license= "CC" >
Original address: PHP design mode (v): polymorphic
Introduction
In PHP design mode (iv): Inheritance we introduced the inheritance, using extends to design the method.In PHP design mode (b):
This paper analyzes the difference between addslashes and mysql_escape_string in PHP. Share to everyone for your reference, as follows:
1. The meaning of the two is essentially the same when inserting data. The difference lies in the addslashes.
In general, the page inside the JS file or code, are placed in the bottom of the page , this is because the page load, the user in the visit to our page as far as possible not because of the loading JS show too long blank page, stay too long on the
* Set script to run memory *
Sometimes PHP script to run the data, you need to consume a lot of memory, the default memory 16M is not enough, then you need to change the memory settings
Ini_set ("Memory_limit", "1G");
'). addclass ('
Installing in a Windows 64bit environment
Download Memcache installation package: Http://pan.baidu.com/s/1pLcjTzl
Unzip to the D drive anywhere, CMD (run as Administrator, or install failed) Execute command
No error stating that we have
Data-id= "1190000004994154" data-licence= "" >
Original address: PHP design mode (iv): inheritance
Introduction
In PHP design mode (ii): Abstract classes and interfaces and PHP design pattern (c): encapsulation, we have seen inheritance,
The example in this article describes how Yii2 uses Swiftmailer to send messages. Share to everyone for your reference, as follows:
' Mail ' = [ ' class ' = ' Yii\swiftmailer\mailer ', ' viewPath ' = ' @backend/mail ', ' Usefiletransport '
In the interface design of the app, you need to consider different versions will use different interface APIs, after investigating several ways, using the HTTP header to add Application/json;version=vxx in the way to achieve version control, The
Recently in a PHP connection to Redis experiment, encountered a problem syntax is the PHP code directly using the PHP command to test is no problem. The use of the LNMP environment is also no problem, but lamp is not allowed, the last view of the
Throughout the recruitment site, there are smart links, 51job, hunting and other large recruitment sites in China, but there is no one dedicated to
it professionals to serve the IT talent needs, services, recruitment and communication site.
Weaving dream CMS has a lot of features are more useful, but there are a lot of small problems is a headache, every upgrade how to feel is more trouble? dedecms5.7 Editor believe let a lot of people depressed unceasingly, take carriage return after
1.
Xdebug Introduction
Xdebug is an open source PHP program debugger (i.e. a debug tool) that can be used to track,Debug and analyze the health of your PHP program.
2.Xdebug Installation and Configuration
1. Download Xdebug components
to the
A time before the interview xx company written questions have such a problem:
Use PHP to list the directory tree!
At that time a look on the crazy! The basic idea is still some, but the use of recursive algorithm, but the PHP operation
PHP Pop-up dialog box is as follows, generally, after submitting the information need to pop up a dialog box prompt, then you can automatically close the dialog box, pop-up dialog has the following centralized method, in fact, are using the alert ()
YII Learning Modify the default controller
1, after the installation is completed YII system default is the site under the index controller below the index controller modified to index
Open the configuration file main.php, and in the first array,
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.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service