- feedCurrently Browsing: PHP
-
- 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
What PHP modules are included with your versions of PHP4 & PHP5? Visit the links below to view phpinfo pages for the latest versions of PHP4 and PHP5 running on the Grid. PHP4 - phpinfo() PHP5 - phpinfo() If you need a module that's not already included please let us know and we'll look into adding support for it. Revisions: 07-20-2009: Minor Fixes Applies To: (gs)
- Launch
CGI and PHP resource limits On the (gs) Grid-Service platform the following limits are in place for all PHP and CGI processes on your website(s): 120 seconds of CPU time 100MB of RAM usage 36 processes per node Any attempt to exceed these limits will result in a "500 Server Error" You can override the default PHP con ... Applies To: (gs)
- Launch
Why does my site revert back to PHP 4? By default, the (gs) Grid-Service uses PHP 4. If you change the default version via the PHP Settings page in the AccountCenter, a new .htaccess file with the line below is created in the html directory for that domain. It is typical for 3rd-party application installers to overwrite this file. ... 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
Installing PECL extensions The following are the steps required to install most PECL extensions on the (gs) Grid-Service. You can find a list of PECL extensions at http://pecl.php.net/packages.php. Create the following directories on your service: mkdir /home/#####/data/lib mkdir /home/#####/data/lib/php/ Run the comm ... Applies To: (gs)
- Launch
(gs) AMFPHP incompatibilty with PHP 5.2 SUMMARY: It is our understanding that AMFPHP does not currently work under PHP 5.2, which is the default version of PHP5 set for use on our (gs) Grid-Service platform. You may either roll back to an earlier version of PHP to use this software, or try following the steps outlined on the follow ... 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
(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
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