[英]How do I setup Zend Framework with WAMP?
I read that to include the Zend framework, I must include this on the include path in php.ini. 我读到要包含Zend框架,必须在php.ini中的include路径中包含它。 But I have a doubt.
但是我有一个疑问。
Where do I find the php.ini
file in my WAMP with php 5.3.0? 在WAMP中使用php 5.3.0在哪里可以找到
php.ini
文件?
Please help me because I am new to this topic and also to PHP... 请帮助我,因为我是这个主题以及PHP的新手。
Left click the WAMP icon in your system tray. 左键单击系统任务栏中的WAMP图标。 Under PHP, there's a php.ini option.
在PHP下,有一个php.ini选项。
you can also do it from the index.php if you prefer. 您也可以根据需要从index.php进行操作。 see the following code
看下面的代码
set_include_path(
'PATH_TO_YOUR_ZEND_INSTALL' . PATH_SEPARATOR .
APPLICATION_PATH . '/../library' . PATH_SEPARATOR .
APPLICATION_PATH . '/models' .
PATH_SEPARATOR . get_include_path() );
The manual of set_include_path . set_include_path的手册。
create a php file with phpinfo() in it. 创建一个带有phpinfo()的php文件。 It will tell you a lot about the settings you use and also what php.ini file you use.
它会告诉您很多有关所使用的设置以及所使用的php.ini文件的信息。
我看到了您正在谈论的信息(koen),但是我在zend中编写了一个简单的helloworld.php,我正在尝试运行它,因此它会将我带到浏览器或使用自己的浏览器...但是当我单击“作为php网页运行”,它告诉我它找不到localhost(wamp),而当我什至新加载zend时,它也找不到任何服务器...好吧,我只希望它连接到WAMP,我不介意知道它如何连接到XAMP,我同时运行这两个服务,但是我想了解有关WAMP的更多信息,如果您有任何其他建议,请对其进行详细说明... cos我是php和这个zend框架的新手
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.