PHP+MySQL+Apache搭建环境
PHP+MySQL+Apache搭建 环境 我也不知道用什么 环境 比较好,书中说有好几种,Php+mysql+iis的 环境 ,我用Iis配置比较麻烦,而且有个APPServ的包能够直接安装,对于新手的我来说,我就直接安装了appserv,等我对php小有研究的时候,再使用Iis,其他的一些方法
PHP+MySQL+Apache搭建环境
我也不知道用什么环境比较好,书中说有好几种,Php+mysql+iis的环境,我用Iis配置比较麻烦,而且有个APPServ的包能够直接安装,对于新手的我来说,我就直接安装了appserv,等我对php小有研究的时候,再使用Iis,其他的一些方法来进行搭建。以下是我的几个关键性的步骤:
- Appserv的安装
- Dreamwaver中php的站点设置
- 查看简单Php网站
Appserv的安装
首先前往http://www.AppServnetwork.com/下载Appserv的安装包,安装,安装过程中需要注意,端口选择时,默认80,如果在IIS上已经存在,就改成81,82等。mysql的密码最好填写成root,方便日后使用,编码方式选择GB2312.安装完成后,在浏览器中输入http://localhost:81/ 就能查看到appserv的页面,说明都安装成功。
Dreamwaver中php的站点设置
php可以使用zend studio和dreamwaver进行编辑生成,因为本人用dreamwaver,也就没有研究zend studio。这里主要讲下如何使用dreamwaver进行站点设置,方便程序的调试。
dreamwaver中点击站点->管理站点->添加站点
高级中服务器模型改成phpmysql。前缀需要统一,后面是服务器下的文件夹mr/01/
查看简单Php网站
刚配置完想查看php的时候出现了一个问题,就是按F12调试的时候页面是能打开,但是Php的代码就不能执行了,然后去百度了下,查找了下,发现真的是好傻好天真啊。。。原来按F12出来的是直接页面的显示,而脚本是不执行的。于是我在浏览器中输入了http://localhost:81/mr/01/index.php页面就显示出来了。81的端口号就是一开始装apache的那个端口号。这样我终于可以对网站进行调试了
小女子木有用过Php也木有大神教我怎么用,写这个的目的也只是让自己有个学习的记录,也希望如果有哪个大神看到的话,能指点下我,哪里做错了或者有更方便的方法,希望大神们不吝赐教哟,有好的资料也请分享给我,先谢过了!

Hot AI Tools

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

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

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

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)

Hot Topics

Windows Recovery Environment (WinRE) is an environment used to repair Windows operating system errors. After entering WinRE, you can perform system restore, factory reset, uninstall updates, etc. If you are unable to boot into WinRE, this article will guide you through fixes to resolve the issue. Unable to boot into the Windows Recovery Environment If you cannot boot into the Windows Recovery Environment, use the fixes provided below: Check the status of the Windows Recovery Environment Use other methods to enter the Windows Recovery Environment Did you accidentally delete the Windows Recovery Partition? Perform an in-place upgrade or clean installation of Windows below, we have explained all these fixes in detail. 1] Check Wi

In this article, we will learn about the differences between Python and Anaconda. What is Python? Python is an open source language that places great emphasis on making the code easy to read and understand by indenting lines and providing whitespace. Python's flexibility and ease of use make it ideal for a variety of applications, including but not limited to scientific computing, artificial intelligence, and data science, as well as creating and developing online applications. When Python is tested, it is immediately translated into machine language because it is an interpreted language. Some languages, such as C++, require compilation to be understood. Proficiency in Python is an important advantage because it is very easy to understand, develop, execute and read. This makes Python

How to quickly build a statistical chart system under the Vue framework. In modern web applications, statistical charts are an essential component. As a popular front-end framework, Vue.js provides many convenient tools and components that can help us quickly build a statistical chart system. This article will introduce how to use the Vue framework and some plug-ins to build a simple statistical chart system. First, we need to prepare a Vue.js development environment, including installing Vue scaffolding and some related plug-ins. Execute the following command in the command line

Players can collect different materials to build buildings when playing in the Mistlock Kingdom. Many players want to know whether to build buildings in the wild. Buildings cannot be built in the wild in the Mistlock Kingdom. They must be within the scope of the altar. . Can buildings be built in the wild in Mistlock Kingdom? Answer: No. 1. Buildings cannot be built in the wild areas of the Mist Lock Kingdom. 2. The building must be built within the scope of the altar. 3. Players can place the Spirit Fire Altar by themselves, but once they leave the range, they will not be able to construct buildings. 4. We can also directly dig a hole in the mountain as our home, so we don’t need to consume building materials. 5. There is a comfort mechanism in the buildings built by players themselves, that is to say, the better the interior, the higher the comfort. 6. High comfort will bring attribute bonuses to players, such as

PHP integrated environment packages include: 1. PhpStorm, a powerful PHP integrated environment; 2. Eclipse, an open source integrated development environment; 3. Visual Studio Code, a lightweight open source code editor; 4. Sublime Text, a A popular text editor, widely used in various programming languages; 5. NetBeans, an integrated development environment developed by the Apache Software Foundation; 6. Zend Studio, an integrated development environment designed for PHP developers.

Network security reinforcement techniques for building web servers under CentOS7 The web server is an important part of the modern Internet, so it is very important to protect the security of the web server. By hardening network security, you can reduce risks and avoid potential attacks. This article will introduce network security reinforcement techniques commonly used when building web servers on CentOS7, and provide corresponding code examples. Update your system and software First, make sure your system and software are up to date. You can use the following command to update

In today's information-rich era, social media platforms have become the main way for people to obtain and share information. For individuals and enterprises, establishing an effective account network to achieve maximum dissemination of information and enhance influence has become an urgent challenge that needs to be solved. 1. How to build an account matrix? 1. Clarify the target audience. Before building an account matrix, the key is to clearly define the target audience and gain an in-depth understanding of their needs, interests, and consumption habits, so that a more targeted content strategy can be developed. 2. Choose the appropriate platform. According to the characteristics of the target group, choose the appropriate social media platform for layout. Currently, the mainstream social media platforms include Weibo, WeChat, Douyin, Kuaishou, etc. Each platform has its own unique user groups and communication characteristics, and the selection needs to be based on the actual situation.

Setting environment variables on Windows 11 can help you customize your system, run scripts, and configure applications. In this guide, we'll discuss three methods along with step-by-step instructions so you can configure your system to your liking. There are three types of environment variables System environment variables – Global variables are the lowest priority and are accessible to all users and applications on Windows and are typically used to define system-wide settings. User Environment Variables – Higher priority, these variables only apply to the current user and process running under that account, and are set by the user or application running under that account. Process environment variables – have the highest priority, they are temporary and apply to the current process and its sub-processes, providing the program
