Author: 永夜
-
Post Views: 57 1. SDK installation github address: https://github.com/aliyun/aliyun-oss-php-sdk 2. Copy aliyun-oss-php-sdk-master\src\oss to passport.hmwis.com\thinkphp\library\vendor\oss, as shown in Figure 1 and 2 3. Register a new namespace OSS and edit the file passport.hmwis.com\application\common\conf\config.php, as shown in Figure 3 autoload_namespace=> array(additions=>OneThink_Addon_Path,oss=> Vendor_Path.oss), // Extension Module List 4. When instantiating the class library below the OSS, such as new oss\ossclient(); The corresponding class…
-
Post Views: 15 1. The premise is to install Redis under Windows 8.1, and the configuration supports the implementation process of PHP:https://www.shuijingwanwq.com/2015/11/16/769/ Set which IPs the Redis server allows access and passwords, as shown in Figure 1 and 2: BIND 127.0.0.1 192.168.2.30 requirepass n#s7yle$r5s&mmp#w9k9*hjzaptu%hpq Command: service redis restart, restart the redis service; 2. Set the php.ini of the web…
-
Post Views: 51 1. The installation and configuration of awstats7.4 under Windows 10 64 bit to support the log analysis of Apache 2.4; 2. Install Perl, open: https://www.perl.org/, as shown in Figure 1, under Windows, it is divided into two versions: Strawberry Perl and ActiveState Perl, select ActiveState Perl here; 3. Open: http://www.activestate.com/activeperl/downloads, as shown in Figure 2, download the…
-
Post Views: 12 1. Copy Discuz_x3.2_sc_utf8/upload/uc_server/lib/dbi. class.php to ucenter_1.6.0_sc_utf8/lib/dbi.class.php 2. Edit ucenter_1.6.0_sc_utf8/model/base.php function init_db() { //require_once uc_root.lib/db.class.php; if(function_exists(“mysqli_connect”)) { require_once UC_ROOT.lib/dbi.class.php; } else { require_once UC_ROOT.lib/db.class.php; } $this->db = new ucserver_db(); $this->db->connect(uc_dbhost, uc_dbuser, uc_dbpw, uc_dbname, uc_dbcharset, UC_DBConnect, UC_DBTablePre); } 3. Copy the class of discuz_x3.2_sc_utf8/upload/uc_server/api/dbbak.php dbstuffi to ucenter_1.6.0_sc_utf8/api/dbbak.php 4. Edit ucenter_1.6.0_sc_utf8/api/dbbak.php 5. Enable the mysqli extension in uc_client, copy discuz_x3.2_sc_utf8/upload/u…
-
Post Views: 11 1. ;extension=php_mysql.dll, disable mysql extension in php.ini; 2. In the function dependency check, mysqli_connect is supported; 3. After installation, open the blank; 4. Delete the program file, copy the file to the installation directory, edit discuz_x3.2_sc_utf8/source/class/discuz/discuz_database.php, and find the function quote, modify, because it does not make the judgment of extended support: tiveting if (is_string($str)) return\. mysql_escape_string($str)…
-
Post Views: 9 1. After Windows 8.1 is upgraded to Windows 10, start VisualSVN Server Manager and report an error: the provider cannot perform the tried operation (0x80041024), VisualSVN Server The current version of the manager is: 3.0.1 2, 2,https://www.visualsvn.com/server/changes/ Download version 3.4.2 64-bit, install and upgrade
-
Post Views: 9 1. The remaining 40.5G space of the C drive space is available 2. The reason is: C:\Users\Administrator\VirtualBox VMs, occupying space is 43.6GB 3. Modify the default virtual computer location of VirtualBox to: D:\VirtualBox VMs 4. Copy the virtual machine windows_xp_ie6 step 1 5. Copy the virtual machine Windows_XP_IE6 to Windows_XP_IE6_1, and check the MAC address of all…
-
Post Views: 13 1. Open the URL:http://redis.io/download, windows The Redis project does not officially support Windows. However, Microsoft Open Technology Group has developed and maintained a Redis version for Windows 64-bit. as shown in Figure 1 2. The URL is linked to:https://github.com/MSOpenTech/redis According to the prompt, you canhttp://github.com/MSOpenTech/redis/releasesDownload to the latest binary file, as shown in Figure 2 3. Download…
-
Post Views: 12 1. Windows version is Windows 10 Home 2. In computer management, the options for local users and groups cannot be found 3. Execute the command prompt as an administrator: net user administrator /active:yes 4. Change the account settings already exist in the Administrator account 5. Switching account to Administrator successfully