Can I easily recompile PHP with all my current settings and enable SOAP with the new configuration?
5 answers
If you have the source code for this PHP version (quite old, but you can certainly find it somewhere, for example: http://www.php.net/releases/#5.1.6 ), yes, you can:
- use
phpinfo()
orphp -i
: the output will be the string "configure
" that was used to build your current PHP version - go to your sources directory and run this configure line with all its options; don't forget to add
--enable-soap
(if I remember correctly) to add a new extension! - Then create as you always did (
make
,make install
)
And voila; -)
And when you have a new executable and / or PHP module, just keep using the same one php.ini
, so you don't need to reconfigure everything.
+2
source to share