Hello,
I installed the version xamp (xampp-win32-7.0.5-0-VC14-installer.exe) and since I have to work locally with drupal 7:08 I followed the directions to install different versions of php.
I created a folder called php-5.4.45 and copied the contents of the file (php-5.4.45-Win32-VC9-x86.zip).
I changed the signs in httpd-xampp.conf file:
#
# PHP-Module setup
#
#LoadFile "C: /xampp/php/php7ts.dll"
#LoadFile "C: /xampp/php/libpq.dll"
#LoadModule Php7_module "C: /xampp/php/php7apache2_4.dll"
#LoadFile "C: /xampp/php-5.6.21/php5ts.dll"
#LoadFile "C: /xampp/php-5.6.21/libpq.dll"
#LoadModule Php5_module "C: /xampp/php-5.6.21/php5apache2_4.dll"
LoadFile "C: /xampp/php-5.4.45/php5ts.dll"
LoadFile "C: /xampp/php-5.4.45/libpq.dll"
LoadModule php5_module "C: /xampp/php-5.4.45/php5apache2_4.dll"
I run phpinfo and the indication of the php version changes and stands with the setting.
Since installing drupal 7 returns me error in php-4.5.45 folder, I changed a few settings of the php.ini.
I notatao the memory_limit parameter that I brought 256M in phpinfo me always brings to 128.
It means you do not read the php.ini php-4.5.45 folder, but the php folder.
In the lines of: httpd-xampp.conf I also changed
<IfModule php7_module>
PHPINIDir "C: / xampp / php"
</ IfModule>
in
<IfModule php7_module>
PHPINIDir "C: /xampp/php-5.4.45"
</ IfModule>
But it returns me an error. You should also use the php version (php-6.5.21)
Can you tell me where I'm wrong?
Thank you
Gaetano