- Posts Tagged ‘Config’

Page Navigation for WordPress

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… (Continue)

WordPress and Content Delivery Network

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… (Continue)

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

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… (Continue)

Essential PHP Security – Chris Shiflett, O’Reilly Publication

"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… (Continue)

Integrate PHP with Apache

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… (Continue)

Few important Apache httpd.conf Directive

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… (Continue)

php.ini – PHP configuration file

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… (Continue)

Forbidden You don’t have permission to access ..

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. ForbiddenYou don't have permission to access ... on this server.Apache .... Server ........ Just add this line to your Apache Config file (httpd):ErrorDocument 403 /forbidden.html… (Continue)

Stop Execution of PHP Pages

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… (Continue)