Author:
Password:

By default MySQL set the max connections to 151.

 

This will increase the max connections:

nano /etc/my.cnf

 

In the my.cnf put in the belw 2 lines:

 

[mysqld]

open_files_limit = 8000

max_connections = 1000

 

Save the file and restart mysql.

service mysqld restart

Tag:
MySQL
CentOS
0 replys / 562 views.
Reply

When upload images or files using PHP on IIS, the files are not accessible from website http due to 401.3 ACL permission problem.

 

Step 1

1. In IIS, click your Website. Under "IIS", double-click "Authentication".
2. Right-click "Anonymous Authentication", click "Enable".
3. Click your website again

Tag:
PHP
Server
IIS
0 replys / 2086 views.
Reply

lftp -e "set ftp:ssl-allow off;" -u username,password hostname

mirror -c remote folder path local folder path

Tag:
Server
CentOS
0 replys / 1955 views.
Reply

Sometimes when we designing a website we need to use the font "Arial Narrow". This usually supported by PC and Mac across various major browsers. However it does not render correctly under Firefox without "font-stretch: condensed; ".

 

Below is an example make it work:

p{ font-family: 'Arial Narrow', Arial, Helvetica, sans-serif; font-stretch: condensed; }

Tag:
HTML
CSS
2 replys / 3533 views.
Reply
  1. # If mod_headers module is included, we will disable the Server response header totally  
  2. <IfModule mod_headers.c>  
  3.   Header unset Server  
  4.   Header unset X-Powered-By  
  5. </IfModule>
Tag:
apache
CentOS
0 replys / 2255 views.
Reply
To view more, please select month or tag from the list on the right..