Programmer bugs' blog

This content is password protected. To view it please enter your password below:


1- Download the latest version of PHP windows here select a Thread Safe
2- Copy the files in the folder c :/ appserv / then Extract in folder
3- Save the old version of php – php folder rename long way from being php5 php5-bak
4- Rename the new php folder into the folder with the name php5
5- Go to Start -> Control Panel -> System and Security -> Administrative Tools -> Click on Services
6- Find a service with the name apache2.2 then stop the service and start again
7- Please check with phpinfo, appserv Windows congratulations you are now using the latest version of PHP. good luck


Translated from Link

<FilesMatch "\.(?i:doc|odf|pdf|rtf|txt)$">
  Header set Content-Disposition attachment

When JQuery conflicts with other libraries follow this steps in the following code:

1- Attach jquery library:

<script type="text/javascript" src=""></script>

2- Attatch the other library (such as “Prototype”):

<script src="lib-path/prototype.js" type="text/javascript"></script>

3- Replace JQuery start symbol “$” with other by using “noConflict” JQuery function:

<script type="text/javascript">
    var $j = jQuery.noConflict();
    // Use jQuery via $j(...)
		$j("#divstart").click(function() {
			return false;