Configuring PHP in the environment of hbuilder

Time:2020-1-19

Installation of xampp

https://blog.csdn.net/qing666888/article/details/81914389

After installing and configuring xampp, Download PHP plug-in in hbuilder, tools → plug-in installation

 

 

Create a project, take mobile app as an example, and specify the project path to the HtDocs directory of xmapp

 

Configure PHP server

Turn on the view and change mode, and set the external server

 

Click external server to create

 

The server name matches the name you just created

 

 

Specify the server to open the PHP class file as the server we just created

 

 

Test whether the configuration is successful

 

 

 

 

Page Jump display blank page

When HTML jumps to the PHP page, the internal server port is used. When the internal and external server ports are inconsistent, a blank page will be displayed. In case of blank page problem, modify the port of internal server to be consistent with that of external server.

 

 

Recommended Today

RCAST 35: add type to currency

– font ALT: Simsun; MSO font charset: 134; mso-generic-font-family:auto; mso-font-pitch:variable; mso-font-signature:3 680460288 22 0 262145 0;} @font-face {font-family:”Cambria Math”; panose-1:2 4 5 3 5 4 6 3 2 4; mso-font-charset:1; mso-generic-font-family:roman; mso-font-format:other; mso-font-pitch:variable; mso-font-signature:0 0 0 0 0 0;} @font-face {font-family:Calibri; Variable; Ose-1: 216301111; mso-font-charset:134; mso-generic-font-family:auto; mso-font-pitch:variable; mso-font-signature:3 680460288 22 0 262145 0;} /\* Style […]