Added: 1 year ago
From: thejacenxpress
Views: 14,774
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

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.

  • Good tutorial, thanks!

  • 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 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?

  • @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 :)

  • Thank you very much, it really helped me!

  • Thank you!

  • nice one just what I needed

  • Thank you!

  • oh my goodness! Turns out it was all about restarting the server after editing the php.ini file! Doh!

  • THANKS!!!! I had to get this working on Ubuntu 10.10. I had "php5" installed, but not "apache2" in my Synaptic Package Manager. I found the php.ini file under "etc/php5/apache2/php.ini". THANKS AGAIN!!!

    Also to add I made the server stop and start again by using these commands in Terminal:

    sudo /etc/init.d/apache2 stop

    sudo /etc/init.d/apache2 start

  • Comment removed

  • Comment removed

  • just want to say thank you! this tutorial is 100 times better than the zend document!

  • i found something like this! thx!!

  • Hi, could you please tell me how I create the project in the terminal for windows users. the line alias zf=/path/path/... does not work for me?? Thanks

  • Nice work !!! You saved my life :-)

    I am waiting you next Zend tutorials !!!

  • @ edmundjoras

    Yes : it does work with xampp on windows (it worked for me)

    don't forget two things : edit zf.bat and change the lines

    SET PHP_BIN= (...)

    SET PHP_DIR= (...)

    to

    SET PHP_BIN=C:\(...)\xampp\php\php­.exe

    SET PHP_DIR=C:\(...)xampp\php

    I also had to copy zf.bat and zf.php to the htdocs folder, so that when you create a new project, it'll be created in the htdocs folder.

  • Thanks a lot, it really helped ! =)

    Keep it up ! =)

  • does this method also work with installing zend with xampp on windows?

  • thx #2

  • @webfacer Also (ran out of characters) try typing in the word "sudo" before your declaration...like this:

    alias zf=/path/to/zf.sh [enter]

    sudo zf show version

    That will give you "super user" control which will allow you to execute some files that may only be available to 'root' aka the system.

    Good luck!

  • @webfacer The permissions can be changed through your terminal (where the version and projects can be checked/created) I actually have another video I created called CHMOD, just click my name and find it. Basically the folder that is holding your Zend download either does not allow writeable/executable permission or a parent folder (since it could be inherited)...go ahead and check out my other video and try it out, if you still have a problem send me another message to my inbox.

  • thx

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