1 SetNOCP2 SetNu3 Setru4 SetNoet5 Setbs=26 Setts=87 Setss=88 Setsw=89 SetAITen SetCin One SetMouse =a A - SetMp=g++\%\-o\%ANSI - the syn on -Colodefault - -Let CC = the +Let g:qf=0 -Let g:hls=0 +Inoremap A atfunc!Q () - ifG:QF -Let g:qf=0 - Cclose - Else -Let g:qf=1 in Copen - End to Endfunc + -func!H () the ifG:hls *Let g:hls=0 $ SetNohlsPanax Notoginseng Else -Let g:hls=1 the SetHLS + End A Endfunc the +Map GT -Map GT $Map $Map -Map Setts=4ss=4sw=4 -Map
Bully, Kaspersky 2013;
Browser: IE11 browser, Chrome browser, proud tour browser;
Tool class: One key Ghost, Storm AV, Windows Firewall controlv 4.0.2.4, King code Wubi Input method;
Game class: FIFA 13, Call of Duty 9, GTA 5, Battlefield 3, 4 (Beta), justifiable Defense 2, Sniper Elite 2.
Office software win8/xp Compatibility test
Software name
Compatibility Performance
Windows 8
Windows XP
telling the compiler to compile the PHP source code when adding intl this extension. Make: The source code will be compiled into intl.so make install: The intl.so will be moved to the currently installed PHP extension directory.
The next thing we want to do is enable this extension in php.ini, which will be shown at the end of the example. installing third party extensions
Take this extension as an example, this extension mainly realizes the function of the PHP to recognize the barcode.
Install
is not enough, because the zope+plone structure of the port is not 80 port, so we have to do port redirection. To be able to do this, we have to activate the Rewrite and Proxy two modules. The activation module is simple, like the site configuration directory, and there are two module configuration directories in Apache2: Mods-available and mods-enabled. In the Mods
Installing Apache in Ubuntu Installation Instructions : sudo apt-get install apache2 start and stop Apache files are:/etc/init.d/apache2Start command: sudo apache2ctl-k start (or Server apache2 start)Stop command: sudo apache2ctl-k stop (or server apache2 stop)Restart: sudo apache2ctl-k restart (or server apache2 restart)Configuration file is present:/etc/apache2, it is necessary to note that the normal Apache distribution configuration file is:httpd.confThe main configuration file for the Ubu
Https://wiki.apache.org/httpd/DistrosDefaultLayoutThis guide lists the default installation layouts for Apache HTTPD on various operating systems and distributions.While examples in the main Apache HTTP Server documentation assume that is using the standard file layout distributed From apache.org, many Third-party distributors change the layout to conform to local policies. This can make it difficult to follow the examples and to find various important files. Using the information below, you can
two of files? It's really simple, because if I'm going to maintain the Edunuke site, I just run the command:sudo A2dissite Edunuke sudo /etc/init.d/apache2 restart, so that you can maintain Edunuke this site, but also does not affect the normal operation of other sites.Advanced ConfigurationHere is a simple virtual host configuration method. This basically satisfies most of our needs. But if the installation of Zope+plone, the above setting is not enough, because the zope+plone structure of the
1 error Hint: Apache is running a threaded MPM, but your PHP Module is not compiled to be threadsafe. You need to recompile PHPBecause Apache's operating mode and non-thread-safe version of PHP are incompatible, it is necessary to change the operating mode of Apache. Apache is through Ubuntu under1 apt-get Install Apache2installed, so there are two folders in the/etc/apache2/directory, one mods-avaiable a mods
: Will compile the source code into intl.so
Make install: will move the intl.so to the currently installed PHP extension directory.
The next thing we want to do is to php.ini enable this extension in, and this step will show an example at the end.Install third-party extensionsThis extension, for example, mainly implements the PHP barcode recognition function.Install the necessary dependencies firstsudo apt-get install pkg-configgit clone https://github.com/mongodb/mongo-php-drivercd mon
will be reported that some parameters are not set.Because Apache2 is under/usr/bin/, the command line can use the apache2 command under any path. Apache2-h will list the available commands. Useful for:-V View version-V View compile-time settings-L View modules integrated at compile time-L View available configuration file directives-T checks all configuration files for syntax errors/etc/apache2/mods-available/indicates the available modules, the load
The recent deployment of Web systems requires the use of Tomcat processing and Apache consolidation, and Tomcat processing Jsp,apache processing static resources. Do not know how to operate at the beginning, the online access to the material has gone a lot of detours. When it's done, it's easy to find, and now the configuration process is documented below.1. Installing the SoftwareUsing apt tools (I'm lazy, there are automated tools available, why not) install Apache, Tomcat, and Apache Connecto
the documents that the user provides access to. Under Ubuntu apache2 Userdir Service is not enabled, at least my personal situation is this, before the APACHE2 function is modular, so in the mod-enabled directory to see if there is a userdir feature enabledIf you do not see a userdir file in mods-enabled, use the command a2enmod Userdir to enable, and in mods-enabled to establish a link to
1. The default path for installing PHP on Ubuntu16.04 using sudo apt-get install php7.1 is as follows:A. PHP executable command:/usr/bin/php7.1 and/usr/bin/phpB. sudo apt install php7.1-dev is required to have/usr/bin/phpize, and/usr/bin/php-config. It will be used when installing the extension later.C.. so file path:/usr/lib/php/20160303, this can be seen from the phpinfo ()D. PHP *.ini configuration file directory:/ETC/PHP/7.1/with three directories The m
Label:When the project was recently expanded, the problem was to convert the integral type to a specified length of 16 binaryAt first it was the direct use of cast (varbinary (4)) but finding out this doesn't solve my problem.So I searched the Internet, and then changed, the following is the function:1 Create FunctionInttohexlength (@Num int,@HxLength int)2 returns varchar( -)3 as4 begin5 Declare @Mods int,@res varchar( -),@Length int6 Set @res="
#DefaultType is a browser-accessible MIME type, set to none, allowing the browser to parse itselfDefaultType None#Hostnamelookups:log the names of clients or just their IP addresses#e.g., www.apache.org (ON) or 204.62.129.132 (off).hostnamelookups Off#error log file directory, default is configured here, can be overloaded in #The log file name begins with a '/' that causes a conflict and does not start with '/', and the server root prefix is added by default#For example, "Foo.log" will be added
. This basically satisfies most of our needs. But if the installation of Zope+plone, the above setting is not enough, because the zope+plone structure of the port is not a 80 port, so we have to do port redirection. To be able to do this, we have to activate the Rewrite and Proxy two modules. The activation module is very simple, as with the site configuration directory, there are also two module configuration directories in Apache2: Mods-available an
executing in the terminal
sudo a2enmod rewrite
command, the Mod_rewrite module is enabled.
Alternatively, you can open the Mod_rewrite module by connecting the/etc/apache2/mods-available/rewrite.load to the/etc/apache2/mods-enabled/rewrite.load. The command operation is:
sudo ln-s/etc/apache2/mods-available/rewrite.load/etc/apache2/
be found in apache2.conf:Configuration of dynamic modulesInclude Mods-enabled/*.loadInclude mods-enabled/*.confUser's own configurationInclude httpd.confConfiguration of Port sniffingInclude ports.confGeneric Configuration statement FragmentInclude conf.d/Configuration directives for virtual hostsInclude sites-enabled/We can totally put all the settings in apache2.conf or httpd.conf or any configuration fi
:
function AutoLoad ($class) {
if ($class = = ' in ') {
Require_once ("/var/www/test/in.php");
}
}
Spl_autoload_register (' AutoLoad ');
$a = new in ();
$a->index ();
Application of Spl_autoload_register to register multiple custom autoload functions
First, create the Mods folder under the test directory and establish the inmod.mod.php contents as follows:
Copy Code code as follows:
Class Inmod
{
funct
. Familiar with Apache2 's friends will ask why such trouble, put in a file is not also OK. Why do you use two files? It's really simple, because if I want to maintain the Edunuke site, I just run the command:
Code:
sudo a2dissite edunuke sudo/etc/init.d/apache2 restart
, this can maintain Edunuke this site, but also does not affect the normal operation of other sites. = = Advanced Configuration = = above discusses the simple virtual host configuration method. Thi
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.