Mohammed Abrar Ahmed
Mohammed Abrar Ahmed

Reputation: 2490

Create a basic simple web app in Zend Framework 1

I am trying to create a basic web app in zend Framework 1 and in around the web I mostly saw the tutorial for installation of ZF2 or latest.

I have followed the instruction from Zend quickstart and I have downloaded the .tar.gz and extracted to my localhost and when I run the app appending /public or /public/index.php it shows the error like below.

enter image description here

Please let me know if I am going in a wrong way or probably instruction to start in a correct way.

Upvotes: 0

Views: 175

Answers (2)

Upendra
Upendra

Reputation: 703

You forgot to add library into your project, Please check the Zend/ folder under library/ folder.

Upvotes: 1

Mohammed Abrar Ahmed
Mohammed Abrar Ahmed

Reputation: 2490

  • First make sure that you have zend framework install, if not install by typing

    sudo apt-get install zend-framework

  • Then go to your project folder cd /path/to/your/project

  • Then go to library folder of the project cd /path/to/your/project/library
  • Then run the command ln -s /usr/share/php/libzend-framework-php/Zend
  • Restart your server service apache2 restart

and thats it.

Upvotes: 0

Related Questions