Thursday, December 22, 2016

WAMP server installation errors and solutions



1. How to solve WAMP - local server - 1 of 2 services running or WAMP icon is orange error

If you have this error? vcruntime140.dll missing error in wamp on windows First solve the problem. Need Help? Click Here or Download and install the file.


!Important - Then click wamp icon->Apache -> Service administration -> install service

2. *** ERROR *** The PHP configuration loaded file is: - should be: C:/wamp64/bin/apache/apache2.4.17/bin/php.ini or c:/wamp64/bin/php/php5.6.16/phpforapache.ini


  • copy php.ini file from - C:\wamp64\bin\php\php7.0.4 
  • past to - C:\wamp64\bin\apache\apache2.4.18\bin


Wednesday, December 14, 2016

How to allow remote access to WAMP server

When i try to access WAMP from my mobile i got this error:

Forbidden You don't have permission to access / on this server


then i insert Require all granted into 2 files :

1. C:\wamp64\bin\apache\apache2.4.18\conf\httpd
       
DocumentRoot "C:/wamp/www"
<Directory />
    Options None
    AllowOverride None
   Require all granted
</Directory>

<Directory C:/wamp/www>
    Options None
    AllowOverride All
    Require all granted
</Directory>

2. C:\wamp64\bin\apache\apache2.4.18\conf\extra\httpd-vhosts

<VirtualHost *:80>
ServerName localhost
DocumentRoot c:/wamp64/www
<Directory "c:/wamp64/www/">
Options +Indexes +FollowSymLinks +MultiViews
AllowOverride All
Require all granted
</Directory>
</VirtualHost>

3. Allow ports
    Controlpanel -- windows firewall -- advanced setting -- inbound rules -- ports -- all local or port 80

Wednesday, December 7, 2016

Some terminal commands for new Ubuntu users

1. how to find if php is installed on linux
     $ php --version OR $ php-cgi --version

2. How to restart Apache?
    sudo service apache2 restart or sudo restart apache2

How to get root privileges on ubunthu




1. Install gksu
    sudo apt-get install gksu 

2. Then type this command and enter the admin password
    gksudo nautilus

3. Now you can change permission on any folder

Thursday, December 1, 2016

unable to mount New Volume or unable to access location from Ubuntu




There might be some problem in your ntfs partition. You can fix it using  

ntfsfix                                       

Open terminal and type

  sudo ntfsfix /dev/sda2                                            
 
After successful completion of command try to remount the portition.


Are you install windows and ubunthu Dualboot 
 
You need to disable Windows fast start-up option.

Open Control Panel -> Energy Settings and select Change what the power buttons do.

Choose Change settings that are currently unavailable, scroll down and uncheck
Turn on fast start-up (recommended).

Restart the computer and you won't have this error anymore.