English 中文(简体)
PHP 抽样项目
原标题:PHP sample project with wamp

I installed wamp stack and then installed netbeans ide. The port number for apache is 100. Created one PHP project at

C:UsersaaaDocumentsNetBeans ProjectsPhp Project2

http:// localhost:100/Phpproject2/“rel=”nofollow。

当我点击时,见以下信息:“。 URL没有在服务器上发现”。

What else I need to do to connect http://localhost:100/PhpProject2/index.php to C:UsersaaaDocumentsNetBeans ProjectsPhp Project2?

请提供帮助。

最佳回答

If you go to http://localhost:100/, what do you see? What is your web root? The folder needs to be in your web root, and I would be surprised if it is C:UsersaaaDocuments

我在谷歌搜索了“坡脚”,并在Bitnami找到了产品,如果是你使用的产品,则缺省网络根基是:Program 文件BitNamiWAMP Stackapache2htdocs。 如果情况确实如此,那么你需要将<代码>NetBeans Projects 翻到这里。 (资料来源:。 第7页

问题回答

您需要把Patricia s Webroot编成C:UsersaaDocumentsNetBeans Project (在文档编码上查询

Or you can move/copy your files to the existing webroot, which may be something like c:wwwroot.

Apache doesn t just magically know where you put your website files, and setting the URL inside NetBeans doesn t actually configure the webserver (I think it s just so that auto-generated links are right).

你必须将你的档案移至阿帕奇安装(htdocs)的根子。 您应提及您的西澳大利亚航天局的安装。 在个人方面,我谨利用XXAMP安装。

Netbeans is just an IDE, it doesn t serve the files.





相关问题
Brute-force/DoS prevention in PHP [closed]

I am trying to write a script to prevent brute-force login attempts in a website I m building. The logic goes something like this: User sends login information. Check if username and password is ...

please can anyone check this while loop and if condition

<?php $con=mysql_connect("localhost","mts","mts"); if(!con) { die( unable to connect . mysql_error()); } mysql_select_db("mts",$con); /* date_default_timezone_set ("Asia/Calcutta"); $date = ...

定值美元

如何确认来自正确来源的数字。

Generating a drop down list of timezones with PHP

Most sites need some way to show the dates on the site in the users preferred timezone. Below are two lists that I found and then one method using the built in PHP DateTime class in PHP 5. I need ...

Text as watermarking in PHP

I want to create text as a watermark for an image. the water mark should have the following properties front: Impact color: white opacity: 31% Font style: regular, bold Bevel and Emboss size: 30 ...

How does php cast boolean variables?

How does php cast boolean variables? I was trying to save a boolean value to an array: $result["Users"]["is_login"] = true; but when I use debug the is_login value is blank. and when I do ...

热门标签