How to install the Zend Framework MAC + MAMP

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
14,903
Loading...
Alert icon
Sign in or sign up now!
Alert icon
Ratings have been disabled for this video.

Uploaded by on Aug 9, 2010

Windows users....although I do not use a PC, I have gotten personal comments from others on a PC who have had no problem installing. Usually the only trouble people run into is being so new to PHP that some of the basic concepts are harder to grasp...like not understanding where to find the .ini file, etc.

As you can tell, this is done on a mac, but this should be very similar for windows...if you are using Zend, you most likely already know which folder is your htdocs or www (or folder apache connects to) and windows does run with php.ini files as well. If anyone on windows is having trouble, let me know how and why either as a comment or PM and I'd be happy to add the edit here. Thanks

Although I do not have an error, the include path for the Zend Library must match the example in your php.ini file. This is done differently on windows and mac. On mac, after the initial include path, I am supposed to end the path with a colon ":" and then include my next path(without the words "include_path") rather than jumping down to the next line and making a whole new "include_path"... This may cause a problem later if you decide to incorporate PEAR into your projects.

How to install zend framework and use zend tool

Zend Quickstart (not for true true beginners) - http://framework.zend.com/manual/en/learning.quickstart.intro.html

Zend Music Album Tutorial - http://akrabat.com/zend-framework-tutorial/

In case you are unfamiliar with MAMP (or WAMP/XAMPP for Windows), it's a simple program that hosts a web server on your localhost. If you are having trouble getting it up and running, there are PLENTY of videos and tutorials for both windows and mac.

Best of luck!

Category:

Howto & Style

Tags:

License:

Standard YouTube License

Link to this comment:

Share to:

Uploader Comments (thejacenxpress)

  • When i create a project it says: "Testing Note: PHPUnit was not found in your include_path, therefore no testing actions will be created." wth!??! my phpunit is located here-> /Applications/MAMP/bin/php/php­5.3.6/bin/phpunit

    The funny thing is that it is in the include_path in my php.ini, should it be included somewhere else?

  • @maeishoj I reinstalled Zend and upgraded MAMP and am having the same "issue". The project is still made just fine you're just not getting an additional action. I've been able to do unit testing just fine later on manually...but I guess with this newer version Zend is trying to be a little more helpful and set things up for you. I'm trying to find a solution but not having much luck so far. Just know your project is still being created.

  • @thejacenxpress hey thanks for the reply!! I created a project and i went in the public folder to view it and i get: error occurred PAGE NOT FOUND!

    Couldl you tell me why? what should i do???

  • @maeishoj The page not found could be caused by multiple reasons (blah right!?) Try a couple of things first. Restart your MAMP servers. If that does not work make sure you've copied your Zend folder into this new projects folder (Because the Zend library is large it's not created every single time). If you haven't done this go into the downloaded framework folder/library/Zend...copy "Zend" into your new projects library folder and then try

  • @thejacenxpress Now I was following the Getting started with zend framework and I was creating actions via terminal, so in my case I was gonna browse to: localhost:8888/cd_collection/p­ublic/index/add and I was supposed to see "View script for controller index and script/action name add" but I get a 404 not found!!! luckly this was supposed to make things easier :D any ideas?

  • @maeishoj check your inbox, gonna run outta characters on this one :)

see all

All Comments (30)

Sign In or Sign Up now to post a comment!
  • THANK YOU! I can't tell you how long I've been trying to figure this out! For your other viewers, I highly recommend VirtualHostX coupled with Mamp. With it, you can make actual URLs (i.e. virtual hosts) like "mysite.dev" to retrieve in the browser. Easy to organize your sites in nice folders wherever you want.

  • @thejacenxpress Hey. i have in my htdocs the Zend framework. If I create a new project in there and either copy the zend in the new projects library or modify the index.php giving the path of the zend library (/../../Zend/library) it works! But if in htdocs I were to create a folder (let's say zend tutorials) and inside there I would create a project that I would get that PAGE NOT FOUND error, even copying the Zend in the library or giving the path as I told you! WTH!!??! Any idea?

  • Good tutorial, thanks!

  • Thank you very much, it really helped me!

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more