论文部分内容阅读
动态Web页面开发中,PHP语言已经成为最常用的脚本语言之一,特别是在Linux系统上。因为Linux/FreeBSD+PHP+MySQL几乎是免费的,而且稳定性超过了NT下运行的ASP语言。但是直接在Linux下调试PHP是一件非常麻烦的事,而且需要熟悉Linux操作系统。更不方便的是制作页面,在Linux操作系统下面可没有大家用得很顺手的,类如DreamWeaver, FrontPage等常用的网页制作工具。所以一个比较可行的方法是在熟悉的Windows系统中调试,然后放到稳定的Linux上去运行。如果你只是为了学习PHP,那也应该在WINDOWS下调试。下面我介绍一下怎样在Windows中设置PHP本地开发环境。准备,这里我用的是Win2000+IIS+PHP4+Mysql。在WinNT,Win98下也是可以的。服务器可以选用其他的(如Apache的Windows版,Omni HTTPd),但是既然已经有了IIS就用它吧。PHP用最新的PHP-4.0.3-Win32,数据库采用Mysql-shareware-win32-1.1这是一个共享版,虽然有30天限制,但过期使用仍无任何限制。因为MySOL非常之好用,相信你会去购买的。锄此之外,还需要下载Browscap.ini.另外,为了
In dynamic Web page development, the PHP language has become one of the most commonly used scripting languages, especially on Linux systems. Because Linux / FreeBSD + PHP + MySQL is almost free, and stability than ASP language running under NT. However, debugging PHP directly under Linux is a very troublesome thing and requires familiarity with the Linux operating system. More inconvenient is the production of the page, in the Linux operating system can be used without any very smoothly, such as DreamWeaver, FrontPage and other commonly used web production tools. So a more viable approach is to debug in a familiar Windows system and then run it on a stable Linux. If you just want to learn PHP, it should also be debugged under WINDOWS. Here I introduce how to set up a PHP PHP native development environment. Ready, here I use Win2000 + IIS + PHP4 + Mysql. In WinNT, Win98 is also possible. Server can choose other (such as Apache’s Windows version, Omni HTTPd), but since you already have IIS use it. PHP with the latest PHP-4.0.3-Win32, the database using Mysql-shareware-win32-1.1 This is a shared version, although there are 30 days limit, but expired use still no limit. Because MySOL is very easy to use, I believe you will go to buy. In addition, you also need to download Browscap.ini. In addition, in order to