The Think PHP project is deployed on Alibaba Cloud's virtual host
Dec 05, 2016 pm 01:26 PMAfter purchasing Wanwang’s virtual host, I finally converted a previous project into a PHP project today. I used the TP framework. Alibaba’s virtual host is very easy to use. After importing the database, I used FTP to download the program. Upload the file to the server, Alibaba's virtual host (Linux host), click Run and the first time it appears:
require PHP > 5.3.0 !
Obviously the PHP version is too low. You can choose the PHP version on the host. Directly select the highest PHP version 5.5, run it, OK!
The imaginary page data is out!
But some files cannot be accessed, and this appears:
- Failed to load module: Public
After carefully studying the reason, it turns out that it is a problem with the case of the file path. My original development environment was windows, with upper and lower case. This must be in the same caseotherwise it will not work no matter how you change it,
There is a setting to ignore case in TP's documentation, but it doesn't seem to work after trying it again!
2.Verification code cannot be displayed
Access the verification code path separately to display the content. You can put it in the src of the IMG tag but the image will not be displayed.
The process is ignored, the final solution:
Put in the entry file:
define('APP_DEBUG',True);
Change True ofto False, final effect:
define('APP_DEBUG',False);
Refresh the page after making changes, OK, all problems are solved!
In short, this is my first time using the Think PHP framework. Due to the domestic framework, the documentation is very good, and with Du Niang’s help, it is easy to learn and get started! Highly recommended!

Hot AI Tools

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

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)
