bojanpejic.com
Scrap Book About Web – Programming – Development – Places, and more 8-)
Scrap Book About Web – Programming – Development – Places, and more 8-)
Dec 17th
This post represents a small guide of how to setup your LAMP (Linux-Apache-MySQL-PHP) under Kubuntu (this works also for Ubuntu).
Usually LAMP tutorials guide you to install one by one all the applications, that looks something like this:
sudo apt-get install apache2 sudo apt-get install php5 sudo apt-get install mysql-server
There is one more easy solution, and the only difference is that it installs all + some other packages for LAMP.
sudo apt-get install lamp-server^
When installation of new packages finishes you have you own LAMP setup! Test it entering http://localhost in your browser it should say It works!
For adding PhpMyAdmin execute the following command in console:
sudo apt-get install phpmyadmin
It is possible when you type in your browser http://localhost/phpmyadmin/ that phpmyadmin don’t runs. Then you have to create a link in your www directory:
sudo ln -s /usr/share/phpmyadmin /var/www/phpmyadmin
After doing this http://localhost/phpmyadmin/ should work now!
To have permissions to your www directory do following:
sudo chown username:username /var/www
Enable Apache mod_rewrite module and restart Apache for taking effects:
sudo a2enmod rewrite sudo /etc/init.d/apache2 restart
You can enable or disable some other modules like this.
Now you have your LAMP up and the work can start :)
Nov 22nd

Picture from robertbasic.com
Few days ago my friend Robert Bašić has posted his review of a book named “Zend Framework 1.8 Web Application Development” on his blog. Here is a short quote from that review:
The book starts off with a basic application (yep, “Hello world!”), explains the bootstrapping, configuring, working with action controllers, views and handling errors… The second chapter continues with explaining the MVC architecture, the front controller, router, dispatcher… It even has a nice flowchart about the whole dispatch process, great stuff.
It’s a not too long, but a well written and informative review. So, if you’re interested in whole review and what’s Robert saying about the book, I recommend you to visit his blog and read his nice post!