: PHP

Welcome :: Categories :: PageIndex :: RecentChanges :: RecentlyCommented :: Login/Register
Most recent edit on 2008-07-07 13:11:49 by AndrewBoring

Additions:
To change your PHP version:
1) Login to cPanel and scroll to Software. Then click on PHP Configuration. 
2) You can use the drop down menu to enable PHP4, PHP5, or the System Default (PHP4).


Deletions:
1) Login to cPanel and scroll to Software. Then click on PHP Configuration.
  1. You can use the drop down menu to enable PHP4, PHP5, or the System Default (PHP4).



    Edited on 2008-05-29 14:46:06 by AndrewBoring

    Additions:
    2) You can use the drop down menu to enable PHP4, PHP5, or the System Default (PHP4).

    Deletions:
    2) You can use the drop down menu to enable PHP5.



    Edited on 2008-05-29 14:45:34 by AndrewBoring

    Additions:
    cPanel prior to version 11 would allow only PHP 4 or PHP 5 to be installed. In order to support multiple versions, ASO had used the default of PHP 4 as an Apache module, with PHP 5 being available through the FastCGI interface.

    Deletions:
    cPanel prior to version 11 would allow either PHP 4 or PHP 5 to be installed. ASO had used the default of PHP 4 as an Apache module, with PHP 5 being available through the FastCGI interface.



    Edited on 2008-05-29 11:16:00 by AndrewBoring

    Additions:
    - PHP Versions in use at ASO
  2. Overriding System php.ini
  3. PHP 4 - Understanding File Ownership and Permissions
  4. PHP 5 - Understanding File Ownership and Permissions
  5. Migrating from PHP 4.x to PHP 5.x
  6. Using PHP 5 as a FastCGI (deprecated)

Code Examples



Deletions:
PHP Versions in use at ASO Migrating from PHP 4.x to PHP 5.x
Overriding System php.ini
Using PHP 5 as a FastCGI (deprecated)

Examples





Edited on 2008-05-29 10:51:00 by AndrewBoring

Additions:
Overriding System php.ini



Edited on 2008-05-29 10:08:17 by AndrewBoring

Additions:
PHP Versions in use at ASO



Edited on 2008-05-29 10:07:29 by AndrewBoring

Additions:
Using PHP 5 as a FastCGI (deprecated)

Deletions:
Using PHP 5 as a FastCGI (deprecated) Full Detailed instructions for enabling PHP5 through FastCGI, complete with php.ini file



Edited on 2008-05-29 10:06:52 by AndrewBoring

Additions:
PHP is one of the most popular server side programming languages in the open source community.
cPanel prior to version 11 would allow either PHP 4 or PHP 5 to be installed. ASO had used the default of PHP 4 as an Apache module, with PHP 5 being available through the FastCGI interface.
With cPanel 11, there is a new method to managing PHP versions, and that is now available to ASO customers. The PHP5/FastCGI options are still available for sites already configured with it, so those sites can continue running without interruption.
  1. Login to cPanel and scroll to Software. Then click on PHP Configuration.
  2. You can use the drop down menu to enable PHP5.
Using PHP 5 as a FastCGI (deprecated) Full Detailed instructions for enabling PHP5 through FastCGI, complete with php.ini file


Deletions:
PHP is one of the most popular server side programming languages in the open source community. Its fame is largely due the the fact that it can be very easily installed as a module for the Apache httpd web server. The current stable version of PHP available is PHP 5.2.3. PHP 5 has introduced a lot of changes since PHP 4. Because many websites were made during the version 4's timeline, version 5 is available on ASO's server by just adding one line to your .htaccess file:
AddType application/x-httpd-php5 .php

To view a lot of important information about your PHP, such as loaded extensions, PHP version, and Predefined Variables, make a call to phpinfo
<?php phpinfo(); ?>

Full Detailed instructions for enabling PHP5 on your account, complete with php.ini file




Edited on 2008-04-17 13:36:25 by AndrewBoring

No differences.


Edited on 2008-04-17 13:36:18 by AndrewBoring

Additions:
Full Detailed instructions for enabling PHP5 on your account, complete with php.ini file




Edited on 2007-09-06 16:29:12 by AlanNgNet [fixed typo in .htaccess command]

Additions:
AddType application/x-httpd-php5 .php


Deletions:
%­­dType application/x-httpd-php5 .php%%



Edited on 2007-08-27 20:23:39 by Wc1A4q

Additions:
%­­dType application/x-httpd-php5 .php%%

Deletions:
Ad­dType application/x-httpd-php5 .php




Edited on 2007-07-15 03:01:08 by AnjaneshLekshminarayanan

Additions:
To view a lot of important information about your PHP, such as loaded extensions, PHP version, and Predefined Variables, make a call to phpinfo
<?php phpinfo(); ?>


Deletions:
To view a lot of important information about your PHP, such as loaded extensions, PHP version, and Predefined Variables, make a call to phpinfo



Edited on 2007-07-15 02:59:21 by AnjaneshLekshminarayanan

Additions:
Ad­dType application/x-httpd-php5 .php

Migrating from PHP 4.x to PHP 5.x

Examples

To view a lot of important information about your PHP, such as loaded extensions, PHP version, and Predefined Variables, make a call to phpinfo


Deletions:
AddType application/x-httpd-php5 .php

To view a lot of important information about your PHP, such as loaded extensions, PHP version, and Predefined Variables, make a call to phpinfo∞()
<?php phpinfo(); ?>

Learning PHP

There are a wide variety of resources for learning and using PHP on the web, some of which are below:
Migrating from PHP 4.x to PHP 5.x

Examples

<?php phpinfo(); ?>

Learning PHP

There are a wide variety of resources for learning and using PHP on the web, some of which are below:
PHP Freaks
Official php.net Documentation
SomeCoders



Edited on 2007-07-13 11:57:07 by AnjaneshLekshminarayanan

Additions:
- Sending Emails

Deletions:
Sending Emails



Oldest known version of this page was edited on 2007-07-13 11:54:58 by AnjaneshLekshminarayanan []
Page view:

PHP


PHP is one of the most popular server side programming languages in the open source community. Its fame is largely due the the fact that it can be very easily installed as a module for the Apache httpd web server. The current stable version of PHP available is PHP 5.2.3. PHP 5 has introduced a lot of changes since PHP 4. Because many websites were made during the version 4's timeline, version 5 is available on ASO's server by just adding one line to your .htaccess file:

AddType application/x-httpd-php5 .php


Migrating from PHP 4.x to PHP 5.x

Examples


Sending Emails
Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by Wikka Wakka Wiki 1.1.6.2
Page was generated in 0.1285 seconds