Archive for the “CPANEL” Category

PHP: installing magicwand

** REQUIRED ** ImageMagick version :: 6.3.5-9
Last-known-good ImageMagick version :: 6.3.5-9

1.) Check out the latest version from magicwand servers

svn co https://www.imagemagick.org/subversion/MagickWandForPHP/branches/MagickWandForPHP-1.0.7 MagickWandForPHP-1.0.7

I would recommend going to http://magickwand.org/ to verify the latest version , at the time of the post the latest was 1.0.7

2.) untar the compressed file using tar xvzf filename.tar.gz

3.) cd into the new folder and run phpize
4.) run ./configure
5.) make
6.) make test
7.) make install
8.) make clean

note * on cpanel the make install will install the extension in /usr/local/lib/php/extensions/no-debug-non-zts-20060613/ *
for all other distros you will need to move the magickwand.so to your extension folder. you can locate your current ext_dir by issuing the following command php-config –extension-dir

or added the following to your php.ini file
9) add extension=magickwand.so ** you may need to note the dir location of the module such as =/folder/magickwand.so
Magicwand

January 7, 2009 Posted Under: CPANEL, PHP   Read More

Cpanel: change Default page

The default page is located at /usr/local/apache/htdocs/

I would not recommend change the docroot within the httpd.conf file as this may get reset during apache updates.

December 7, 2008 Posted Under: CPANEL   Read More

cpanel: lowest numbered MX record points to local host

error
using a remote mail server while being hosted on a cpanel server. you will need to remove the domain from the localdomains file. You will then need to add the same domain to the remotedomains file.
or
rejected RCPT <user@domain.com>: lowest numbered MX record points to local host or error 451

solution

make sure the domain exist in /etc/localdomains  if it does not , adding the domain should fix this error

August 22, 2008 Posted Under: CPANEL   Read More

Cpanel: Account Creation Status: failed (Unable to add group

Error:
Account Creation Status: failed (Unable to add group

Solution:

Uninstall ncsd using the following commmand

rpm -e ncsd

Then remove any locked under /etc
rm -f *.lock

you may have a ptmp file under /etc also this will need to be removed or renamed.

Restart the server and try to create the account again

NCSD is caching the passwd file and cpanel is unable to write to it .

June 14, 2008 Posted Under: CPANEL   Read More

Fantastico: Premature end of script headers

Premature end of script headers: /usr/local/cpanel/whostmgr/docroot/cgi/addon_fantastico.cgi: Please check /usr/local/cpanel/logs/error_log for the exact error.

Solution:
run /scripts/checkperlmodules

This is caused due to missing perl modules
Also run if the above does not work
2) Upgrade YAML::Syck and File::Copy::Recursive:
1) /scripts/realperlinstaller YAML::Syck
2) /scripts/realperlinstaller File::Copy::Recursive

May 26, 2008 Posted Under: CPANEL   Read More