Improve PHP security: Eight default PHP configurations that must be modified to improve php security
Obviously, PHP + Mysql + Apache is a popular web technology. This combination is powerful, scalable, and free of charge. However, the default PHP
In the previous phpmyadmin installation and configuration tutorial, I mainly introduced the steps for installing and configuring phpmyadmin, this section briefly involves phpmyadmin configuration. in the previous phpmyadmin installation and
After updating the PHP version, modify the default PHP environment variable~/. bash_profile# adds a row. Pay attention to PHP5. 4.10 Change to the name of the PHP version directory you are running export PATH=
In the absence of a global Composer, if you run the Composer command in a directory that does not have Composer installed, such as: The Create-project system will return:
Could not open input File:composer.phar
Well, come
The default PHP installation system vulnerability was published in packetstorm. I translated it into Chinese and added some annotations to execute
PHP friends have some help.
After you download PHP, the installation file in it helps PHP install in
We all know that when the Mac shipped out of the system pre-set a PHP and we use MAMP PHP, perhaps the problem is here, in the Terminal run a bit:which PHP to see the path of PHPsudo nano ~/.bash_profile # adds a row. Note PHP5.4.10 changes to the
After configuring Wamp, the browser enters the default php file name to download the document directly
Apache is already running, the main problems are:
I'm creating a new index.php file.
Phpinfo ();
?>
Then enter http://localhost or
: This article describes how to modify the default Mac PHP runtime environment and configure global Composer for MAMP. For more information about PHP tutorials, see.
If the global Composer is not configured, if you run the Composer command in the
The default session validity period in PHP is 1440 seconds (24 minutes). What should we do if we want to keep the session from expired? Next we will introduce the best way to do this without modifying the program, if you modify the program, the test
Authority. class. php modify the permission to be verified $ name if the permission list does not exist, this permission is granted to php code by default.
// Get the permission $ name can be a string or an array or separated by commas. uid is the
I haven't updated it for a long time. I wrote a placeholder article: if the default parameter of a function is a constant, how can I get the constant name of this parameter? See the code :? Phpfunctionnew_blog ($ titleDEFAULT_TITLE) {blahblah} in
The default value of usrbinphp in Lion system is php. ini. Today, a command line php program is running with the error date (); the time zone setting problem needs to be passed through php. ini to set the default time zone OSX system. the command
This vulnerability was published in packetstorm. I converted it into Chinese and added some annotations to execute it on NT.
PHP friends have some help.
After you download PHP, the installation file in it helps PHP install in NT + Apache Web
This vulnerability was published in packetstorm. I turned it into Chinese and added some annotations, hoping to help my friends who execute PHP on NT. After you download PHP, the installation file in it helps PHP install in NT + ApacheWebServer, the
ShopNC hides unset product details attributes (default value: Unlimited)
ShopNC hides unset product details attributes (default value: Unlimited)
By default, ShopNC sets the item details attribute to "unlimited". This setting is very strange. for
PHP WMAP Apache
Apache is already running, the main problems are:
I'm creating a new index.php file.
Phpinfo ();
?>
Then enter http://localhost or http://localhost/index.php in the browser
Enter everything and download the document directly,
This vulnerability was published in packetstorm. I converted it into Chinese and added some annotations to execute it on NT.PHP friends have some help.After you download PHP, the installation file in it helps PHP install in NT + Apache Web ServerThe
This vulnerability was published in packetstorm. I converted it into Chinese and added some annotations to execute it on NT.PHP friends have some help.After you download PHP, the installation file in it helps PHP install in NT + Apache Web ServerThe
Modify the three rows as follows:1. session. use_cookiesSet this value to 1 and use cookie to pass sessionid2. session. cookie_lifetimeThis indicates the time when SessionID is stored in the client Cookie. The default value is 0, indicating that the
The Z-blog front-end does not require logon. One vulnerability is included.
I heard this is a big vendor? -.-You do not need to log on to the front-end to include the vulnerability. You probably did not see the location where images could be
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.