Edit History Actions Discussion

Diff for "PHP"

Differences between revisions 4 and 8 (spanning 4 versions)
Revision 4 as of 2008-02-17 20:00:59
Size: 483
Editor: localhost
Comment: converted to 1.6 markup
Revision 8 as of 2011-01-16 18:11:44
Size: 909
Editor: independence
Comment:
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:
PHP version 5 is enabled on all user's websites by default. The installed version of PHP is 5.2.x with Suhosin patches and extensions for added security. Also, file uploads has been disabled and some other configuration directives has been changed for security reasons. This might break compatibility with some PHP applications, but the majority should work with no modifications. PHP is available on [[Info/Supporter|Supporter accounts]] only. The currently installed version of PHP is 5.3.x with Suhosin patches for added security, and xcache for performance. PHP is run via mod_fcgid and suEXEC. This allows for good performance will still maintaining a high level of security, since all scripts are executed with the permissions of the owner of the script.
Line 4: Line 4:
=== Links === Suhosin is enabled to increase security, and because of this all your `.php` files must ''not'' be writable by "group" or "others". (''Group'' or ''Others'' doesn't even need read permissions, so `chmod 600` is fine for `.php` files. Static content will need read permission by ''Others'' however, like `chmod 644` for example.)

== See also ==
 * [[Info/Webhosting|Webhosting]]
 * [[CGI]]

== Links ==
Line 7: Line 13:
----
CategoryComputerLanguage

PHP

PHP is available on Supporter accounts only. The currently installed version of PHP is 5.3.x with Suhosin patches for added security, and xcache for performance. PHP is run via mod_fcgid and suEXEC. This allows for good performance will still maintaining a high level of security, since all scripts are executed with the permissions of the owner of the script.

Suhosin is enabled to increase security, and because of this all your .php files must not be writable by "group" or "others". (Group or Others doesn't even need read permissions, so chmod 600 is fine for .php files. Static content will need read permission by Others however, like chmod 644 for example.)

See also


CategoryComputerLanguage