• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

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