Wednesday, August 11, 2010

PHP Articles

SkyHi @ Wednesday, August 11, 2010

Currently Browsing: PHP
Launch Increase PHP security with phpsecinfo TIP: This article also appears in our wiki. Help us keep our "Increase PHP security with phpsecinfo" article updated by joining the wiki. Click on the link to get started. PHPSecInfo provides the security equivalent of the phpinfo() function. It is not a replacement for secure development tech ... Applies To: All Service Types
Launch How can I install ionCube loader libraries on the (gs) Grid-Service? TIP: This article also appears in our wiki. Help us keep our "How can I install ionCube loader libraries on the (gs) Grid-Service?" article updated by joining the wiki. Click on the link to get started. Things you will need: IonCube loader libraries located at http://www.ioncube.com/loade ... Applies To: (gs)
Launch PHP Power Mode TIP: This article also appears in our wiki. Help us keep our "PHP Power Mode" article updated by joining the wiki. Click on the link to get started. 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 ... Applies To: (ss)
Launch How can I turn off safe_mode on an (dv) Dedicated-Virtual Server with Plesk? TIP: This article also appears in our wiki. Help us keep our "How can I turn off safe_mode on an (dv) Dedicated-Virtual Server with Plesk?" article updated by joining the wiki. Click on the link to get started. This article with tell you how to turn off safe_mode globally (through the php.ini ... Applies To: (dpv) Nitro, All (dv)
Launch PHP Safe Mode, problems and work-arounds TIP: This article also appears in our wiki. Help us keep our "PHP Safe Mode, problems and work-arounds" article updated by joining the wiki. Click on the link to get started. This article explains (mt) Media Temple's position regarding running PHP in Safe Mode and offers some possible work-aro ... Applies To: All Service Types
Launch How can I specify the version of php for web applications on the (gs) Grid-Service? Table of Contents: PHP Settings in the AccountCenter Specify a different PHP version Notes/Supplemental Resources PHP Settings in the AccountCenter You can provide a specific version of php from within your (ac) AccountCenter. Sign on to your (ac) AccountCenter Click on your Primary Domain ... Applies To: (gs)
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 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 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)

REFERENCES
http://kb.mediatemple.net/categories/Browse+by+Category/Web+Technologies/PHP/