Posts

Showing posts from November, 2013

Apache not Starting in Xampp through control panel

Image
So you have done your work in web server and stopped all the services and switched of your computer, when you reboot it and start your xampp again then you may find that apache is not running and you might get like this as shown in image below To solve this first stop then go to the terminal and type pidof apache2 and you may find four to five different types of numbers for Eg: 1022,1023,1024,1026, these are the process created by apache and has not been killed,so kill it using command sudo kill -9 processno(Eg:sudo kill -9 1022) ,so kill all those process using the command shown for all the numbers. Then again type pidof apache2 to check if there are any process left,if you get again some numbers then kill it using the command shown above follow this until you don't get any numbers.Then press start,now all the services will be running and hence your web-server will be up and running. So before starting the xampp on reboot check for processes of apache a

Issue's related to Wordpress install in Ubuntu 12.10,13.04,13.10

Image
If you are thinking of developing website using popular blogging and CMS software Wordpress in Ubuntu locally in your machine then you may need to follow below steps to smoothly run your Wordpress. Prerequisites...? Get the Latest Wordpress software. How To Get The Result→ When you install xampp in /opt directory,by default you don't have any permissions of writing (or) deleting any files in that directory,so if you try to paste the wordpress directory in htdocs then it will not allow you to move. To solve this go to terminal and type chown -R www-data:www-data /opt/lampp/htdocs                                                                                                     (owner name):(groupname) Now, you got the permission to write and delete the files, so now move your wordpress to htdocs,then navigate to your favorite browser then type localhost/wordpress/wp-admin/install.php and follow the steps as instructed to install wordpress. Ok no

How To Add Menu Entry to Xampp in Ubuntu 12.10,13.04,13.10

Image
So you have installed the xampp in Ubuntu 12.10,13.04,13.10, if you haven't installed you want to go through my previous post " How to install xampp ". after installing you may want to add a menu entry (or) desktop shortcuts so that you can easily start and stop instead of doing it through terminal. Prerequisites...? You will need to install python-glade2 for the XAMPP control panel to work: Go to terminal and type  sudo apt-get install python-glade2 How To Get The Result→ Then create a file called XAMPP-Control-Panel.desktop  using text editor in  desktop (or) Home folder and put the following in it: [Desktop Entry] Version=1.0 Encoding=UTF-8 Name=XAMPP Control Panel GenericName=Control Panel Comment=XAMPP Control Panel Exec=gksudo "/opt/lampp/share/xampp-control-panel/xampp-control-panel" Icon=/opt/lampp/htdocs/favicon.ico StartupNotify=true StartupWMClass="xampp-control-panel.py" Terminal=false Type=Application Categories=Dev