• Inviting everyone who uses WordPress management tools in Plesk
    The Plesk team is conducting a 60-minute research session that includes an interview and a moderated usability test.
    To participate, please use this link .
    Your experience will help shape product decisions and ensure the tools better support real-world use cases.

how reconfigure PHP5 with the option --enable-filepro

m0rpheu5

Regular Pleskian
Hey guys, i have a client that is needing to enable the filepro support on PHP, i found this link that says that i need to reconfigure PHP with --enable-filepro option, but how can i do that? where is the sources from PHP to reconfigure?

Please help me,
Thanks,
Guilherme
 
You can compile PHP with needed options from source. Just detect original options for ./configure with usual phpinfo() for default installed Plesk PHP and use it with additional option '--enable-filepro' for compiling PHP from source.
 
Hi IgorG,

I also need to recompile PHP to --enable the bcmath library.

I understand how to use phpinfo to get the current configuration, but I'm not sure exactly how to run the compilation.

Could you please explain in a bit more detail the exact command and folder location to recompile php ?

Thanks

CPJ
 
Just unpack PHP source and go to directory. Then use usual compilation procedure:

./configure --...... (all default options + your additional)
make
make install
 
Back
Top