PHP+APACHE+MYSQL 开发的最佳方法论

发布于 2024-09-14 00:06:17 字数 256 浏览 3 评论 0原文

我想开始学习PHP。我查看了可用于安装 PHP+MySQL+Apache 组合的各种选项。但这一切似乎都太麻烦了,对 CONF 文件进行大量编辑总是会导致这样或那样的问题。所以我有几个问题要问:

1)像 WAMP 这样的东西对我有什么帮助?如果我安装 WAMP 就足够了吗? 2) 是否有一些类似 Eclipse 的 IDE(来自 Java 背景)可以让 WAMP 与其集成? (或者在记事本上打字是唯一可用的选项)?

请帮我详细解释一下。非常感谢您的时间和耐心。

I want to start learning PHP. I have had a look at the various options available to install the PHP+MySQL+Apache combination. But it all seems too cumbersome and a lot of editing to the CONF files always leads to one problem or the other. So I had a couple of questions to ask:

1) How will something like WAMP help me? If I install WAMP, will that be enough?
2) Isn't there some Eclipse like IDE ( coming from a Java Background ), that allows WAMP to be integrated with it? ( Or is typing on Notepad the only option available )?

Please help me out by explaining things a little elaborately. Thank you so much for your time and patience.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

森林很绿却致人迷途 2024-09-21 00:06:17

我个人使用 xamppnetbeans 用于我的本地 Web 开发。实际上,您可以在任意位置设置 netbeans 项目,因此只需将所有文件放在 xampp 的 htdocs 文件夹中(位于 C:\xampp)并直接编辑该文件夹中的文件即可。这将使您可以立即看到通过重新加载网页所做的任何更改。

xampp 允许您在本地计算机上运行 apache(安装并配置了 mod_php)和 mysql,甚至包括一个方便的面板,让您随时启动和停止它们。

netbeans 有很多可以轻松开发的工具,并且支持 Zend 等框架。如果您希望扩展,还可以将它用于许多其他语言。

i personally use xampp and netbeans for my local web development. you can actually set up the netbeans project wherever you want, so you can just place all your files in the htdocs folder of xampp (at C:\xampp) and edit the files in the folder directly. This will allow you to immediately see any changes you have made by reloading the web page.

xampp allows you to run apache (with mod_php installed and configured) and mysql on your local machine and even includes a handy panel to let you start and stop them at any time.

netbeans has a lot of tools for easy development and support for frameworks like Zend. You can also use it for many other languages should you wish to expand.

杀手六號 2024-09-21 00:06:17

我更喜欢 WAMP,因为它不会尝试对配置做任何花哨的事情...当您安装它时,您会获得 PHP、Apache、MySQL 和 phpMyAdmin,并且加载了它们的每个默认配置和扩展。这与单独安装它们相同,只是它们都在一个方便的目录中,并且您可以使用方便的托盘图标来重新启动服务和启用/禁用扩展。

至于 IDE,我使用 Eclipse PHP 开发工具 (PDT),但我也听说过有关 Netbeans 的好消息。 Eclipse 可以完成 Scott 描述的 Netbeans 能够完成的所有工作。您可能还想了解 Aptana,它是从 Eclipse PDT 分支出来的,但现在由不同的团队维护。

I prefer WAMP because it doesn't try to do anything fancy with configurations... when you install it, you get PHP, Apache, MySQL, and phpMyAdmin with each of their default configurations and extensions loaded. It's the same as installing them separately, only they're all in one convenient directory, and you get the handy tray icon to restart services and enable/disable extensions.

As for an IDE, I use Eclipse PHP Development Tools (PDT), but I've heard good things about Netbeans too. Eclipse can do everything Scott described Netbeans being able to do as well. You also might want to look into Aptana which was branched from Eclipse PDT but is now maintained by a different team.

跨年 2024-09-21 00:06:17

你可以继续从 apachefriends 安装 xampp,它带有一个 apache Web 服务器、mysql 数据库、phpmyadmin 和两个服务器的控制面板,安装速度相当快,使用默认设置你就可以完成设置。但不确定编辑器和网络服务器之间您想要什么集成。如果你指的是代码折叠、自动完成和所有这些东西,eclipse 有一个 php 友好的版本,netbeans 也是如此(据我所知,这两个是最受欢迎的选择)

you can go ahead and install xampp from apachefriends, it comes with an apache web server, mysql database, phpmyadmin and a control panel for both servers, and installs fairly quick and with the default settings you will be pretty much set. Not sure what integration you'd want between the editor and the webserver though. if you mean code folding, autocomplete and all that stuff, eclipse has a php-friendly version, and so does netbeans (these 2 are the most popular choices as far as i've seen)

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文