-1

I have a site hosted on a shared server and I use CPANEL to upload the files and do minor configurations, this means I do not have access to the root folders. The uploaded site is up, then it goes down for a reason I am not sure of.

The following is the error I saw on the error log file:

[27-Oct-2014 08:16:16 Africa/Johannesburg] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/imagick.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/imagick.so: cannot open shared object file: No such file or directory in Unknown on line 0

I have been searching the net, but I don't really get what I am looking for.

kya
  • 1,798
  • 8
  • 35
  • 61
  • What do you mean by site going down? Can you elaborate? What error do you get while you access your website? – Searock Oct 28 '14 at 13:50
  • 2
    If you're on a shared server, you should talk to your server administer/hosting provider about this. – Ronni Egeriis Persson Oct 28 '14 at 13:56
  • @Searock When I ping the domain the url wouldnt resolve at times – kya Oct 28 '14 at 13:59
  • @kya You didn't reply to my answer. Do you get any errors while visiting your website from the browser? Or do you get a blank white page? How often do you face this problem? Try logging the errors into a file. `ini_set("log_errors", 1);` `ini_set("error_log", "php-error.log");` Please refer to http://stackoverflow.com/a/3531852/92487 – Searock Oct 29 '14 at 09:45
  • I get a "Page not found" Message as if the site is down. but when saw this error in the error log page that was created by cpanel – kya Oct 31 '14 at 12:12
  • I cant do much from my site. – kya Oct 31 '14 at 12:13
  • Have you added the code and checked php-error.log log file? – Searock Nov 01 '14 at 10:16

1 Answers1

-2

I can see ImageMagick in not installed on your server and due to that you are getting this issues. Please try to install it with

yum install ImageMagick-devel ImageMagick-c++-devel ImageMagick-perl
24x7servermanagement
  • 2,520
  • 1
  • 13
  • 11
  • The OP has stated that he has a shared server and have also mentioned that he does not have root access. – Searock Oct 30 '14 at 00:48
  • Nice answer, but I don't have access to root and terminal. – kya Oct 31 '14 at 12:14
  • You will have to discuss this with your hosting provider. They will install imagick on your server OR correct imagick.so path if imagick is already installed on the server. – 24x7servermanagement Nov 03 '14 at 12:53
  • Wrong reply. You answer by quickly, and your reply it's not good process for Cpanel serever. if you has not ImageMagick-devel, that it's not problem. Sys admin must be re-run Easyapache for correct problem with libraries COMPILED with old PHP version. – abkrim May 19 '16 at 08:40