736

How do I setup Zend Framework with WAMP?

Question:

I read that to include the Zend framework, I must include this on the include path in php.ini. But I have a doubt.

Where do I find the php.ini file in my WAMP with php 5.3.0?

Please help me because I am new to this topic and also to PHP...

Answer1:

i see the info you are talkin about (koen) but i wrote a simple helloworld.php in zend and i am tryin to run it so it takes me to a browser or it uses its own browser... but when i click the "run as php web page", it tells me it cant find the localhost(wamp), and when i even load zend newly, it cant find any server... well i just want it to connect to WAMP, and i wont mind knowing how it connects to XAMP, i run both services, but i would love to know more about WAMP, if you have any other suggestions please elaborate on it better... cos i am new to php and this zend framework

Answer2:

Left click the WAMP icon in your system tray. Under PHP, there's a php.ini option.

Answer3:

you can also do it from the index.php if you prefer. 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 <a href="http://fr.php.net/set_include_path" rel="nofollow">set_include_path</a>.

Answer4:

create a php file with phpinfo() in it. It will tell you a lot about the settings you use and also what php.ini file you use.

Recommend

  • Buttons on the same row - Css/Html
  • Elephant.io Client not working
  • How do I load data to a list from a dataReader?
  • Does anyone have recommendations for a good (and lightweight!) PHP mailer library?
  • Eclipse and Zend Debugger breaks in the first line always, despite having unchecked that option
  • How can I retrieve JSONdata from ASP.NET and send it to jQuery? (implementing FullCalendar)
  • SQL Server Replication : Removing broken subscriptions at the publisher
  • Returning from inside for loop causes type mismatch
  • Qt — pass events to multiple objects?
  • System.IO.Directory.GetFiles. No definition for GetFiles?
  • Why isn't RAD (Eclipse) able to properly detect WAS server startup?
  • SoundPlayer not playing any bundled windows sounds PCM wav files
  • How do I redirect with a Drop Down List, and not a Button?
  • Magento date text: where does it come from and how can I change it?
  • PHP Queue System with Codeigniter. HOW? [closed]
  • GLFW triangle will not change color
  • Should I optimize around reads or CPU time in Google App Engine
  • Equivalent of branch..merge for git-push
  • How to replace TouchesBegan with UIGestureRecognizer
  • Correctly Importing Apache Commons Math Package
  • lauch4j hello world program
  • Certain Arabic text gets incorrectly shown while other Arabic text gets showed normally?
  • PHP UTF-8 to GB2312
  • .NET video play library which allows to change the playback rate?
  • Detecting null parameter in preprocessor macro
  • Azure webjobs output logs indexing taking very long
  • Installing PHP 7 on digitalocean
  • Tomcat memory Leak
  • ADO and msqli connections very slow
  • Django simple Captcha “No module named fields” error
  • Marklogic : Query response time is very high
  • How to use remove-erase idiom for removing empty vectors in a vector?
  • Could not find rake using whenever rails
  • Cannot resolve symbol 'MyApi'
  • Javascript convert timezone issue
  • Why winpcap requires both .lib and .dll to run?
  • SVN: Merging two branches together
  • Hibernate gives error error as “Access to DialectResolutionInfo cannot be null when 'hibernate.
  • How to CLICK on IE download dialog box i.e.(Open, Save, Save As…)
  • Can Visual Studio XAML designer handle font family names with spaces as a resource?