Showing posts with label Apache. Show all posts
Showing posts with label Apache. Show all posts

Monday, July 15, 2013

Starting New Zend Framework Project

Hello, I'm back with new Zend Framework Tutorials. Go through these given links before directly starting from this tutorial:


In, this tutorial I'll explain how to create new Zend Project on your server with NetBeans IDE. Follow the steps as show in image below:
    [Image 1]

    [Image 2]



















[Image 3]

    [Image 4]


    


























[Image 5]


If you see directory structure like image 5, then congratulations...!!! your  Zend Project is ready to start.

Other ways to create project:
Zend Framework having powerful command line interface for doing work more easily. In Zend framework library you downloaded, there is "bin" folder contains zf.sh and zf.bat files.
- First go to the directory where you want to create your project.
- path-to-bin/zf.bat  create  project  project-name

Now, I created virtual-host named http://zf2-local.com.  This virtual host points to my public folder not root folder of project.




That's it, if you are able to see this type of page, then your created project works very well.



Sunday, June 2, 2013

Setup LAMP server on Ubuntu

Install Apache2 server


sudo apt-get install apache2




Install PHP

sudo apt-get install php5 libapache2-mod-hp5
Install MySQL

sudo apt-get install mysql-server


Install PHPMyAdmin
sudo apt-get install phpmyadmin
And select apache2 as shown in image below,

It'll ask for phpmyadmin configuration and press "NO".



Then type below commands:
sudo cp /etc/phpmyadmin/apache.conf /etc/apache2/conf.d
sudo /etc/init.d/apache2 restart
Now, open your browser,




uninstall phpmyadmin:

sudo apt-get remove --purge phpmyadmin