CMS and PHP Applications

« Back to Knowledgebase

If you’ve accidentally changed the permissions (CHMOD) to some of your folders / PHP files and are now receiving a “500 Internal Server Error” you can fix this by changing the permissions to the default.
Folders: 755
PHP Files: 644
Note:
All folders / PHP files for your website should have the above permissions. Even if the script says [...]

Topics : CHMOD CMS File Permissions

No Comments

You can install PEAR packages by doing the following:

Locate the “PHP Pear Packages” option within Control Panel
You’ll be prompted with a screen to manage and manipulate your current PEAR extensions.

Topics : Pear PHP PHP Extension and Application Repository

No Comments

All our servers have strictly PHP 5 available it is automatically used when you use the .php extension.

Topics : PHP PHP programming language Server

No Comments

The PHP interpreter is commonly used in cron jobs to execute php code. All our servers run a dual PHP setup so the common command of
php /home/me/public_html/cron.php
for example will execute under PHP5. Here are the paths to both interpreters
PHP4: /usr/local/php4/bin/php
PHP5: /usr/local/bin/php
You will replace php in your cron with either of those locations to run [...]

Topics : Cron Filesystem Hierarchy Standard PHP

No Comments

The best way to find the PHP configuration information for the specific server you’re on is to make a phpinfo file. Create a file called phpinfo.php with the following code:
phpinfo();
?>
Once you’ve created the file upload phpinfo.php to your public_html folder on your web space. Now visit this page in your browser by going to http://www.yourdomain.com/phpinfo.php [...]

Topics : Cpanel PHP PHP programming language

No Comments

If you wish to set the PHP5 to run for a specific directory and only that directory and it’s sub directories it can be done with the following code in a .htaccess
<FilesMatch .php>
SetHandler application/x-httpd-php5
</FilesMatch>
If you’re looking to run PHP5 across your entire account we recommend you make use of the PHP Configuration option page found [...]

Topics : Cpanel PHP PHP programming language

No Comments

For configuring PHP, Perl or Ruby scripts the MySQL Hostname you should use to connect to the MySQL server is “localhost”.
You will also need to make the corresponding database and user to connect to your Database.
Note : Using the Servers Actual Hostname instead of “localhost” results in it what we’d like to term as a [...]

Topics : Database Management Localhost SQL Database

No Comments

Xoops is a PHP/MySQL Content Manager System. To learn more about Xoops, visithttp://www.xoops.org/.
Installation
NOTE: Before you attempt to install the Xoops, make sure you read the License Terms shown on the page.
Steps

Set the following information:

Admin User – Enter the username you want to use for the administrator’s username.
Admin Pass – Enter the password you want to [...]

Topics : CMS Cpanel Manual Installation

No Comments

WordPress is a PHP/MySQL based blog you can use on your web site for blogging. To learn more about WordPress, visit http://wordpress.org/.
Installation
NOTE: Before you attempt to install the WordPress, make sure you read the License Terms shown on the page.
Steps

Set the following information:

Admin User – Enter the username you want to use for the administrator’s username.
Admin [...]

Topics : CMS Cpanel Manual Installation

No Comments

phpWiki is a PHP/MySQL Content Manager System. To learn more about phpWiki, visithttp://www.phpwiki.org/.
Installation
NOTE: Before you attempt to install the phpWiki, make sure you read the License Terms shown on the page.
Steps

Set the following information:

Admin User – Enter the username you want to use for the administrator’s username.
Admin Pass – Enter the password you want to [...]

Topics : CMS Cpanel Manual Installation

No Comments