Today, i download php-5.5.4-Win32-VC11-x86(Thread safe) and extract it particular folder and change the httpd.conf as follows
LoadModule php5_module "D:/Software/php-5.5.4-Win32-VC11-x86/php5apache2_4.dll"
AddHandler application/x-httpd-php .php
PHPIniDir "D:/Software/php-5.5.4-Win32-VC11-x86"
My older version is php-5.4.15-Win32-VC9-x86
When i run the phpinfo() function it always show older version number and it not rebuilted.
See attached image
You see in image, the configuration file is in new version but the build date and compiler not changes...so the extension of new version not works
Anybody please give the instruction, how to rebuilt PHP with correct microsoft compiler and version
Edit:
I change windows environment PATH to new php folder as
PHP PATH
C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files\NVIDIA Corporation\PhysX\Common;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Program Files\Java\jdk1.7.0_21\bin;D:\Software\php-5.5.4-Win32-VC11-x86;D:\Software\mysql-5.6.11-win32\bin;C:\Program Files\Windows Live\Shared;C:\Program Files\TortoiseSVN\bin
as well i restart apache and system many times
From the documentation:
If you are using PHP with Apache 1 or Apache2 from apache.org (not recommended) you need to use the older VC6 versions of PHP compiled with the legacy Visual Studio 6 compiler. Do NOT use VC9+ versions of PHP with the apache.org binaries.
According to the screen-shot it seems you're using Apache2.0 - try downloading the latest Apache version provided by Apache Lounge and if that doesn't work re-install PHP 5.5.4
You can also try the following:
PHPIniDir
)PATH
in the system variables (make sure to remove the old path!)