Bài đăng

Đang hiển thị bài đăng từ Tháng 1, 2015

Hướng dẫn cài đặt WordPress trên Localhost, nguồn http://visaonho.com/

Hình ảnh
Trong bài viết này visaonho xin hướng dẫn các bạn cài đặt WordPress trên localhost (Windows) để test hay học tập. Trước tiên bạn tải phiên bản WordPress mới nhất  tại đây  hoặc  tại đây Sau khi download xong bạn để đấy và tiến hành làm theo các bước sau 1. Tạo localhost để chạy wordpress Trong bài này mình sử dụng XAMPP để tạo localhost, các bạn xem hướng dẫn cài đặt và cách sử dụng trong bài này. Tạo localhost trên Windows với XAMPP Sau khi đã tạo xong localhost bạn giải nén wordpress vào thư mục  \xampp\htdocs 2. Tạo database cho wordpress Truy cập vào  http://localhost/phpmyadmin/  (lưu ý là đã khởi động chương trình XAMPP) Vào tab Database, phần Create database gõ tên database mà bạn muốn tạo vào, ô bên cạnh chọn utf8_unicode_ci, click vào Create để tạo database. Các database hiện có sẽ hiển thị ở cột bên trái. phpMyadmin của XAMPP có user mặc định là root, không có password 3. Cấu hình file wp-config.php Vào thư mục chính của wordpress tìm file wp-config

The specified password for user account ‘root’ is not valid, or failed to connect to the database server.

While installing WordPress 3.4 via Web Platform Installer 4.0 on IIS 7, at some point the Web Platform Installer asks for MySQL ‘root’ user password. There you might get this error: “The specified password for user account ‘root’ is not valid, or failed to connect to the database server”. That happens even if you enter the correct password. Here is how to fix it: In the Windows registry, delete the mysql_pwd reg key under HKCU\Software\Microsoft\WebPlatformInstaller Download and install the latest  MySql .NET Connector (32 bit) . At the time of  writing, the latest version of MySql .NET Connector was 6.6.4.

WordPress - How to Manually Install on IIS Windows Server

Cấu hình IIS trên winserver 2008 để chạy web .net và php

Mình tham khảo video này, mình sẽ viết 1 bài hướng dẫn chi tiết hơn.

CS0016: Could not write to output file 'c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\62d43c41\27d749ca\App_Code.7lodcznm.dll' – 'Access denied.'

Could not write to output file: 'Access is denied. ' Description   After installation of CMN free busy connector when attempting to open the EWS or autodiscover website the following error is seen in the web browser: Could not write to output file 'c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\ews\08abe623\f97edc69\App_global.asax.6hb5q8sv.dll' -- 'Access is denied. Permissions to the c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET folder and they are correct. Also, uninstalled/re-installed CMN Free Busy and  .NET  Frameworkand  registered .NET Framework for IIS Cause   Permissions issue Resolution   Follow below steps: 1- Right click the %Temp% folder (mine is C:\WINDOWS\Temp) and select Sharing and Security. 2- Select the Sharing tab and Make sure that the folder is shared. 3- Select the Security tab and take a look at the list of “Group or user names:” NETWORK SERVICE should be in the list.