• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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