- feedCurrently Browsing: PHP
-
- Launch
How can I turn off safe_mode on an (dv) Dedicated-Virtual Server with Plesk? This article with tell you how to turn off safe_mode globally (through the php.ini file) on your (dv) Dedicated Virtual Server. DETAILS: Turning off php safe_mode on an (dv) server SSH into your server using the root login information, if you need help with SSH you can request that in the A ... Applies To: (dpv) Nitro, All (dv)
- Launch
Determining the source domain for emails generated from PHP scripts This article has been mirrored from the Parallels Knowledge Base as a courtesy to our (dv) Dedicated-Virtual Server customers. As they are the authoritative source of the information covered in this topic we encourage you to check their original article since this content is subject to change. ... Applies To: All (dv)
- Launch
I'm getting an upload_tmp_dir error when using PHP. How do I fix this error? This article has been mirrored from the Parallels Knowledge Base as a courtesy to our (dv) Dedicated-Virtual Server customers. As they are the authoritative source of the information covered in this topic we encourage you to check their original article since this content is subject to change. ... Applies To: All (dv)
- Launch
Increase PHP security with phpsecinfo PHPSecInfo provides the security equivalent of the phpinfo() function. It is not a replacement for secure development techniques, and will not modify your code or environment. If you would like to install this application follow the steps below. Download PHPSecInfo from http://phpsec.org/pro ... Applies To: All Service Types
- Launch
PHP Safe Mode, problems and work-arounds This article explains (mt) Media Temple's position regarding running PHP in Safe Mode and offers some possible work-arounds. DETAILS: For complex security reasons, (mt) Media Temple's various hosting solutions operate PHP in what is known as "safe mode". This is necessary for the safe running ... Applies To: All Service Types
- Launch
How can I install IonCube loader libraries on the (gs) Grid-Service? Things you will need: IonCube loader libraries located at http://www.ioncube.com/loaders.php. Choose Linux (x86). A testable IonCube-encoded file (The loader libs come with an install assistant and a sample encoded file) Setup: Download the loader libraries and extract them to your deskt ... Applies To: (gs)
- Launch
How can I Specify the version of php for web applications on the (gs) Grid-Service? This article describes how to use a version of PHP older than the default one available on the (gs) Grid-Service platform. (mt) Media Temple strives to keep PHP and other system frameworks updated to a recent stable version on our shared hosting services. In most cases this results in better ... Applies To: (gs)
- Launch
How can I Enable Zend Optimizer (php4/5) on the (gs) Grid-Service? The (gs) Grid-Service comes with support for the Zend Optimizer and is fully ready to use when you get the server. As this is a very flexible system, users may choose to implement custom directives through the means of a custom php.ini file. In such cases as these, the Zend Optimizer functional ... Applies To: (gs)
- Launch
How can I create a phpinfo.php page? DETAILS: The phpinfo file outputs a large amount of information about the current state of PHP. This includes information about PHP compilation options and extensions, the PHP version, server information and environment (if compiled as a module), the PHP environment, OS version information, pat ... Applies To: All Service Types
- Launch
(gs) Using SetHandler to process other extensions as PHP There might be times when you want your webpages to appear like they are html but are actually being processed as PHP. This article briefly describes three ways to accomplish this. Method 1 - Process all files with the same extension as PHP Create an .htaccess file (What is an .htaccess file ... Applies To: (gs)
- Launch
(gs) PHP Sessions do not work as expected Symptoms: Randomly being logged out of your PHP application. Sessions are not saving when transitioning from HTTP to HTTPS protocols. If a PHP session needs to begin in HTTP and switch to HTTPS, there will be some issues where the session is not maintained across that transition. General probl ... Applies To: (gs)
- Launch
Why is allow_url_fopen disabled on the (gs) Grid-Service? DETAILS: The PHP parameter allow_url_fopen has been disabled in both our PHP4 and PHP5 environments for the (gs) Grid-Service. BACKGROUND: If enabled, allow_url_fopen allows PHP's file functions to retrieve data from remote locations such as an FTP server or web site, and could lead to code i ... Applies To: (gs)
- Launch
Reverting PHP5 for (dv) 3.0 after migrating to a (dv) 3.5 This article provides a general walkthrough on how to remove the upgrade to PHP5 on a (dv) 3.0 Dedicated-Virtual Server after you have migrated to a (dv) 3.5 Dedicated-Virtual Server. NOTE: Text in this color is used as an example. Please be sure to replace this text with the proper informat ... Applies To: (dpv) Nitro, (dv) 3.5
- Launch
PHP Power Mode PHP Power Mode allows customers to run their php scripts without most of the restrictions imposed by safe_mode ( PHP Safe Mode, problems and work-arounds). Power Mode allows php to run as cgi. Some important information to be mindful of: Power Mode is available only for the (ss) Shared-Serv ... Applies To: (ss)
- Launch
How can I Install Symfony PHP framework on the (gs) Grid-Service? Things you will need: SSH Access (KB: (gs) Enabling SSH Access ) Local PEAR Installation - (KB: (gs) HOWTO: Install and use pear modules ) (Optional) Custom php.ini file (KB: (gs) HOWTO: edit php.ini ) NOTE: The authoritative source of this documentation can be found here. Be sure to repla ... Applies To: (gs)
- Launch
How can I edit php.ini on the (gs) Grid-Service? Details: Each (gs) Grid-Service has it's own editable php.ini. This makes it possible for administrators to change php values independent of our default php values. As a courtesy we have provided a sample php.ini file in: /home/#####/etc/php.ini.sample where '#####' is substituted by your actu ... Applies To: (gs)
- Launch
How do I enable .phps file to be color highlighted? Because of the way PHP is configured on our (gs) platform there is a work around to get a .phps file displaying colorized. You will need to add the following to your .htaccess and create the source.php file somewhere in you path. Edit or create a .htaccess file in the root of the domain you wa ... Applies To: (gs)
- Launch
How can I edit php.ini on the (dv) & (dpv) Dedicated-Virtual Servers? DETAILS: NOTE: To edit your php.ini you will need to login via SSH as the root user. The most common parameters changed in the php.ini file are: safe_mode register_globals upload_max_filesize post_max_size max_execution_time Use the following command at the command prompt to start edit ... Applies To: (dpv) Nitro, All (dv)
- Launch