- feedCurrently Browsing: PHP and Coding
-
- Launch
How do I increase the PHP upload limits? Applies to: All (dv) Difficulty: Medium Time Needed: 10 Tools Required: SSH, root access, vi knowledge Applies to: All (gs) Difficulty: Medium Time Needed: 10 Tools Required: SSH, root access, vi knowledge (mt) Media Temple makes a concerted effort to ensure the accuracy of this conte ... Applies To: (gs), All (dv)
- Launch
System Paths for (dv) 4.0 TIP: This page has moved. Please see: System Paths. Applies To: (dv) 4.0
- Launch
Installing PECL extensions Applies to: (gs) Difficulty: Medium Time Needed: 20 Tools Required: SSH, vi knowledge Applies to: (dv) Difficulty: Medium Time Needed: 20 Tools Required: SSH, vi knowledge Overview PECL is a repository for PHP Extensions, providing a directory of all known extensions and hosting facili ... Applies To: (gs), All (dv)
- Launch
How do I enable CloudFlare? Applies to: (gs) Difficulty: Easy Time Needed: 10 Tools Required: AccountCenter access Applies to: All (dv) Difficulty: Easy Time Needed: 10 Tools Required: AccountCenter access Applies to: (ve) Difficulty: Easy Time Needed: 10 Tools Required: AccountCenter access Overview CloudFlar ... Applies To: (dv) 4.0, (gs), (ve)
- Launch
Using Cron Applies to: (dv) 4.0 Difficulty: Easy Time Needed: 10 Tools Required: Plesk administrator access Applies to: (dv) 3.5 Difficulty: Easy Time Needed: 10 Tools Required: Plesk administrator access Applies to: (gs) Difficulty: Easy Time Needed: 10 Tools Required: AccountCenter access Ove ... Applies To: (dv) 3.5, (dv) 4.0, (gs)
- Launch
How can I turn off safe_mode on an (dv) Dedicated-Virtual Server with Plesk? Applies to: (dv) 4.0 Difficulty: Medium Time: 10 Tools needed: SSH Applies to: (dv) 3.5 Difficulty: Easy Time: 10 Tools needed: SSH Applies to: (dv) 3.0 Difficulty: Easy Time: 10 Tools needed: SSH For a discussion of Safe Mode and security, please see PHP Safe Mode, problems and work-a ... Applies To: (dv) Nitro, All (dv)
- Launch
Using .htaccess files Applies to: (gs) Difficulty: Medium Time Needed: 20 Tools Required: FTP, plain text editor Applies to: All (dv) Difficulty: Medium Time Needed: 20 Tools Required: FTP, plain text editor Introduction The .htaccess file is a powerful tool for modifying your Apache configuration on a per ... Applies To: (gs), All (dv)
- Launch
How do I redirect my site using a .htaccess file? Applies to: All Service Types Difficulty: Medium Time Needed: 10 Tools Required: FTP, plain text editor Overview This document will explain how to create a .htaccess file to redirect your site or site content. This will not redirect any emails for your domains. READ ME FIRST As a conf ... Applies To: All Service Types
- Launch
Generate API key Applies to: API, All Service Types Difficulty: Easy Time: 5 Tools needed: AccountCenter access An API key is required when you wish to develop applications to help manage and monitor your (mt) Media Temple hosting services. Generate your API key Sign into your AccountCenter. From the ... Applies To: API
- Launch
Using .htaccess rewrite rules Applies to: (gs) Difficulty: Easy Time Needed: 10 Tools Required: Plain text editor, FTP Applies to: All (dv) Difficulty: Easy Time Needed: 10 Tools Required: Plain text editor, FTP Applies to: (ve) Difficulty: Easy Time Needed: 10 Tools Required: Plain text editor, FTP Overview The ... Applies To: (gs), (ve), All (dv)
- Launch
How do I set the path for open_basedir? Applies to: (gs) Difficulty: Medium Time Needed: 10 Tools Required: Plain text editor, FTP client or AccountCenter access Applies to: (dv) 4.0 Difficulty: Medium Time Needed: 10 Tools Required: SSH, root access, vi knowledge Applies to: (dv) 3.5 Difficulty: Medium Time Needed: 10 Tools Re ... Applies To: (dv) 3.5, (dv) 4.0, (gs)
- Launch
How can I use PEAR on my (mt) Media Temple server? Applies to: (gs) Difficulty: Medium Time Needed: 20 Tools Required: SSH Applies to: (dv) Difficulty: Medium Time Needed: 10 Tools Required: SSH Overview PEAR is short for PHP Extension and Application Repository and is pronounced just like the fruit. The purpose of PEAR is to provide: ... Applies To: (gs), All (dv)
- Launch
How can I edit the php.ini file? Applies to: (gs) Grid-Service Difficulty: Medium Time Needed: 20 Tools Required: AccountCenter access, SSH enabled, FTP client, plain text editor Applies to: All (dv) Difficulty: Easy Time Needed: 10 Tools Required: SSH, root access Overview The php.ini file is the default configurat ... Applies To: (gs), All (dv)
- Launch
Common SSH Commands Applies to: All (dv) Difficulty: Easy Time Needed: 10 Tools Required: SSH Applies to: (gs) Difficulty: Medium Time Needed: 20 Tools Required: SSH Overview This article is an introduction to finding your way around your server in SSH. It takes a Day 1 approach to SSH. Hit Enter or Re ... Applies To: (gs), All (dv)
- Launch
Password protecting directories Applies to: (gs) Difficulty: Easy Time Needed: 20 Tools Required: AccountCenter access or SSH, FTP client Applies to: (dv) 4.0 Difficulty: Easy Time Needed: 10 Tools Required: Plesk administrator access or SSH, FTP client Applies to: (dv) 3.5 Difficulty: Easy Time Needed: 10 Tools Requi ... Applies To: (dv) 3.5, (dv) 4.0, (gs)
- Launch
(dv) Session save path errors and the vhost.conf Applies to: (dv) 4.0 Difficulty: Easy Time Needed: 10 Tools Required: SSH, root access, vi knowledge Applies to: (dv) 3.5 Difficulty: Easy Time Needed: 10 Tools Required: SSH, root access, vi knowledge Overview Session support in PHP is of a way to preserve certain data across subseq ... Applies To: (dv) 3.5, (dv) 4.0
- Launch
(dv) How do I enable FastCGI? Applies to: (dv) 4.0 Difficulty: Easy Time Needed: 10 Tools Required: Plesk administrator access Applies to: (dv) 3.5 Difficulty: Medium Time Needed: 20 Tools Required: SSH, root access, Plesk administrator access Overview This article will explain how to configure a domain on your ( ... Applies To: (dv) 3.5, (dv) 4.0
- Launch
Increase PHP security with PHPSecInfo Applies to: (gs) Difficulty: Easy Time Needed: 10 Tools Required: FTP client Applies to: All (dv) Difficulty: Easy Time Needed: 10 Tools Required: FTP client Overview PHPSecInfo provides the security equivalent of the phpinfo() function. It is not a replacement for secure development ... Applies To: (gs), All (dv)
- Launch
Prevent hotlinking with a .htaccess file Applies to: (gs) Difficulty: Medium Time Needed: 15 Tools Required: FTP client, plain text editor Applies to: All (dv) Difficulty: Easy Time Needed: 10 Tools Required: FTP client, plain text editor Overview Hotlinking refers to linking directly to non-html objects on other servers, s ... Applies To: (gs), All (dv)
- Launch
Compressing web pages with mod_deflate Applies to: All (dv) Difficulty: Medium Time Needed: 20 Tools Required: SSH, vi knowledge Overview The mod_deflate module allows the Apache2 web service to compress files and deliver them to clients (browsers) that can handle them. With mod_deflate you can compress HTML, text or XML fil ... Applies To: All (dv)
- Launch
SSI troubleshooting Applies to: All (dv) Difficulty: Medium Time Needed: 20 Tools Required: Plesk administrator access, plain text editor, FTP client Overview Server Side Includes (SSI) is a simple interpreted server-side scripting language used almost exclusively for the Internet. The most frequent use of ... Applies To: All (dv)
- Launch
How can I create a phpinfo.php page? Applies to: (gs) Difficulty: Easy Time Needed: 10 Tools Required: FTP, plain text editor Applies to: All (dv) Difficulty: Easy Time Needed: 10 Tools Required: FTP, plain text editor Overview You can use a phpinfo() page to view the current PHP information for your server. This file o ... Applies To: (gs), All (dv)
- Launch
Determining the source domain for emails generated from PHP scripts Applies to: All (dv) Difficulty: Hard Time Needed: 20 Tools Required: SSH, root or sudo access Overview To determine the domain for the PHP script that is sending mail, please follow the commands below. Requirements Before you start, this article has the following dependencies: You mu ... Applies To: All (dv)
- Launch
How do I set the upload_tmp_dir? Applies to: All (dv) Difficulty: Medium Time Needed: 10 Tools Required: SSH, root access, vi knowledge Overview The temporary directory is used for storing files when a file is uploaded. This directory must be writable by whichever user PHP is running as. If not specified, PHP will use ... Applies To: All (dv)
- Launch
Resolve Apache error: "PHP Fatal error: [ionCube Loader]" Applies to: All (dv) Difficulty: Medium Time Needed: 20 Tools Required: SSH, root or sudo access, vi knowledge Symptoms When you are trying to start Apache, the following error appears in the Apache error log: PHP Fatal error: [ionCube Loader] The Loader must appear as the first entry i ... Applies To: All (dv)
- Launch
Understanding basic vi (visual editor) Applies to: (gs) Difficulty: Medium-Hard Time Needed: 20 Tools Required: SSH enabled, SSH client Applies to: All (dv) Difficulty: Medium Time Needed: 10 Tools Required: SSH, root or sudo access Overview vi (visual editor) is included with all (mt) Media Temple services. vi is a full ... Applies To: (gs), All (dv)
- Launch
How do I enable the server-status page on my server? Applies to: All (dv) Difficulty: Medium Time Needed: 10 Tools Required: SSH, root access, vi knowledge Overview The status module allows a server administrator to find out how well their server is performing. An HTML page is presented that gives the current server statistics in an easil ... Applies To: All (dv)
- Launch
Working with a hacked or compromised server Applies to: (gs) Difficulty: Medium Time Needed: 20 Tools Required: SFTP Applies to: All (dv) Difficulty: Medium Time Needed: 20 Tools Required: SFTP NOTE: Remember that it is your responsibility to maintain the security of any scripts or applications you choose to install and use on ... Applies To: (gs), All (dv)
- Launch
Troubleshooting common issues with cron jobs Applies to: (gs) Difficulty: Medium Time Needed: 15 Tools Required: SSH, vi knowledge Applies to: All (dv) Difficulty: Easy Time Needed: 10 Tools Required: SSH, vi knowledge Overview Cron jobs are commands that your service runs at a specified interval and, as such, can be difficult ... Applies To: (gs), All (dv)
- Launch
PHP Safe Mode, problems and work-arounds Service Type: (gs) Grid-Service Difficulty: Medium Time Needed: 20 Tools Required: SSH, vi knowledge Service Type: All (dv) Difficulty: Easy Time Needed: 10 Tools Required: SSH, vi knowledge Overview This article is about PHP Safe Mode, security, and Safe Mode workarounds. Default s ... Applies To: (gs), All (dv)
- Launch
Block a specific IP address from accessing your website Applies to: (gs) Difficulty: Medium Time Needed: 15 Tools Required: FTP client, plain text editor Applies to: All (dv) Difficulty: Easy Time Needed: 10 Tools Required: FTP client, plain text editor Overview If you have annoying visitors, site scrapers, or spammers, you may find it us ... Applies To: (gs), All (dv)
- Launch
Making directories browsable, solving 403 errors Applies to: (gs) Difficulty: Medium Time: 10 Tools needed: FTP, plain text editor or SSH, vi knowledge Applies to: (dv) 4.0 Difficulty: Medium Time: 10 Tools needed: FTP, plain text editor or SSH, vi knowledge Applies to: (dv) 3.5 Difficulty: Medium Time: 10 Tools needed: FTP, plain tex ... Applies To: (gs), All (dv)
- Launch
Creating custom error pages Applies to: (gs) Difficulty: Medium Time: 20 Tools needed: FTP Applies to: All (dv) Difficulty: Medium Time: 20 Tools needed: FTP Overview This article explains how to set up custom error documents for your server. Instead of a plain 404 Not Found or 500 Internal Server Error page, yo ... Applies To: (gs), All (dv)
- Launch
Basic troubleshooting & tips for CloudFlare Applies to: (gs) Difficulty: Easy Time Needed: 10 Tools Required: AccountCenter access Applies to: All (dv) Difficulty: Easy Time Needed: 10 Tools Required: AccountCenter access Applies to: (ve) Difficulty: Easy Time Needed: 10 Tools Required: AccountCenter access Overview CloudFl ... Applies To: (gs), (ve), All (dv)
- Launch
Prevent search engines from indexing your websites Applies to: (gs) Difficulty: Easy Time Needed: 10 Tools Required: FTP client, plain text editor Applies to: All (dv) Difficulty: Easy Time Needed: 10 Tools Required: FTP client, plain text editor Overview Web Robots, also known as Web Wanderers, Crawlers, or Spiders, are programs tha ... Applies To: (gs), All (dv)
- Launch
Using server side includes (SSI) Applies to: (gs) Difficulty: Medium Time: 20 Tools needed: FTP, plain text editor Applies to: (dv) Difficulty: Medium Time: 20 Tools needed: FTP, plain text editor Overview This article explains how to use SSI (Server Side Includes) in your web pages from the designated files. SSI is ... Applies To: (gs), All (dv)
- Launch
How do I disable the CloudFlare service? Applies to: All Service Types Difficulty: Easy Time Needed: 10 Tools Required: AccountCenter access Overview The CloudFlare service can easily be disabled for any domain, at any time, in your AccountCenter. Instructions Log into your AccountCenter. On the Overview page, scroll down to ... Applies To: (dv) 4.0, (gs), (ve)
- Launch
Why am I getting a 500 Internal Server Error message? Applies to: All Service Types Difficulty: Medium Time Needed: 20 Tools Required: Plain text editor, FTP client Overview 500 Internal Server Error is a generic error message, given when no more specific message is suitable. There are a number of causes for a 500 Internal Server Error to ... Applies To: All Service Types
- Launch