Apache

Custom php.ini File in cPanel

October 1, 2015 Jordansphere Apache

In this example I will be creating a custom php.ini file in my WordPress website which runs on a cPanel server using SuPHP. I will also be turning off PHP display errors as a test.   1) Create your php.ini file in your public_html folder and add the following: # vi /home/jordansphere/public_html/php.ini display_errors = Off […]

More

apache, htaccess, suphp,

cPanel libMagickWand.so.2 PHP Extension Error after UPCP Update

August 7, 2015 Jordansphere Apache

Centos: 6.7 WHM: 11.50.0 Apache: 2.2.39 PHP: 5.4.42 I awoke today to find all websites hosted on one particular cPanel server showing the following message at the bottom of every web page.   Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-xxxxxxx/imagick.so' – libMagickWand.so.2: cannot open shared object file: No such file or directory in Unknown on […]

More

PHP White Screen

April 2, 2014 Jordansphere Apache

Scenario: A new webserver setup. HTML pages load fine but PHP shows blank white screen. Apache 2.x / Centos 6.x / PHP 5.3.3   First of all make sure PHP is installed. Then ensure the following lines are in the Apache configuration LoadModule php5_module modules/libphp5.so AddHandler php5-script .php If the same symptoms still persist then […]

More

Exporting SSL certificates for IIS

October 2, 2013 Jordansphere Apache

IIS requires a .pfx format to import. I will show you two commands Command to export a SSL certificate from Tomcat to IIS keytool -importkeystore -srckeystore certificates.ks -srcstoretype JCEKS -destkeystore jordansphere.pfx -deststoretype PKCS12 Note: You'll need the original keystore password for the export.  Command to export a SSL certificate from Apache to IIS openssl pkcs12 -export […]

More

“The file type is not recognizable. Select another file” – Import pfx file into IIS

October 2, 2013 Jordansphere Apache

I wanted to move a wildcard SSL certificate from Apache to IIS 7.5. From the server running Apache server I exported it using: openssl pkcs12 -export -out jordansphere.pfx -inkey jordansphere_cert.key -in jordansphere_cert.pem I then FTP'd this to my IIS server and tried to import. However, this message appeared: "The file type is not recognizable. Select […]

More

FTP binary ascii file SSL certificate,

Apache consuming all memory on a small VPS

April 16, 2013 Jordansphere Apache

Scenario: We have a user with VPS (Centos 6) server. The server will occasionally consume all its memory and lock up completely. Only a “reset” of the Virtual Machine will bring it back as the VMware Tools becomes unresponsive as well. The server only runs a small WordPress site (with MySQL server). It started with […]

More

Powered by WordPress. Designed by elogi.