
How to run applications in Yii
During the use of Yii, you can know that after installing Yii, you will have a runnable Yii application. Depending on the configuration, you can use the URL indicated in the tutorial: http://hostname/basic/web/index.php or http:// Hostname/index.php access.
Nov 23, 2019 pm 02:40 PM
What is the difference between yii and thinkphp?
Yii and thinkphp are both PHP frameworks, but they are different in configuration. The Yii framework is more flexible with multiple configuration files, overlay configurations, multiple environment configurations, and local and online environment configurations; the thinkphp framework only needs one configuration.
Nov 21, 2019 pm 02:47 PM
yii custom error page
How to customize the error page in yii: first modify the main.php main configuration file and add an errorAction controller to handle errors; then write the error template file in the error.php file; finally modify the controller and render the error page in the actionError method. Can.
Nov 16, 2019 pm 02:55 PM
What is the difference between yii and tp?
Yii and tp (ThinkPHP) are both PHP frameworks, but they are different in configuration. The Yii framework is more flexible with multiple configuration files, overlay configurations, multiple environment configurations, and local online environment configurations; the thinkphp framework only needs one configuration.
Nov 16, 2019 am 11:48 AM
What is the event of yii
As you can see in the Yii framework tutorial, events are specific execution points where custom code can be "injected" into existing code. Yii introduces a base class named yii\base\Component to support events.
Nov 14, 2019 pm 04:42 PM
what is yii framework
The yii framework tutorial explains this: Yii is a high-performance PHP framework suitable for developing WEB 2.0 applications. Comes with rich functions, including MVC, DAO/ActiveRecord, I18N/L10N, caching, authentication and role-based access control, scaffolding, testing, etc., significantly shortening development time
Nov 14, 2019 pm 04:00 PM
How to install yii framework
The Yii Framework Tutorial Definitive Guide recommends that you can use Composer to install the Yii framework, and you can install the Yii application template by running the command in a web-accessible folder.
Nov 14, 2019 pm 03:50 PM
What should I do if Yii cannot find the vendor?
First download it through composer global require "fxp/composer-asset-plugin:~1.1.1", and then install it through composer require fxp/composer-asset-plugin.
Nov 09, 2019 am 10:58 AM
What should I do if the gii in yii cannot be opened?
Change 'allowedIPs' => ['127.0.0.1', '::1'] to 'allowedIPs' => ['*', '::1'] so that all IPs can be accessed.
Nov 09, 2019 am 10:48 AM
How to use yii's own verification code
First configure actions and map the request verification code link to "controller/captcha". Then declare public variables, configure validation in the rules method, and configure the controller's routing in "captchaAction". Finally, configure the view layer.
Nov 09, 2019 am 10:39 AM
How does yii return 404
First, enter the frontend\config folder of the Yii framework, open and edit the main.php file, and modify the controller name and method name in it. Then go to the controllers controller and add the error method in the controller code. Finally, create the view in error.php.
Nov 09, 2019 am 10:00 AM
How to install yii
First install composer, and then install the Yii application template by running the "composer create-project --prefer-dist yiisoft/yii2-app-basic basic" command in a web-accessible folder.
Nov 09, 2019 am 09:41 AM
How to write yii download archive file
First download the Yii Advanced Application Template and unzip it. Then open the command line, enter the YiiMain directory, and execute init. Then open frontend\web and backend\web to get index.php and index-test.php. Finally, configure the cookie encryption character.
Nov 09, 2019 am 09:26 AM
How to configure the yii program to support virtual hosts
The method to configure the yii program to support virtual hosts is: 1. Copy the program of frontend/web/ to the root directory; 2. Modify the program of the index.php file; 3. Delete the web directory under frontend; 4. Implement pseudo-static .
Nov 08, 2019 pm 05:02 PM
Hot tools Tags

Undress AI Tool
Undress images for free

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

vc9-vc14 (32+64 bit) runtime library collection (link below)
Download the collection of runtime libraries required for phpStudy installation

VC9 32-bit
VC9 32-bit phpstudy integrated installation environment runtime library

PHP programmer toolbox full version
Programmer Toolbox v1.0 PHP Integrated Environment

VC11 32-bit
VC11 32-bit phpstudy integrated installation environment runtime library

SublimeText3 Chinese version
Chinese version, very easy to use
