Tuesday, 29 April 2014

change database upload size in wamp

change database upload size in wamp

Go to  C:\wamp\bin\apache\apache2.2.8\bin\php.ini

(or)

Click on WAMP --> Select PHP -->Select PHP.INI


Find:
post_max_size = 8M
upload_max_filesize = 2M
max_execution_time = 30
max_input_time = 60
memory_limit = 8M

Change to:
post_max_size = 750M
upload_max_filesize = 750M
max_execution_time = 5000
max_input_time = 5000
memory_limit = 1000M

Then restart wamp to take effect

Friday, 25 April 2014

wamp 500 internal server error .htaccess

Enable below modules on WAMP Server

Enable Apache -> Apache modules -> rewrite_module
Enable Apache -> Apache modules -> headers_module

Reference:
http://www.steptoinstall.com/wamp-500-internal-server-error-htaccess-php-codeigniter.html

Wamp Server as LAN or WAN

 How to make Wamp server in windows 2008 as LAN or WAN

Step1:
Go to D:\\wamp\bin\apache\Apache2.4.4\conf
open httpd.conf

Find below code:

<Directory "D:/wamp/www">
     Order Deny,Allow
     Deny from all
     Allow from 127.0.0.1
     Allow from ::1
     Allow from localhost
</Directory>

Replace with below code:

<Directory "D:/wamp/www">
     Order Deny,Allow
     Deny from all
     Allow from 127.0.0.1
     Allow from ::1
     Allow from localhost
     Allow from all
</Directory>

With above settings you can access http://localhost as http://192.168.0.2 in Client Machine

How to make PHPMyAdmin as LAN or WAN

Go to D:\\wamp\alias
Open phpmyadmin.conf file

Find the below code :

Order Deny,Allow
Deny from all
Allow from 127.0.0.1
 
Replace With:

Order Allow,Deny 
Allow from all
 
Do the above Setting for SQLBUDDY,WEBGRIND
 
References:

 http://www.logicspot.com/technology/viewing-a-locally-hosted-website-with-your-smartphone/

 http://superuser.com/questions/432794/how-to-allow-remote-access-to-my-wamp-server

 http://manikandan-sysadmin.blogspot.in/2013/05/how-to-access-wamp-server-in-lan-or-wan.html

 http://www.bulletprooftemplates.com/how-to-install-wamp-20

 http://www.codeproject.com/Tips/395286/How-to-Access-WAMP-Server-in-LAN-or-WAN
 
 http://techtutorial467.blogspot.in/2013/07/how-to-access-wamp-server-in-lan-or-wan.html

 http://www.kristengrote.com/blog/articles/how-to-set-up-virtual-hosts-using-wamp

 http://superuser.com/questions/432794/how-to-allow-remote-access-to-my-wamp-server