February 19, 2009 - Posted by admin- 0 Comments
Setting a log file for Php errors..
Here is the tutorial about how to set up a log file for logging Php errors encountered during
the execution of the script
Steps to follow:
1)Go to /apache/bin
2)Open php.ini
3)Go to the line 309 or Find “log_errors” in “php.ini”
4)Simply replace “Off” with “On”
Now it would be like log_errors=”On”
So the errors would logged [...]
November 21, 2008 - Posted by admin- 0 Comments
Sometimes you may want to redirect http:// to https:// to force users through SSL encrypted pages
For this you need to
rewrite your .htaccess file in Apache
First Open your .htaccess file and write this
Redirect permanent http://www.site.com https://www.site.com
Now any visitor coming to your site by typing http://www.site.com would be automatically redirected to https://www.site.com…
November 10, 2008 - Posted by admin- 0 Comments
Instead of installing Apache Server and configuring it for Php there is easier way to get around it
Go to
http://www.apachefriends.com
And Download Xampp for Windows
With Xampp you can run your own server and also it comes with preconfigured server settings with Php and Perl and mySQL