Archive

Posts Tagged ‘Config’

Page Navigation for Wordpress

Jul 7th, 2010

Just a quick post as I understood something important about Wordpress famous plugin for paging – WP-PageNavi. My configuration for this was not very correct and it was getting 404 Not found in Google webmaster tool. I think you would not like to see those error in webmaster tool. And… READ MORE

Few Php Configuration Settings That Are Helpful In Adjusting Ourselves To New Php Environment (PHP 6)

May 1st, 2010

I have compiled few PHP configuration settings that are helpful in adjusting ourselves to new PHP environment.
Here are few php.ini setting you may be aware of that will expire in php6. It would be good to aware of these fading configurations setting as you may need this when you… READ MORE

Wordpress and Content Delivery Network

Mar 6th, 2010

Wordpress has a nice feature of moving Wp-Content folder to a different place. This can be helpful for Content Delivery Network management. Wp-Content directory include all theme files, plugins and any uploads you have.
We can use Content Delivery Network to parallelize the connection in Browser and distribute the loads… READ MORE

Fatal error: Maximum Execution Time of xx Second Exceeded in filepath.php

Apr 19th, 2008

Use set_time_limit(timeInSecond or 0); in your script or max_execution_time in php config file(php.ini) for setting execution time of your script. If you want unlimited execution time then use 0 for second.
You may still be getting “execution time exceeded” error after setting long time for “execution time” in php.ini or… READ MORE

Essential PHP Security – Chris Shiflett, O’Reilly Publication

Nov 17th, 2007

“Essential PHP Security” is an essential book for experienced PHP programmer. It discusses essential security measures you can take for making your PHP applications secure. Even if there are another team for your high profile web site’s security then also it is very useful. You will learn about many php.ini… READ MORE

Integrate PHP with Apache

Aug 29th, 2007

You need to configure apache a little for telling how to execute php files.For making php work with apache you first dump php suppose c:\php501\. Then add these lines to your apache httpd.conf file. ScriptAlias /php/ “c:/php501/”AddType application/x-httpd-php .phpAction application/x-httpd-php “/php/php-cgi.exe”
First check your apache server is running correctly. If… READ MORE

Few important Apache httpd.conf Directive

Aug 29th, 2007

Want to start learning Apache configuration settings. Start with these settings:
Server root. All files conf, htdocs, etc under it.ServerRoot “C:/Program Files/Apache Group/Apache2″
Script timeout:Timeout 300
Keep connection alive time:KeepAlive On
Max. request accepted keep alive request:MaxKeepAliveRequests 100
Keep Alive timeout:KeepAliveTimeout 15
Registered DNS name, or IP address hereServerName localhost:80… READ MORE

php.ini – PHP configuration file

Aug 27th, 2007

The file php.ini is used for setting php directive value. It changes the php’s behaviors.
What is php.ini file?
PHP will dump php.ini file as php.ini.dist and php.ini.recommended. In the absence of php.ini file php can use the default built-in configuration value. Rename php.ini.recommended file to php.ini and place it… READ MORE

Forbidden You don’t have permission to access ..

Aug 24th, 2007

You can customize the message shown to user when they access Forbidden web page. This is 403 status code header sent by server to browser.

Forbidden

You don’t have permission to access … on this server.Apache …. Server ……..
Just add this line to your Apache Config file (httpd):ErrorDocument 403… READ MORE

Stop Execution of PHP Pages

Aug 24th, 2007

Some files are login protected in PHP application and some are include files that need not run directly and can hold some important data not for direct public view.
For each login-protected page you will write login check script at top of the page.

<?php
If not login then
Redirect… READ MORE