What’s the CentOS server command to enable getimagesize and CURL? Or the command to check if they are enabled? I need these both enabled for a WordPress plugin I’m using.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Click below to sign up and get $200 of credit to try our products over 60 days!
You can enable those PHP modules by running to following commands:
getimagesizefunction, I think that you need to enable
php.inifile. To do that try the following:
php -i | grep php.inito find out the location of your php.ini file
Edit the file with your favorite editor
allow_url_fopenand set it to
Hope that this helps! Regards, Bobby