Posts Tagged "Ubuntu"

How to enable curl at localhost?

What is CURL? CURL is a library that allows you to connect and communicate via a variety of different protocols such as HTTP, HTTPS, FTP, Telnet etc CURL Error Message If curl isn’t running and your trying to run it In php you’ll more than likely be Seeing an error message like : “Fatal error: Call to undefined function curl_init()” How to enable CURL in Apache There are a few ways I found to go about enabling CURL in apache….

Read More

How to create new user in PhpMyAdmin at localhost

How to create new user in PhpMyAdmin at localhost? Go to phpmyadmin at your localhost if you are using xampp server than go with http://localhost/phpmyadmin or if you are using easyphp than go with http://127.0.0.1/phpmyadmin Now you can see different links related to phpmyadmin like database, sql, status, variables etc. Click on Privileges and now you will see different user is availble in your phpmyadmin. Look at the below of your list of users there is a link i.e. Add…

Read More

How to enable .htacces in localhost?

Enable htacces localhost – How to Enable htaccess in xampp (localhost)? Just go the Terminal and follow the following steps I enabled mod re-write by typing below command and restart the apache server. sudo a2enmod rewrite Now restart your apache2 by typing below command. sudo /etc/init.d/apache2 restart How to enable .htaccess in windows Using a text editor, open the httpd.conf file. In XAMPP, this file is found in the apacheconf directory Locate the following line of code: #LoadModule rewrite_module modules/mod_rewrite.so…

Read More

Install Apache Web Server on Ubuntu 9.10

This step-by-step howto shows a basic setup for Apache 2 web server. Apache is installed on Ubuntu 6.06 LTS Dapper, but instructions will probably work on any Ubuntu. This document is a work in progress, initially only required commands are listed without trough-out explanations. Install Apache $ sudo apt-get install apache2 Test it Surf to your own server on your own local computer: $ firefox “http://localhost” Shashi Dhar KumarShashi Dhar Kumar Experience in Web/software development including client server and implementation…

Read More

Install MySQL Server 5 on Ubuntu 9.10

Installing MySQL 5 Server on Ubuntu is a quick and easy process. It almost feels like it should be more difficult. Open a terminal window, and use the following command: sudo apt-get install mysql-server If you are running PHP you will also need to install the php module for mysql 5: sudo apt-get install php5-mysql To create a new database, use the mysqladmin command: mysqladmin create Shashi Dhar KumarShashi Dhar Kumar Experience in Web/software development including client server and implementation…

Read More

Recursive Permission Changes

To change the permissions of multiple files and directories with one command. Please note the warning in the chmod with sudo section and the Warning with Recursive chmod section. Recursive chmod with -R and sudo To change all the permissions of each file and folder under a specified directory at once, use sudo chmod with -R user@host:/home/user$ sudo chmod 777 -R /path/to/someDirectory Shashi Dhar KumarShashi Dhar Kumar Experience in Web/software development including client server and implementation using PHP, XML, MySQL…

Read More

PHPMyAdmin: Wrong permission on config file (Ubuntu)

When I was trying to access my phpmyadmin in Ubuntu OS,I have encountered a problem: Wrong permissions on configuration file, should not be world writable! I was  thinking of some access control error.  I have searched the web and found article containing this error. There are lot of link available there but after get lot of R&D on commands available on Ubuntu, I thaught problem with the access permission with the file config.inc.php is available in phpmyadmin to set the…

Read More