Wamp in the release of multiple versions of PHP, loading, said the GD library is not open.
Look, Phpinfo ()
Pointing to the old php.ini, here is how to change to a new version of PHP.ini consult
There are several ways to try it out online. Thank you.
Reply to discussion (solution)
PHP extensions need to be compatible with PHP master files
The environment settings required for different versions of the
Therefore, it is recommended that you make a httpd.conf for each PHP version and copy to apache2/conf when switching versions
With the multi-site configuration httpd-vhosts.conf This is turned on, in this case how to do?
Is "Each PHP version made a httpd.conf, when switching versions to copy to Apache2/conf"?
Thank you
Want to know the different version of httpd.conf major changes to which parameters, can be downloaded to it. Thank you
You need to set the correct PHP configuration file to load so that you can switch to the desired version.
Http://www.163ns.com/zixun/post/5838.html
Is this supposed to be okay? I'll try when I'm not busy.
Thank you
1, virtual host does not belong to PHP support, no need to change.
2, httpd.conf in the actual PHP-related only these few lines
Phpinidir "/AMP/PHP54"
LoadFile "/amp/php54/php5ts.dll"
LoadModule php5_module "/amp/php54/php5apache2_2.dll"
AddType application/x-httpd-php. php
Set broken changes with PHP version (that is, the path is different)
General configuration in the explanation, there is no LoadFile "/amp/php54/php5ts.dll" This sentence
In fact, this sentence is very important, is the key to the green configuration. He can ensure that the support library required for PHP is found in the directory where the Php5ts.dll is located.
There are also some support libraries required for third-party extensions, which also need to be loaded, such as
Support Library for Redis
LoadFile "/amp/php54/ext/php_igbinary.dll"
Support Library for SWSC
LoadFile "/amp/php54/ext/swscale-0.dll"
You can try to preload the required support library when you find that some PHP extensions cannot be loaded.
Okay, thanks.