Skip to Content

بلاگ

دلیل عدم دسترسی به وبسایت و cPanel

Why can’t I access my website and cPanel?

Sometimes you find the website hosted with us inaccessible. More than that, you are not able to access cPanel and webmail. The links http://serverIP/cpanel and http://cpanel.domain.com are displaying an error message Server connection timed out. What is happening?

First of all, you should check whether your server is up. Please visit http://status.namecheap.com to see if there’re any known technical issues. If server is running normally, most likely, your external IP address was blocked by Firewall. 

Your browser will display such text when trying to connect to the server:

* The connection was reset. The connection to the server was reset while the page was loading.
* The site could be temporarily unavailable or too busy. Try again in a few moments.
* If you are unable to load any pages, check your computer’s network connection.
* If your computer or network is protected by a firewall or proxy, make sure that Firefox is permitted to access the Web.

Firewall is a set of devices designed to protect networks from unauthorized access while permitting legitimate communications to pass. Due to security reasons, we have installed Firewall on our servers, too.

Automatic firewall blocks are created for a certain external IP address from which unauthorized access attempts were noticed by the Firewall monitoring program. In case of 20 failed login attempts from your IP address, it gets temporarily blocked for 10 minutes. If more failed login attempts are detected during this period, the IP gets blocked permanently. If the server detects 15 failed login attempts from different IP addresses, this account will be temporarily locked for 5 minutes.

So, if you find yourself not being able to connect to the website, cPanel and webmail from a certain computer, most likely, you have triggered the Firewall rules. Please contact our Support and we will gladly unlock your IP. You can check your external IP address here .

What can be the reason of the IP being blocked and how to avoid it? 

  • Exceeding the number of failed cPanel login attempts

When you were not able to log into cPanel for the first time, please do not try to do it as many times as possible. Once you have used the incorrect login details 20 times in 300 seconds, the IP gets blocked. To avoid that, please check your login details in the Welcome Email Guide that was sent to the email account associated with the hosting package. Otherwise, feel free to ask for the cPanel password reset via ourSupport 

NOTE: You can use Roboform and Lastpass web browser addons to keep your login details safe and secure without having to type and remember them.

  • Failed POP3/IMAP/SMTP or Webmail login

Apart from cPanel login protection, Firewall also prevents unauthorized access to mail service.

1. Block due to webmail failed login attempts

If you were having issues with logging into webmail and, as a result, both cPanel and webmail are no longer available, most likely you have triggered a similar IP block for email access.

2. Block due to failed POP3/IMAP login attempts

If you start receiving errors/pop-up windows related to IMAP/POP3 failed authentication in your email client, then it is possible that login credentials for the email account are outdated/incorrect. Unfortunately, in this case the email client will not stop trying to access the mail server which may in time result in a permanent IP block as well.

3. Block due to failed SMTP login attempts

This kind of block occurs when SMTP authentication data is not valid so you can’t send mail from the email client (you can still have correct settings for the incoming mail server and receive new emails without issues). Usual symptoms for such issue are the emails that do not leave the “Outbox” folder or errors/pop-up messages that notify about failed SMTP authentication. Make sure that SMTP login is your full email address, and the password is the same as for the incoming mail server.

If you still can’t log in with the old password, consider resetting it once your IP address is unlocked. You can do it in your cPanel account on the Email accounts page.

for cPanel paper_lantern theme:

for cPanel x3 theme:

  • Incorrect email client settings

The email client settings may also cause an IP block, so if you are struggling with an email client setup, it is better to delete the non-functioning email account from the email client and start from scratch later. You can find the correct settings here.

We will also be happy to assist you with its setup in LiveChat.

NOTE: Frequent POP3 queries to the server can cause high general server load. In order to avoid this, we have implemented the limit of 100 POP3 connections per hour from a single IP address for all shared users. Therefore, it is not recommended to set POP3 mail check interval to less than 5 minutes in order to avoid IP blocking. 

  • Failed FTP/SSH login

Make sure your FTP client is using correct login details and appropriate settings. You may check them here. Please make sure you use port 21 for FTP and 21098 for SFTP (SSH). Note that we enable SSH per a user’s request. Therefore, please contact us via Support with the request to enable SSH. The tips on how to connect via SSH can be found here .

  • Failed web page login

It occurs when there is an authentication form or a protected directory on the website. Please make sure you use correct login data.

  • PortScan activity

Port scan is an attack that sends requests of a client to a range of server port addresses on a host with the goal of finding an active port and exploiting a known vulnerability of that service. To avoid that, please make sure your clients are configured in a way not to permanently attempt to scan ports of a server. Reduce timeout intervals on all FTP and mail clients in your network. If there are many users in your network, and all of them are accessing the Internet from an external IP address, make sure they do not reconnect using FTP or mail clients frequently. Connection requests coming from one IP can trigger the firewall to block the IP. You can modify FileZilla’s max concurrent connections for every site you connect to in the following way:

1. Start up the FTP program FileZilla and go to Edit -> Settings
2. Under the left sidebar menu on the Settings window, you should see the Transfers option. Click on it.
3. Under Concurrent transfers, you have the label “Maximum simultaneous transfers:”, then a text box with a numeric value in it. Make sure that the number is 3 or less. It is recommended to keep this value at 1 if possible, because having multiple connections will slow down your uploads in the long run. If the value is more than 3, you may get blocked.
4. Hit the button labeled “OK” and exit FileZilla. Then, start it up again for the changes to take effect:

ox1.jpg

To change the maximum number of concurrent FTP connections on a per-site basis, you need to go to File -> Site Manager. Click on the saved website you wish to edit and click on the “Transfer Settings” tab. Change the value in the text box listed there to 3 or less, hit the button labeled “OK”, disconnect and restart FileZilla for the changes to take effect.

That’s it!

ادامه مطلب

نحوه ریست کردن پسورد cPanel

How can I reset my cPanel password?

If you forgot your cPanel password, or the one provided in the welcome email does not work, you can reset the password following these steps:

1. Click Reset Password on the main cPanel login page:

2. Enter your cPanel username and click on Reset password:

3. Once done, the email with the confirmation code will be sent to the contact email address assigned to your hosting account. It is better not to close password reset page as you may need to enter a confirmation code on it.

Below you can see the example of the email:

4. Click on SSL Reset Link in the email, it will bring you to another login page with the new password displayed:

If the link does not work, go back to cPanel page, enter the confirmation code and hit Submit:

5. Once done, the window with the new password appears, use it to log into your cPanel account.

NOTE: If you do not receive the email within 10-15 minutes, feel free to contact us via Helpdesk so that we can assist you with the password change.

For this, you will need to provide us with the following details:

Main domain
cPanel username
Namecheap username
Your Support Pin

6. If you know your current password, you can change it in your cPanel > Preferences section > Change Password menu:

for cPanel paper_lantern theme:

Fill in the required fields with the Old and the New password you wish to use and hit Change Password:


for cPanel x3 theme
:

Fill in the required fields with the Old and the New password you wish to use and hit Change Password:

That’s it!

ادامه مطلب

تفاوت های cPanel و WHM

Difference between cPanel and WHM

WHM (WebHost Manager) provides administrative control over your dedicated server or VPS. It allows a hosting provider to manage a customer’s account.

WHM is also a reseller control panel. It is what our customers receive with all Reseller hosting plans and use to manage all their resold hosting accounts in their reseller plans. However, a reseller has restricted reseller rights in WHM comparing to VPS and Dedicated Servers WHM (root user rights), so some functions are not available for them:

In WHM, you can:

  • create individual accounts
  • create custom hosting packages
  • add domains to the server
  • manage features of hosting packages and accounts
  • reset passwords/contact email addresses for cPanel accounts
  • edit Resource Limits for cPanel accounts
  • modify DNS zone records for each domain/subdomain
  • set up private nameservers on the server
  • access resold accounts without entering login details
  • perform basic system and control panel maintenance

For more information about reseller WHM options, refer to this article.

cPanel is designed for managing separate hosting accounts on the server. End users/clients are able to:

  • install CMS using Softaculous
  • upload and manage files for their websites
  • add/remove addon domains and subdomains
  • create email accounts and manage email settings and SPAM protection
  • edit DNS records for their domains
  • check website statistics
  • manage databases and backups, etc.

cPanel paper_lantern theme: 

cPanel x3 theme: 

Take into account that when accessing cPanel via WHM of a reseller or root user, you can manage almost all options of the end user’s cPanel. However, some menus (like GoogleApps) can be accessed only when you are logged in as an individual cPanel user.

Here is the structure of WHM/cPanel users depending on their permissions:

1. Server Administrator Panel (root access to WHM)

The top tier and highest-level user is the ‘root’ user. This is the server administrator who has full access to the server. The server administrator has total control over all WHM functions and can modify global server settings as well as customize settings for users with more limited privileges. A root user can access all levels of WHM interface, including reseller WHM and an end cPanel user. There is only one root user per server.

2. Reseller Panel (WHM)

The reseller user is a subordinate of the server administrator.

A reseller user has a more limited set of features comparing to the root user. They are limited by the server administrator to the features which affect the reseller’s customers’ accounts but not the whole server.

Reseller access is provided with Reseller Panel (WHM) where they can manage all their resold accounts. The reseller also has access to all created accounts (‘resolds’). The privileges of the reseller are set by the server administrator. There can be multiple resellers per server.

3. Main Reseller cPanel

cPanel is a control panel used to manage the hosting account under your main domain. When you sign up for a Reseller package, you select a main domain name, it can be accessed via the main cPanel account. Login details for this cPanel coincide with WHM account details. If you need to reset the WHM password, it is required to reset the main cPanel account password, and they will both synchronize.

4. cPanel account (resold)

Resold accounts are owned by the Reseller Panel (WHM). Resold accounts can be easily created, managed and maintained in Reseller Panel (WHM).

That’s it!

ادامه مطلب

بررسی کنترل پنل CPanel

cPanel control panel overview

cPanel control panel is designed for managing separate hosting accounts on the server. End users/clients are able to:

  • upload and manage files for their websites
  • edit DNS records for their domains
  • add/remove addon domains and subdomains
  • install CMS using Softaculous script installer
  • create email accounts
  • manage email settings and SPAM protection
  • check website statistics
  • manage databases and backups, etc.

More details about the structure of WHM/cPanel users depending on their permissions can be found in this article.

We have cPanel 11.62 installed on our hosting servers. You can find the latest documentation covering all its functions here.

You can find cPanel structure overview for cPanel paper_lantern theme and for cPanel x3 theme below in this guide.

for cPanel paper_lantern theme:

Basically cPanel has two vertical sections with different features:

Left column which provides a number of various features that are conveniently structured to specific groups based on the concrete aspect of the web-hosting service and Right column which includes different Statsinformation about the account. Additionally, you can see a header above both sections:

Header and Right Column:

Left Column:

Header and Right Column:
Search  User  Stats

Search: a search bar that allows you to find cPanel features in the quickest way. Just start entering the name of the needed tool to allocate the corresponding menu:

User: this menu provides a number of options related to your cPanel user and account itself – chaning your cPanel password, contact information, style and language as well as resetting all the current account configuration to the default state:

Stats: here you will find the general information related to your cPanel account:

Server Information menu lists hosting account package and additional server-side details, like the IP address assigned to your cPanel account, software installed on the server and the status of the core services:

Statistics column collects cPanel services and quotas as well as the current account resource usage:

  

Left Column:

Exclusive for Namecheap customers
Files  Databases  Email  Domains  Metrics  Security  Software  Advanced  Preferences

Exclusive for Namecheap Customers

 Namecheap SSL: this menu allows you to use Namecheap SSL cPanel plugin, check this guide for more details.
Google Apps: with this tool you will be able to configure Google Apps service for your domain in just a few clicks. Feel free to check this category for more information.
CodeGuard Backup: this tool was designed to make the backup process as easy as possible. CodeGuard system will constantly monitor the website and keep you informed of any changes, performing full automatic backups of your files to avoid any possible downtime. More information is provided in the following articles:

How to make backups using CodeGuard
How to back up a WordPress site using CodeGuard

 Softaculous Apps Installer: this feature allows you to use Softaculous Script Installer, which includes most popular CMS, such as WordPress/Joomla/Magento etc. It is much faster than other script installers and it installs CMSes in a few clicks. Softaculous application is provided with any cPanel account on all of our shared hosting plans. You can view available scripts and their demo here. You may find these guides useful when working with Softaculous installer:

How to work with scripts in Softaculous
How to install WordPress using Softaculous
How to install Joomla with Softaculous

Namecheap Knowledgebase: this button will take you to our Knowledgebase site section.

Files


 File Manager: here you can manage the files stored in your account. These guides can be found helpful while working with this menu:

How to use File Manager in cPanel
How do I upload my site?

 Images: this tool allows you to view and modify images in your account.

 Directory Privacy: allows you to set a requirement for a username and password when users attempt to access your site from the web. It can be used when you need to limit access to a certain part of your site. You can get more details in this guide.

 Disk Space Usage: in this menu you will be able to check a detailed information about the disk space usage of your account. It shows disk usage totals for your account’s directories and all of its databases, not for individual files or databases. More details about Disk Space usage optimization are provided in this article.

 Web Disk: this feature is a cPanel implementation of the WebDav protocol, which allows you to manage, upload, and download your website’s files as though they were local to your personal computer. More detailed instructions about setting up WebDisk can be found in these articles:

How to set up Web Disk on Windows 7
How to set up Web Disk on Windows 8

 FTP Accounts: this option allows you to create and manage your FTP accounts. In order to create an FTP account, feel free to check this article. For FTP connection instructions, refer to this set of guides:

How to access an account via FTP
How to set up FileZilla
How to set up Cyberduck
How to set up iWeb
How to set up Adobe Muse
How to set up Dreamweaver
How to set up CoreFTP Client
How to set up CuteFTP

 FTP Connections: using this tool you can monitor the users who are currently logged into your site via FTP. Also, it’s possible to terminate an FTP connection from here.

Backup: this feature allows you to download a zipped copy of your entire account or specific parts of it, such as your home directory, databases, email forwarder configuration, or your email filters configuration. More details guidance about how to make backups in cPanel can be found here.

 Backup Wizard: a user-friendly interface for creating a backup of your entire site, a partial backup, or allowing a site restoration from the last backup saved. Note, that Restore option provided in this menu is disabled by default on all our shared servers.

 Inodes Usage: provides the statistics of your account inodes (files) usage.You will find more details about this tool here.

Databases

 phpMyAdmin: the database management tool, which allows you to make different changes to MySQL databases in your account. You can find more information about how to work with databases via phpMyAdmin this guide.

 MySQL Databases: in this menu you can create and manage MySQL databases in cPanel account. You can refer to this guide for more details.

 MySQL Databases Wizard: provides the same functionality as MySQL Databases menu, in a simplified way though.

 PostgreSQL Databases: this option allows you to create and manage PostgreSQL databases in cPanel.

 PostgreSQL Databases Wizard: has the same functionality as PostgreSQL Databases menu, but allows to make all the changes in a simpler way.

 phpPgAdmin: the database management tool, which allows you to make different changes to PostgreSQL databases in your account.

MySQL F.A.Q.: this button will take you to the corresponding Knowledgebase section dedicated to MySQL questions.

Email

 Email Accounts: in this menu you can create and manage mailboxes associated with the domain names hosted in your account. In order to create an email account, feel free to check this guidance. More details about setting up a newly created email account with email clients can be found in the set of articles cPanel Email: Client Setup.

 Forwarders: setting up Forwarders feature provides you with an opportunity to send a copy of all emails from one email address to another. For example, you have two different email accounts and you don’t want to check both of them every time, so you could forward emails from test@yourdomain.com to test2@yourdomain2.com. Note, that the original address will still receive the forwarded emails.

 MX Entry: here you can check and change MX records for the domains hosted in your cPanel account, more details can be found in this guide.

 Autoresponder: this feature allows you to automatically send messages in reply to incoming emails received on a specific email account. This is pretty useful when you are on holidays or unavailable, or if you have any generic messages to send. You will find more information in this guide.

 Default Address: in this menu you can manage an email address, which is used by cPanel to fetch any message sent to email accounts which do not exist at your domain (also known as ‘catch-all address’). More details can be found here.

 Mailing Lists: with this option you can create a single address to send emails, newsletters and other updates to multiple email addresses simultaneously. Feel free to refer to this article to get more information.

 Track Delivery: this menu allows you to monitor emails delivery for your account.

 Global Email Filters: this feature allows you to configure filters of all the emails arriving to your hosted domains.

 Email Filters: with this option you can create filters for each email account for your domain. You can find more details about filtering tools in this article.

 Authentication: this tool will help you to prevent spam. Setting up DKIM and SPF records for your account equip email messages with verifiable information so that your server can automatically detect the nature of incoming and outgoing messages. The detailed guidance about using this feature can be found here.

 Address Importer: this menu allows you to use two types of files (.xls and .csv) for importing data in order to simultaneously create multiple email address or email forwarders for your account.

 Apache SpamAssasin: it is a user-friendly email utility which examines incoming mail for different spam characteristics. It uses various network tests and spam filtering to get an overall score in order to decide whether the mail should be considered as spam or not. SpamAssassin tool is provided by default with all our shared and reseller hosting plans. These articles can be found useful for setting up SpamAssasin feature:

SpamAssassin FAQs
How to configure SpamAssassin in cPanel

Encryption: this option allows you to set up GnuPG, which is a publicly-available encryption scheme that uses the public key approach. This system uses a public key to encrypt messages and you can decrypt them with the private key, which the intended recipient of the message retains.

 BoxTrapper: this tool can protect your Inbox from spam by requiring all email senders not on your Whitelist reply to a verification email before you can receive their mail.

 Calendars and Contacts Client Configuration: this menu helps to configure your client to connect to CalDAV for calendars and CardDAV for contacts in order to access them on your personal devices. The detailed instructions can be found in this guidance.

Professional Spam Filter: this menu allows you to configure SpamExperts, a user-friendly email filtering solution that allows to protect your account from both incoming and outgoing spam. More information about this feature is provided in this article.

E-mail F.A.Q.: this button will take you to the corresponding Knowledgebase section dedicated to email questions.

E-mail Client Setup: this button will take you to the corresponding Knowledgebase section dedicated to email account setup with different email clients and devices.

Domains


Addon Domains: with the help of this menu you can add more domains to the hosting account. Addon domains have the same functionality as the main domain assigned to your hosting account. More details about adding domains to cPanel are provided here.

Subdomains: in this menu you can create subdomains and point them to different sections of your website or other IPs. Detailed instructions about this menu can be found in this article.

Aliases: this feature allows you to ‘park’ additional domain names to your existing hosting account. They display the same website as your primary domain and share web statistics as well. You can refer to this guidewhen setting up a new parked domain.

Redirects: here you can create a redirect for a specific domain/page to another domain/page and display the contents of the latter. More details can be found here.

Simple Zone Editor: using this feature you can add A and CNAME records for your domain(s).

Advanced Zone Editor: allows you to edit the DNS zone of the domain(s) in your cPanel account. The following records can be added: A record, AAAA record, CNAME record, SRV record, TXT record. Feel free to check this article to get more information about setting up DNS records in cPanel.

Domains F.A.Q.: this button will take you to the corresponding Knowledgebase section dedicated to domains’ management questions.

Metrics

 Visitors: the access log of your account provided in a table view.

 Errors: here you can check the error log for your account, showing the latest 300 lines of content related to the errors generated by any website hosted in your account.

 Bandwidth: provides you with the detailed information the bandwidth used by your account.

 Raw Access Logs: the RAW access log for your account.

AWStats: this tool provides you with an opportunity to monitor the access indexes on your account – users, robots, accessed pages and many, many more. You will find a more detailed explanation in this article.

 CPU and Concurrent Connection Usage: shows information on the resources consumed by your account. You can find some additional information on resource usage in this guide.

Security

 SSH Access: here you can generate an access key for your account in order to connect using SSH keys. More details about setting up SSH keys can be found in this article.

IP Blocker: with the help of this tool you can block a range of IP addresses to prevent them from accessing your site. Feel free to refer to this guide on the matter.

 SSL/TLS: this tool will help you to install and manage your SSL Certificates. You will find a more detailed guide here.

 Hotlink Protection: in this menu you can enable hotlink protection for your website (that is to prevent someone from direct linking of your images to another website and, as a result, consuming your hosting account bandwidth). Feel free to check this guidance for additional information.

Leech Protect: allows you to control whether users can give out or publicly post their passwords for restricted areas of your site. It can be used to redirect compromised accounts to the URL of your choice, or suspend them.

Software 

 Select PHP Version: here you can change PHP version applied to your cPanel account. You can find more information in this article.

 PHP: here you can check PHP configuration settings. They cannot be customized via this menu. The system displays them for your reference only. In case you need to change PHP settings, feel free to check following articles:

How to edit php.ini on shared servers
How to change PHP version on shared servers
How to change PHP version on business servers (for older servers)
How to change PHP version on business servers (for newer servers)

 PHP PEAR Packages: this options allows you to install and maintain PHP PEAR packages for your hosting account.

 Perl Modules: here you can manage Perl modules available for your account. A Perl module is a discrete component of software for the Perl programming language. Perl is supported on all of our shared/reseller servers. This article will provide you with more details about this feature.

 RubyGems: in this menu you will find the set of functions that allow you to perform tasks in Ruby. It’s needed to install a Gem before you can use it inside a Ruby program.

 Ruby on Rails: with this menu you can use Ruby on Rails features. Ruby on Rails is a free web application framework for the Ruby programming language. It is often referred to as ‘Rails’ or ‘RoR’. We support RoR with our ProfessionalUltimateBusiness SSD and Reseller packages. The following versions are working on our servers: Ruby – 1.8.7, Rails – 2.3.18. More information can be found in this guide.

Optimize Website: this feature allows you to enable/disable and configure the compression of your website by tweaking the way Apache handles requests, which can increase the performance of your website.

PHP F.A.Q.: this button will take you to our Knowledgebase site section dedicated to PHP-related questions.

Advanced

Cron Jobs: here you can set up scripts running on a scheduled basis. For more details about setting up CronJobs refer to this guidance.

 Track DNS: using this tool you can check DNS information about any domain, or to trace the route from the server your site is on to the computer you are accessing cPanel from.

Indexes: in this menu you can customize the way in which visitors can view a directory on the web.

 Error Pages: this feature allows you to edit the code for the default errors pages your website can display.

Apache Handlers: here you can configure different Apache handlers for dealing with certain file formats.

 MIME Types: provides you with the information about the system predefined MIME types and the option to add a MIME Type on your own.

Virus Scanner: this tool will allow you to scan your account for viruses with ClamAV virus scanner. ClamAV is an open source (GPL) anti-virus engine used in a variety of situations including email scanning, web scanning, and end point security. It provides a number of utilities including a flexible and scalable multi-threaded daemon, a command line scanner and an advanced tool for automatic database updates.

Preferences

 Change Password: this menu allows you to change your cPanel main password if know the original one. Otherwise, you can reset the password following the steps in this guide.

 Change Language: this feature provides you with an opportunity to change your cPanel interface language.

Change style: here you can change the overall look and feel of the interface by selecting one of the several preinstalled styles.

 Contact Information: in this menu you can specify an email address that will receive system email notifications.

for cPanel x3 theme:

Basically cPanel has two vertical sections with different features:

Left column which includes different Stats information about the account, the possibility to switch cPanel theme, the search bar and frequently accessed menus and Right column which provides a number of various features that are conveniently structured to specific groups based on the concrete aspect of the web hosting service.

    

Below you can find a list of each menu for your convenience:

Left Column:

Right Column:

Left Column

In this column you will find following options:

Switch theme: it is a panel for switching between x3 and paper lantern themes:

Find: it is a search bar that allows to find cPanel features in the quickest way. Just start entering the name of the needed tool to allocate the corresponding menu:

Frequently accessed area: in this section you will find the most visited menus for quick access:

Stats: here you will find all the information related to the statistics of your hosting account. At the bottom of this section you will find Expand Stats button, which allows you to review the full statistics:

If you see the expanded stats menu, you will find Collapse Stats button at the bottom of this section in order to switch to the short menu version:

Here is an overview of all indexes:

  • Main Domain: the primary domain name associated with your hosting account.
  • Home Directory: the path the home directory of your account on the server where your websites’ folders and files reside.
  • Last Login: the last IP address your cPanel has been accessed from.
  • CPU Usage: this value specifies how much of the allocated CPU resources you are currently using. The amount of CPU resources we provide to each account is the percentage of the server’s resources.
  • Virtual Memory Usage: this index corresponds to the amount of memory, processes can allocate within LVE. When the process tries to allocate memory, CloudLinux checks if the new total virtual memory used by all processes in LVE is within the limit set. If it is not, CloudLinux will prevent memory from being allocated and in most cases this causes the process to fail.
  • Physical Memory Usage: the actual memory allocated for your account. Virtual memory is usually a file on a disk drive that the operating system uses to store information (swap-to-from) when the real memory becomes full, for instance the page (swap) file on a Linux system. Therefore, if you try to publish a big post, it might take all physical memory to do so, but after some time it will be normalized.
  • Entry Processes: this is the number of processes that enter your account. For example, every PHP page that is accessed by a user will usually generate a single entry process.
  • Number of Processes: this limit is similar to the above but includes all the processes generated by the account rather than the specific PHP, SSH or cron jobs.
  • I/O Usage: this index represents how much I/O (or disk activity) your account is using. Any task which makes use of the servers disk drive (such as reading or writing to the server) will consume I/O. More details about resource limits can be found here.
  • Disk Space Usage: the amount of server disk space provided with your cPanel account. This index displays disk space used by your websites’ content, databases, emails, etc.
  • File Usage: the current number of files (inodes) and your cPanel account’s inode limit.
  • Monthly Bandwidth Transfer: the current amount of data transferred to and from your cPanel account for the month and the total amount of your cPanel account’s monthly bandwidth limit.
  • Email Accounts: the current number of already created email accounts and the total number of email accounts allowed for your cPanel account.
  • Subdomains: the current number of already created subdomains and the total number allowed for your cPanel account.
  • Parked Domains: the current number of already created parked domains and the total number allowed for your cPanel account.
  • Addon Domains: the current number of already added addon domains and the total number allowed for your cPanel account.
  • FTP Accounts: the current number of already created FTP accounts and the total number allowed for your cPanel account.
  • Mailing Lists: the current number of already created mailing lists and the total number allowed for your cPanel account.
  • All SQL Databases: the current number of already created databases and the total number allowed for your cPanel account.
  • MySQL Databases: the current number of MySQL or MariaDB databases created your cPanel account.
  • PostgreSQL Databases: the current number of PostgreSQL databases created in your cPanel account.
  • MySQL Disk Space: the amount of disk space used by your MySQL or MariaDB databases.
  • Mailing List Disk Space: the amount of disk space used by your mailing lists.
  • Hosting Package: your current hosting plan.
  • Server Name: the name of your server.
  • cPanel Version: cPanel version installed on the server.
  • Theme: the current cPanel interface layout set for your account.
  • Apache Version: the current version of the Apache server that is installed on the server.
  • PHP Version: the version of PHP running on the server.
  • MySQL Version: the version of MySQL running on the server.
  • Architecture: the information about the microprocessor type that powers the server.
  • Operating System: the system software that manages the server. All our shared servers are Linux Based.
  • Dedicated IP Address: the IP address assigned to your cPanel account.
  • Path to sendmail: the path of the sendmail program the server. You may find it useful while creating a script that allows visitors to send you emails with a form on your website.
  • Path to Per: the location of the Perl interpreter on the server.
  • Perl Version: the version of Perl that your server runs.
  • Kernel Version: your server’s kernel version, it is the central operating system component.
  • cPanel Pro: the version of the cPanel Pro software run on the server.

Right Column

Preferences

This group of features provides you with the general information on cPanel management and allows you to make basic changes to your cPanel account.

Getting Started Wizard: this menu can help you to find out more about web-hosting basics and set up main features in cPanel.
 Video Tutorials: here you can find cPanel video tutorials which allow you to easily learn how to use cPanel tools; you can rewind, pause, and fast forward through any of the videos. Note, that all the tutorials are soundless by default.
 Change Password: this menu allows you to change your cPanel main password if know the original one. Otherwise, you can reset the password following the steps in this guide.
 Update Contact Information: in this menu you can specify an email address that will receive system email notifications.
Change style: here you can change the overall look and feel of the interface by selecting one of the several preinstalled styles.
 Change Language: this feature provides you with an opportunity to change your cPanel interface language.
 Shortcuts: provides cPanel links you can add to your desktop or your browser’s bookmarks toolbar in order to access cPanel in the easiest way.

Mail

This group of features allows you to create email accounts for your domain names and manage email settings.

Email Accounts: in this menu you can create and manage mailboxes associated with the domain names hosted in your account.

In order to create an email account, feel free to check this guidance.

More details about setting up a newly created email account with email clients can be found in the set of articles cPanel Email: Client Setup.

Webmail: this menu allows you to access your email from any computer using any browser.

Alternatively you can use direct URLs to access cPanel Webmail:

http://yourdomain.com/webmail
http://webmail.yourdomain.com
http://yourdomain.com:2095
http://yourdomain.com:2096
http://servername/webmail
http://servername:2095
http://servername:2096 

You will be required to enter Username (your full email address) and Password (the password set in cPanel during email account setup).

Apache SpamAssasin: it is a user-friendly email utility which examines incoming mail for different spam characteristics. It uses various network tests and spam filtering to get an overall score in order to decide whether the mail should be considered as spam or not.

SpamAssassin tool is provided by default with all our shared and reseller hosting plans.

These articles can be found useful for setting up SpamAssasin feature:

SpamAssassin FAQs
How to configure SpamAssassin in cPanel

Forwarders: setting up Forwarders feature provides you with an opportunity to send a copy of all emails from one email address to another. For example, you have two different email accounts and you don’t want to check both of them every time, so you could forward emails from test@yourdomain.com to test2@yourdomain2.com. Note, that the original address will still receive the forwarded emails.
Autoresponder: this feature allows you to automatically send messages in reply to incoming emails received on a specific email account. This is pretty useful when you are on holidays or unavailable, or if you have any generic messages to send. You will find more information in this guide.
Default Address: in this menu you can manage an email address, which is used by cPanel to fetch any message sent to email accounts which do not exist at your domain (also known as ‘catch-all address’). More details can be found here.
Mailing Lists: with this option you can create a single address to send emails, newsletters and other updates to multiple email addresses simultaneously. Feel free to refer to this article to get more information.
Account-Level Filtering: this feature allows you to configure filters of all the emails arriving to your hosted domains.
User-Level Filtering: with this option you can create filters for each email account for your domain. You can find more details about filtering tools in this article.
Email Trace: this menu allows you to monitor emails delivery for your account.
Import Addresses and Forwarders: this menu allows you to use two types of files (.xls and .csv) for importing data in order to simultaneously create multiple email address or email forwarders for your account.
Email Authentication: this tool will help you to prevent spam. Setting up DKIM and SPF records for your account equip email messages with verifiable information so that your server can automatically detect the nature of incoming and outgoing messages. The detailed guidance about using this feature can be found here.
 MX Entry: here you can check and change MX records for the domains hosted in your cPanel account, more details can be found in this guide.
Calendars and Contacts Client Configuration: this menu helps to configure your client to connect to CalDAV for calendars and CardDAV for contacts in order to access them on your personal devices. The detailed instructions can be found in this guidance.
Professional Spam Filter: this menu allows you to configure SpamExperts, a user-friendly email filtering solution that allows to protect your account from both incoming and outgoing spam. More information about this feature is provided in this article.

Domains

Subdomains: in this menu you can create subdomains and point them to different sections of your website or other IPs. Detailed instructions about this menu can be found in this article.
Addon Domains: with the help of this menu you can add more domains to the hosting account. Addon domains have the same functionality as the main domain assigned to your hosting account. More details about adding domains to cPanel are provided here.
Parked Domains: this feature allows you to ‘park’ additional domain names to your existing hosting account. They display the same website as your primary domain and share web statistics as well. You can refer to this guide when setting up a new parked domain.
Redirects: here you can create a redirect for a specific domain/page to another domain/page and display the contents of the latter. More details can be found here.
Simple DNS Zone Editor: using this feature you can add A and CNAME records for your domain(s).
Advanced DNS Zone Editor: allows you to edit the DNS zone of the domain(s) in your cPanel account. The following records can be added: A record, AAAA record, CNAME record, SRV record, TXT record. Feel free to check this article to get more information about setting up DNS records in cPanel.

Files

Backups: this feature allows you to download a zipped copy of your entire account or specific parts of it, such as your home directory, databases, email forwarder configuration, or your email filters configuration. More details guidance about how to make backups in cPanel can be found here.
 Backup Wizard: a user-friendly interface for creating a backup of your entire site, a partial backup, or allowing a site restoration from the last backup saved. Note, that Restore option provided in this menu is disabled by default on all our shared servers.
File Manager: here you can manage the files stored in your account. These guides can be found helpful while working with this menu:

How to use File Manager in cPanel
How do I upload my site?

Legacy File Manager: provides you with the same options as File Manager, but in a different old interface. You can do only one operation on Legacy File Manager at a time. Still, you are able to perform multiple operations with modern File Manager (like deleting many files) simultaneously. So, File Manager is more practical and faster if you need to make several changes simultaneously.
 Disk Space Usage: in this menu you will be able to check a detailed information about the disk space usage of your account. It shows disk usage totals for your account’s directories and all of its databases, not for individual files or databases. More details about Disk Space usage optimization are provided in this article.
Web Disk: this feature is a cPanel implementation of the WebDav protocol, which allows you to manage, upload, and download your website’s files as though they were local to your personal computer. More detailed instructions about setting up WebDisk can be found in these articles:

How to set up Web Disk on Windows 7
How to set up Web Disk on Windows 8

FTP Accounts: this option allows you to create and manage your FTP accounts. In order to create an FTP account, feel free to check this article. For FTP connection instructions, refer to this set of guides:

How to access an account via FTP
How to set up FileZilla
How to set up Cyberduck
How to set up iWeb
How to set up Adobe Muse
How to set up Dreamweaver
How to set up CoreFTP Client
How to set up CuteFTP

 FTP Session Control: using this tool you can monitor the users who are currently logged into your site via FTP. Also, it’s possible to terminate an FTP connection from here.

 Inodes Usage: provides the statistics of your account inodes (files) usage.You will find more details about this tool here.

Logs

Latest Visitors: the access log of your account provided in a table view.
Bandwidth: provides you with the detailed information the bandwidth used by your account.
Raw Access Logs: the RAW access log for your account
Error Log: here you can check the error log for your account, showing the latest 300 lines of content related to the errors generated by any website hosted in your account.
AWStats: this tool provides you with an opportunity to monitor the access indexes on your account – users, robots, accessed pages and many, many more. You will find a more detailed explanation in this article.
Resource Usage: shows information on the resources consumed by your account.

Security

Password Protect Directories: allows you to set a requirement for a username and password when users attempt to access your site from the web. It can be used when you need to limit access to a certain part of your site. You can get more details in this guide.
SSL/TLS Manager: this tool will help you to install and manage your SSL Certificates. You will find a more detailed guide here.
SSH Shell Access: here you can generate an access key for your account in order to connect using SSH keys. More details about setting up SSH keys can be found in this article.
Hotlink Protection: in this menu you can enable hotlink protection for your website (that is to prevent someone from direct linking of your images to another website and, as a result, consuming your hosting account bandwidth). Feel free to check this guidance for additional information.
Leech Protect: allows you to control whether users can give out or publicly post their passwords for restricted areas of your site. It can be used to redirect compromised accounts to the URL of your choice, or suspend them.
GnuPG Keys: this option allows you to set up GnuPG, which is a publicly-available encryption scheme that uses the public key approach. This system uses a public key to encrypt messages and you can decrypt them with the private key, which the intended recipient of the message retains.

Databases

MySQL Databases: in this menu you can create and manage MySQL databases in cPanel account.
MySQL Databases Wizard: provides the same functionality as MySQL Databases menu, in a simplified way though. More details about how to use both menus can be found here.
phpMyAdmin: the database management tool, which allows you to make different changes to MySQL databases in your account. You can find more information about how to work with databases via phpMyAdmin this guide.

PostgreSQL Databases: this option allows you to create and manage PostgreSQL databases in cPanel.
PostgreSQL Databases Wizard: has the same functionality as PostgreSQL Databases menu, but allows to make all the changes in a simpler way.
phpPgAdmin: the database management tool, which allows you to make different changes to PostgreSQL databases in your account.

Software and Services

CGI Center: this feature allows you to check the list of pre-installed CGI which can be used in your account.
Perl Modules: here you can manage Perl modules available for your account. A Perl module is a discrete component of software for the Perl programming language. Perl is supported on all of our shared/reseller servers.

This article will provide you with more details about this feature.

PHP PEAR Packages: this options allows you to install and maintain PHP PEAR packages for your hosting account.
PHP Configuration: here you can check PHP configuration settings. They cannot be customized via this menu. The system displays them for your reference only.

In case you need to change PHP settings, feel free to check following articles:

How to edit php.ini on shared servers
How to change PHP version on shared servers
How to change PHP version on business servers (for older servers)
How to change PHP version on business servers (for newer servers)

RubyGems: in this menu you will find the set of functions that allow you to perform tasks in Ruby. It’s needed to install a Gem before you can use it inside a Ruby program.

Ruby on Rails: with this menu you can use Ruby on Rails features.

Ruby on Rails is a free web application framework for the Ruby programming language. It is often referred to as ‘Rails’ or ‘RoR’. We support RoR with our ProfessionalUltimateBusiness SSD and Reseller packages. The following versions are working on our servers: Ruby – 1.8.7, Rails – 2.3.18.

More information can be found in this guide.
Optimize Website: this feature allows you to enable/disable and configure the compression of your website by tweaking the way Apache handles requests, which can increase the performance of your website.
Select PHP Version: here you can change PHP version applied to your cPanel account. You can find more information in this article.
Softaculous: this feature allows you to use Softaculous Script Installer, which includes most popular CMS, such as WordPress/Joomla/Magento etc. It is much faster than other script installers and it installs CMSes in a few clicks. Softaculous application is provided with any cPanel account on all of our shared hosting plans. You can view available scripts and their demo here.

You may find these guides useful when working with Softaculous installer:

How to work with scripts in Softaculous
How to install WordPress using Softaculous
How to install Joomla with Softaculous

Advanced

Apache Handlers: here you can configure different Apache handlers for dealing with certain file formats.
Image Manager: this tool allows you to view and modify images in your account.
Index Manager: in this menu you can customize the way in which visitors can view a directory on the web.
Error Pages: this feature allows you to edit the code for the default errors pages your website can display.
Cron Jobs: here you can set up scripts running on a scheduled basis. For more details about setting up CronJobs refer to this guidance.
Network Tools: provides you with an option to find information about any domain or to trace the route from your website’s server to the computer from which you access the system.
Virus Scanner: this tool will allow you to scan your account for viruses with ClamAV virus scanner.

ClamAV is an open source (GPL) anti-virus engine used in a variety of situations including email scanning, web scanning, and end point security. It provides a number of utilities including a flexible and scalable multi-threaded daemon, a command line scanner and an advanced tool for automatic database updates.
MIME Types: provides you with the information about the system predefined MIME types and the option to add a MIME Type on your own.

Exclusive for Namecheap Customers

Namecheap SSL: this menu allows you to use Namecheap SSL cPanel plugin, check this guide for more details.
Google Apps: with this tool you will be able to configure Google Apps service for your domain in just a few clicks. Feel free to check this category for more information.
CodeGuard Backup: this tool was designed to make the backup process as easy as possible. CodeGuard system will constantly monitor the website and keep you informed of any changes, performing full automatic backups of your files to avoid any possible downtime.

More information is provided in the following articles:

How to make backups using CodeGuard
How to back up a WordPress site using CodeGuard

ادامه مطلب

نحوه ویرایش php.ini در سرورهای اشتراکی

How to edit php.ini on shared servers

This guide describes how to edit php.ini file on shared servers (Value, Professional and Ultimate plans). For Business SSD servers, use this guide.

With the help of PHP Selector implemented on our shared servers, you can easily modify basic PHP settings in your cPanel > section Software/Services Select PHP Version menu. You can find detailed guidelines here.

However, advanced PHP settings are missing from PHP Selector tool, and they need to be manually configured in the php.ini file. Feel free to download php.ini for different PHP versions below in the Attachments section at the end of the guide.

When all updates are completed, make sure that you rename the file to php.ini. In order for the php.ini to work add suPHP or Lsapi_phpini directive depending on the server your account is hosted on.

To find out the current PHP version and configuration, refer to this article.

That’s it!

ادامه مطلب

SuPHP و LSPHP برای php.ini

SuPHP and LSPHP directives for php.ini on shared servers

SuPHP (Single user PHP) is a php handler which executes PHP scripts with the permissions of their owners. LSPHP  is a combination of mod_lsapi+PHP. Depending on the server your account is hosted on either suPHP or LSPHP is installed.

For the settings from the chosen php.ini file to work, specific directive should be added to your .htaccess file.

For suPHP, you should add the following configuration directive to the .htaccess file:

<IfModule mod_suphp.c>
suPHP_ConfigPath /home/USER/public_html
</IfModule>

For LSPHP, you should add the following configuration directive to the .htaccess file:

lsapi_phpini /home/USER/public_html/php.ini 

NOTE: Make sure you replace USER with your cPanel username.

This option specifies which path to pass on to the PHP-interpreter and which folder to execute php.ini from.

Follow the instructions below to proceed with the setup:

for cPanel paper_lantern theme
for cPanel x3 theme

for cPanel paper_lantern theme:

1. To add these lines to .htaccess file, go to cPanel > Files section > File Manager menu:

2. Navigate to public_html directory:

3. Click on Settings in the right top corner and enable Show Hidden Files (dotfiles) in the pop-up window, that will allow you to see .htaccess file:

4. If there is no .htaccess file in the document root, you need to create it using File option:

5. Right-click on .htaccess file > Edit or use Edit option located in the toolbar:

6. Add the lines provided below into .htaccess file and Save Changes.
For suPHP:
<IfModule mod_suphp.c>
suPHP_ConfigPath /home/USER/public_html
</IfModule>

For LSPHP: 
lsapi_phpini /home/USER/public_html/php.ini 

If you have done it right, the designed php.ini will take immediate effect.

7. If you need to load php.ini for/from subdirectory, make sure you edit ConfigPath accordingly:

for cPanel x3 theme:

1. To add these lines to the .htaccess file, go to cPanel >  the Files section > the File Manager menu:

2. Choose the Web root and Show Hidden Files options and hit Go:

3. Right-click on .htaccess file > Edit:

4. Add the lines provided below the existing rules and Save Changes.

For suPHP:
<IfModule mod_suphp.c>
suPHP_ConfigPath /home/USER/public_html
</IfModule>

For LSPHP: 
lsapi_phpini /home/USER/public_html/php.ini 

If you have done it right, the designed php.ini will take immediate effect:

5. In case there is no .htaccess file in the document root, you need to create one via the New File option and edit it following the guidelines above:

6. If you need to load php.ini for/from subdirectory, make sure you edit ConfigPath accordingly:

That’s it!

ادامه مطلب

ماژولهای و افزونه های PHP در یک هاست سرور اشتراکی

PHP modules and extensions on shared hosting servers

PHP is an open-source scripting language that is mainly used to create dynamic web pages. Its code can be embedded into HTML code which simplifies web page creation. A site designer can ‘jump’ between PHP and HTML without inserting tons of codes to output HTML. The syntax of the language was ‘borrowed’ from C, Java and Perl, though some new features were added. PHP is supported by most of web servers and operating systems.

PHP extensions are used for different purposes with only a few exceptions: Every function in PHP is included into one extension or another. A major number of these extensions are a part of standard extensions – over 400 of them. There is also a PECL repository which offers over 100 additional modules.

Here are the main reasons to use PHP modules/extensions:

  • to extend PHP functionality for a very particular usage (mathematics, statistics, geometry, etc.)
  • to have a higher performance and efficiency compared to a pure PHP implementation
  • to leverage the swiftness obtained from programming in another previously grasped language

You can check the PHP extensions and modules available on our Shared servers in the table below.

 

If you wish to check the PHP version and PHP extensions enabled for your account, follow this guide for more details. In case some necessary PHP extension or module from the table above is not enabled, feel free to contact our support team via Helpdesk to assist you with this question.

The PHP version (along with PHP extensions) can be changed in a different way depending on the server your account is hosted on:

  • If you have either a Shared (ValueProfessional and Ultimate) or Reseller hosting plan, you may use the PHP selector menu in cPanel.
  • If you have a Business SSD hosting plan, you may use the PHP tweaks menu in cPanel.

Here is a brief explanation of each PHP module and extension:

apm: alternative PHP Monitor is used to collect error events and statistics and send them to one of its drivers.

ares: binding for the ares (MIT) or c-ares (CURL) library.

bcmath: for arbitrary precision mathematics, PHP offers Binary Calculator which supports numbers of any size and precision, represented as strings.

bcompiler: bcompiler enables you to encode your scripts in phpbytecode, enabling you to protect the source code. bcompiler can be used in the following situations: to create an .exe file of a PHP-GTK application (in conjunction with other software); to create closed source libraries; to provide clients with the software expiry time (prior to payment); to deliver close source applications; to use on embedded systems, where disk space is a priority. bcompiler can improve performance by about 30% when used with uncompressed bytecodes only.

big_int: big_int library provides a set of functions for calculations with arbitrary length integers and bitsets.

bloomy: this extension implements a Bloom filter, which is a space-efficient probabilistic data structure used to test whether an element is a member of a set.

bitset: bitsets manipulation library

bz2: the bzip2 functions are used to transparently read and write bzip2 (.bz2) compressed files.

bz2_filter: bzip2 compress/decompress stream filter implementation. Performs inline compression/decompression using the bzip2 algorithm on any PHP I/O stream. The data produced by this filter, while compatible with the payload portion of a bz2 file, does not include headers or tailers for full bz2 file compatibility. To achieve this format, use the compress.bzip2:// fopen wrapper built directly into PHP.

calendar: the calendar extension presents a series of functions to simplify converting between different calendar formats.

core: this is a filter which makes it possible to run arbitrary PHP code to modify the attributes of an user.

crack: this module allows you to use the CrackLib library to test the ‘strength’ of a password. The ‘strength’ of a password is tested based on its length, use of upper and lower case as well as checked against the specified CrackLib dictionary. CrackLib will also give helpful diagnostic messages that will help ‘strengthen’ the password.

ctype: the functions provided by this extension check whether a character or string falls into a certain character class according to the current locale.

curl: PHP supports libcurl, a library created by Daniel Stenberg, that allows you to connect and communicate with different types of servers with different types of protocols. libcurl currently supports http, https, ftp, gopher, telnet, dict, file, and ldap protocols. libcurl also supports HTTPS certificates, HTTP POST, HTTP PUT, FTP uploading, HTTP-form based upload, proxies, cookies, and user+password authentication.

date: the PHP date() function is used to format a date and/or time.

dba: these functions build the foundation for accessing Berkeley DB style databases.

dbase: these functions allow you to access records stored in dBase–format (dbf) databases.

dbx: the dbx module is a database abstraction layer (db ‘X’, where ‘X’ is a supported database). The dbx functions allow you to access all supported databases using a single calling convention.

dom: the DOM extension allows you to operate on XML documents through the DOM API with PHP 5.

doublemetaphone: the Double Metaphone algorithm by Lawrence Philips allows a word to be broken down into its phonemes.

eio: this extension provides asyncronous POSIX I/O by means of libeio C library.

enchant: PHP binding for the Enchant library. Enchant steps to provide uniformity and conformity on top of all spelling libraries and implement certain features that may be lacking in any individual provider library.

ereg: searches for a string specified by pattern, returning true if the pattern is found, and false if otherwise. The search is case-sensitive in regard to alphabetical characters.

exif: with the exif extension, you are able to work with image meta data. For example, you may use exif functions to read meta data of pictures taken from digital cameras by working with information stored in the headers of the JPEG and TIFF images.

fileinfo: the functions in this module try to guess the content type and encoding of a file by looking for certain magic byte sequences at specific positions within the file. While this is not a bulletproof approach, the used heuristics do a very good job.

filter: this extension filters data by either validating it or sanitizing it. This is especially useful when the data source contains unknown (or foreign) data, like user supplied input. For example, this data may come from an HTML form.

ftp: the functions in this extension implement client access to files servers speaking the File Transfer Protocol (FTP) as defined in RFC959. This extension is meant for detailed access to an FTP server providing a wide range of control to the executing script.

functional: a set of functional primitives for PHP.

gd: PHP is not limited to creating just HTML output. It can also be used to create and manipulate image files in a variety of different image formats, including GIF, PNG, JPEG, WBMP, and XPM. Even more convenient, PHP can output image streams directly to a browser. For these purposes PHP is compiled with the GD library.

gender: gender PHP extension is a port of the gender.c program originally written by Joerg Michael. The main purpose is to find out the gender of firstnames. The name dictionary contains >40000 firstnames from 54 countries.

geoip: allows you to find the location of an IP address. City, State, Country, Longitude, Latitude, and other information as all, such as ISP and connection type can be obtained with the help of GeoIP.

gettext: gettext functions implement an NLS (Native Language Support) API which can be used to internationalize your PHP applications.

gnupg: this module allows you to interact with GnuPG – a complete and free implementation of the OpenPGP standard as defined by RFC4880 (also known as PGP). GnuPG allows to encrypt and sign your data and communication, features a versatile key management system as well as access modules for all kinds of public key directories. GnuPG, also known as GPG, is a command line tool with features for easy integration with other applications. Version 2 of GnuPG also provides support for S/MIME and Secure Shell (ssh). gnupg extension allows you to use the following functions: add a key for decryption/encryption, a key for signing; removes all keys which were set for decryption/encryption before, all keys which were set for signing before; decrypts/encrypts a given text; returns an array with information about all keys that matches the given pattern; toggle armored output; verifies a signed text.

haru: PECL/haru extension provides bindings to the libHaru library.

hash: message Digest (hash) engine. Allows direct or incremental processing of arbitrary length messages using a variety of hashing algorithms.

homeloader: is used for the user specific PEAR repositories.

hidef: allows definition of user defined constants in simple ini files, which are then processed like internal constants, without any of the usual performance penalties.

htscanner: htscanner extension gives the possibility to use .htaccess-like file to configure PHP per directory, just like apache’s htaccess.

huffman: huffman compression belongs to a family of algorithms with a variable codeword length. That means that individual symbols (characters in a text file for instance) are replaced by bit sequences that have a distinct length. So symbols that occur a lot in a file are given a short sequence while other that are used seldom get a longer bit sequence.

iconv: module contains an interface to iconv character set conversion facility. With this module, you can turn a string represented by a local character set into the one represented by another character set, which may be the Unicode character set.

idn: used for domain name conversion.

igbinary: is a drop in replacement for the standard php serializer. Instead of time and space consuming textual representation, igbinary stores php data structures in a compact binary form.

imagick: is a native php extension to create and modify images using the ImageMagick API. ImageMagick is a software suite to create, edit, and compose bitmap images. It can read, convert and write images in a variety of formats (over 100) including DPX, EXR, GIF, JPEG, JPEG–2000, PDF, PhotoCD, PNG, Postscript, SVG, and TIFF.

imap: this function enables the possibility to operate with the IMAP protocol, as well as the NNTP, POP3 and local mailbox access methods.

inclued: traces through and dumps the hierarchy of file inclusions and class inheritance at runtime.

inotify: the inotify extension exposes the inotify functions inotify_init(), inotify_add_watch() and inotify_rm_watch(). inotify_init() returns a stream resource, usable with standard stream functions, like stream_select(), stream_set_blocking() and fclose(). inotify_read() replaces the C way of reading inotify events.

intl: internationalization extension (further is referred as Intl) is a wrapper for ICU library, enabling PHP programmers to perform UCA-conformant collation and date/time/number/currency formatting in their scripts.

ioncube_loader: is a PHP loader used to encrypt PHP files and speed up web pages that are being displayed.

ixed.5.x: is the name of the loaders which are required for encoded scripts protected by SourceGuardian. SourceGuardian 11 is the most advanced PHP Encoder on the market, complete with a ground-up rewrite, a powerful GUI and protection covering the latest version of PHP. You can encode your scripts using Windows, Mac OS X and Linux, all with a powerful GUI or using a command line interface. SourceGuardian PHP Encoder protects your PHP scripts by compiling the PHP source code into a bytecode format, followed by encryption layers.

jsmin: PHP extension for minifying JavaScript.

json: this extension implements JavaScript Object Notation (JSON) data-interchange format. The decoding is handled by a parser based on the JSON_checker by Douglas Crockford.

ldap: is the Lightweight Directory Access Protocol used to access ‘Directory Servers’. The Directory is a special kind of a database that holds information in a tree structure. The concept is similar to your hard disk directory structure, except that in this context, the root directory is ‘The world’ and the first level subdirectories are ‘countries’. Lower levels of the directory structure contain entries for companies, organizations or places, while yet lower still we find directory entries for people, and perhaps equipment or documents.

libevent: libevent is a library that provides a mechanism to execute a callback function when a specific event occurs on a file descriptor or after a timeout has been reached.

libxml: these functions/constants are available as of PHP 5.1.0, and the following core extensions rely on this libxml extension: DOM, libxml, SimpleXML, SOAP, WDDX, XSL, XML, XMLReader, XMLRPC and XMLWriter.

lzf: is a very fast compression algorithm, ideal for saving space with only slight speed cost. It can be optimized for speed or space at the time of compilation.

magickwand: this module enables PHP access to the ImageMagick MagickWand API. The MagickWand API is the recommended interface between the C programming language and the ImageMagick image processing libraries. Unlike the MagickCore C API, MagickWand uses only a few opaque types.

mailparse: mailparse is an extension for parsing and working with email messages. Mailparse is stream based, which means that it does not keep in–memory copies of the files it processes – so it is very resource efficient when dealing with large messages.

mbstring: mbstring provides multibyte specific string functions that help you deal with multibyte encodings in PHP. In addition to that, mbstring handles character encoding conversion between the possible encoding pairs.

mcrypt: this is an interface to the mcrypt library, which supports a wide variety of block algorithms such as DES, TripleDES, Blowfish (default), 3-WAY, SAFER-SK64, SAFER-SK128, TWOFISH, TEA, RC2 and GOST in CBC, OFB, CFB and ECB cipher modes.

mhash: this function is intended to work with mhash. Mhash can be used to create checksums, message digests, message authentication codes, and more. This is an interface to the mhash library. Mhash supports a wide variety of hash algorithms such as MD5, SHA1, GOST, and many others. For a complete list of supported hashes, refer to the constants page. The general rule is that you can access the hash algorithm from PHP with MHASH_hashname. For example, to access TIGER you use the PHP constant MHASH_TIGER.

mongo: this extension is deprecated; instead, the MongoDB extension should be used.

mongodb: the MongoDB PHP driver should work on nearly any system: Windows, Mac OS X, Unix, and Linux; little- and big-endian machines; 32- and 64-bit machines; PHP 5.3 through 5.6 (versions prior to 1.6 also support PHP 5.2). Unlike the mongo extension, this extension supports both PHP and HHVM and is developed atop the libmongoc and libbson libraries. It provides a minimal API for core driver functionality: commands, queries, writes, connection management, and BSON serialization. Userland PHP libraries that depend on this extension may provide higher level APIs, such as query builders, individual command helper methods, and GridFS. Application developers should consider using this extension in conjunction with the MongoDB PHP library, which implements the same higher level APIs found in MongoDB drivers for other languages. This separation of concerns allows the driver to focus on essential features for which an extension implementation is paramount for performance.

msgpack: this extension provides API for communicating with MessagePack serialization.

mssql: this function allows you to access MS SQL Server database. It has the following features: adds a parameter to a stored procedure or a remote stored procedure, close MS SQL Server connection, open MS SQL server connection, moves internal row pointer, executes a stored procedure on a MS SQL server database, fetch a result row as an associative array, a numeric array, or both, returns an associative array of the current row in the result, returns the next batch of records, get field information, fetch row as object, converts a 16 byte binary GUID to a string, initializes a stored procedure or a remote stored procedure, open persistent MS SQL connection etc.

mysql: these functions allow you to access MySQL database servers. This extension is deprecated as of PHP 5.5.0, and has been removed as of PHP 7.0.0. Instead, either the mysqli or PDO_MySQL extension should be used.

mysqli: the mysqli extension allows you to access the functionality provided by MySQL 4.1 and above.

mysqlnd: MySQL Native Driver is a replacement for the MySQL Client Library (libmysqlclient). The MySQL database extensions MySQL extension, mysqli and PDO MYSQL all communicate with the MySQL server. With MySQL Native Driver there is now an alternative, as the MySQL database extensions can be compiled to use MySQL Native Driver instead of the MySQL Client Library.

ncurses: (new curses) is a free software emulation of curses in System V Rel 4.0 (and above). It uses terminfo format, supports pads, colors, multiple highlights, form characters and function key mapping.

nd_mysql: MySQL native driver for PHP (mysqlnd) is a drop-in replacement for the MySQL Client Library (libmysql) for the PHP script language. The mysqlnd library is highly optimized for and tightly integrated into PHP. The MySQL Client Library cannot offer the same optimizations because it is a general-purpose client library. The mysqlnd library is using PHP internal C infrastructure for seamless integration into PHP. In addition, it is using PHP memory management, PHP Streams (I/O abstraction) and PHP string handling routines. The use of PHP memory management by mysqlnd allows, for example, memory savings by using read-only variables (copy on write) and makes mysqlnd apply to PHP memory limits

nd_mysqli: this extension is referred to as MySQL improved. It was developed to take advantage of the new features available in MySQL since version 4.1.3.

nd_pdo_mysql: MySQL Native Driver is a replacement for the MySQL Client Library (libmysqlclient). MySQL Native Driver is part of the official PHP sources as of PHP 5.3.0. The MySQL database extensions MySQL extension, mysqli and PDO MYSQL all communicate with the MySQL server. In the past, this was done by the extension using the services provided by the MySQL Client Library. The extensions were compiled against the MySQL Client Library in order to use its client-server protocol. With MySQL Native Driver there is now an alternative, as the MySQL database extensions can be compiled to use MySQL Native Driver instead of the MySQL Client Library. MySQL Native Driver is written in C as a PHP extension. Using the MySQL Native Driver offers a number of advantages over using the MySQL Client Library. The older MySQL Client Library was written by MySQL AB (now Oracle Corporation) and so was released under the MySQL license. This ultimately led to MySQL support being disabled by default in PHP. However, the MySQL Native Driver has been developed as part of the PHP project, and is therefore released under the PHP license. This removes licensing issues that have been problematic in the past. Also, in the past, you needed to build the MySQL database extensions against a copy of the MySQL Client Library. This typically meant you needed to have MySQL installed on a machine where you were building the PHP source code. Also, when your PHP application was running, the MySQL database extensions would call down to the MySQL Client library file at run time, so the file needed to be installed on your system. With MySQL Native Driver that is no longer the case as it is included as part of the standard distribution. So you do not need MySQL installed in order to build PHP or run PHP database applications. Because MySQL Native Driver is written as a PHP extension, it is tightly coupled to the workings of PHP. This leads to gains in efficiency, especially when it comes to memory usage, as the driver uses the PHP memory management system. It also supports the PHP memory limit. Using MySQL Native Driver leads to comparable or better performance than using MySQL Client Library, it always ensures the most efficient use of memory. One example of the memory efficiency is the fact that when using the MySQL Client Library, each row is stored in memory twice, whereas with the MySQL Native Driver each row is only stored once in memory.

oauth: this extension provides OAuth 1.0a consumer and provider bindings. OAuth is an authorization protocol built on top of HTTP which allows applications to securely access data without having to store usernames and passwords.

oci8: these functions allow you to access Oracle Database 12c, 11g, 10g, 9i and 8i. They support SQL and PL/SQL statements. Basic features include transaction control, binding of PHP variables to Oracle placeholders, and support for large object (LOB) types and collections. Oracle’s scalability features such as Database Resident Connection Pooling (DRCP) and result caching are also supported.

odbc: in addition to normal ODBC support, the Unified ODBC functions in PHP allow you to access several databases that have borrowed the semantics of the ODBC API to implement their own API.

openssl: this module uses the functions of OpenSSL for generation and verification of signatures and for sealing (encrypting) and opening (decrypting) data. OpenSSL offers many features that this module currently doesn’t support.

pcntl: process control support in PHP implements the Unix style of process creation, program execution, signal handling and process termination. PCNTL now uses ticks as the signal handle callback mechanism, which is much faster than the previous mechanism. This change follows the same semantics as using “user ticks”. You use the declare() statement to specify the locations in your program where callbacks are allowed to occur. This allows you to minimize the overhead of handling asynchronous events. In the past, compiling PHP with pcntl enabled would always incur this overhead, whether or not your script actually used pcntl. There is one adjustment that all pcntl scripts prior to PHP 4.3.0 must make for them to work which is to either to use declare() on a section where you wish to allow callbacks or to just enable it across the entire script using the new global syntax of declare().

pcre: the PCRE library is a set of functions that implement regular expression pattern matching using the same syntax and semantics as Perl 5, with just a few differences.

pdf: the PDF functions in PHP can create PDF files using the PDFlib library from PDFlib GmbH

pdo: the PHP Data Objects (PDO) extension defines a lightweight, consistent interface for accessing databases in PHP. Each database driver that implements the PDO interface can expose database–specific features as regular extension functions.

pdo_dblib: is a driver that implements the PHP Data Objects (PDO) interface to enable access from PHP to Microsoft SQL Server and Sybase databases through the FreeTDS library.

pdo_firebird: a driver that implements the PHP Data Objects (PDO) interface to enable access from PHP to Firebird database.

pdo_mysql: is a driver that implements the PHP Data Objects (PDO) interface to enable access from PHP to MySQL 3.x, 4.x and 5.x databases. PDO_MYSQL will take advantage of native prepared statement support present in MySQL 4.1 and higher.

pdo_odbc: connecting to ODBC or DB2 databases

pdo_pgsql: this extension provides an PostgreSQL driver for PDO.

pdo_sqlite: PDO_SQLITE is a driver that implements the PHP Data Objects (PDO) interface to enable access to SQLite 3 databases.

pgsql: PostgreSQL database is an Open Source product. Postgres, developed originally in the UC Berkeley Computer Science Department, pioneered many of the object-relational concepts now becoming available in some commercial databases.

phalcon: phalcon is a high-performance web application framework for PHP based on the model-view-controller (MVC) pattern. Unlike most PHP frameworks, Phalcon is implemented as an extension written in C in order to optimize performance. This is intended to boost execution speed and reduce resource usage with the goal of handling more requests per second than comparable frameworks written primarily in PHP.

phar: the phar extension provides a way to put entire PHP applications into a single file called a ‘phar’ (PHP Archive) for easy distribution and installation. In addition to providing this service, the phar extension also provides a file-format abstraction method for creating and manipulating tar and zip files through the PharData class, much as PDO provides a unified interface for accessing different databases. Phar archives are best characterized as a convenient way to group several files into a single file.

posix: this module contains an interface to those functions defined in the IEEE 1003.1 (POSIX.1) standards document which are not accessible through other means.

propro: a reusable split-off of pecl_http’s property proxy API.

pspell: a reusable split-off of pecl_http’s property proxy API. These functions allow you to check the spelling of a word and offer suggestions.

quickhash: the quickhash extension contains a set of specific strongly-typed classes to deal with specific set and hash implementations.

raphf: a reusable split-off of pecl_http’s persistent handle and resource factory API.

radius: this package is based on the libradius (Remote Authentication Dial In User Service) of FreeBSD. It allows clients to perform authentication and accounting by means of network requests to remote servers. This PECL extension adds full support for Radius Authentication (RFC 2865) and Radius Accounting (RFC 2866). This package is available for Unix (tested on FreeBSD and Linux) and for Windows.

rar: PHP extension for reading RAR archives using bundled unRAR library. This extension gives you possibility to read Rar archives but doesn’t support writing Rar archives, because this is not supported by the UnRar library and is directly prohibited by its license.

readline: the readline function implements an interface to the GNU Readline library. These are functions that provide editable command lines. An example being the way Bash allows you to use the arrow keys to insert characters or scroll through command history. Because of the interactive nature of this library, it will be of little use for writing Web applications, but may be useful when writing scripts used from a command line.

recode: this module contains an interface to the GNU Recode library. The GNU Recode library converts files between various coded character sets and surface encodings.

reflection: PHP 5 comes with a complete reflection API that adds the ability to reverse’engineer classes, interfaces, functions, methods and extensions. Additionally, the reflection API offers ways to retrieve doc comments for functions, classes and methods.

rsync: this algorithm is using a rolling check-sum and a md4 check’sum for blocks of the file to generate a signature file. The signature file is used to generate a diff from the file on the remote site. This diff can be used on the local site to patch the file.

session: session support in PHP consists of a way to preserve certain data across subsequent accesses. This enables you to build more customized applications and increase the appeal of your website.

shmop: shmop is an easy to use set of functions that allows PHP to read, write, create and delete Unix shared memory segments.

simplexml: the SimpleXML extension provides a very simple and easily usable toolset to convert XML to an object that can be processed with normal property selectors and array iterators.

snmp: Simple Network Management Protocol (SNMP) is a widely used protocol for monitoring the health and welfare of network equipment (for example, routers), computer equipment and even devices like UPSs. The SNMP extension provides a very simple and easily usable toolset for managing remote devices via the Simple Network Management Protocol. As it is a wrapper around the underlying Net-SNMP (or UCD-SNMP on older systems) library, all basic concepts are the same and the PHP functions change their behaviour depending on the Net-SNMP configuration files and environment variables. Beginning with PHP 5.4, an OO API is available. SNMP have the following features: retrieve information from an SNMP-capable device, either using single requests or multiple requests, manipulate configuration information on an SNMP-capable device, retrieve a fixed collection of information from an SNMP-capable device, convert between numerical and textual forms of MIB OIDs, and display MIB content and structure.

soap: the SOAP extension can be used to write SOAP Servers and Clients.

sockets: the socket extension implements a low–level interface to the socket communication functions based on the popular BSD sockets, providing the possibility to act as a socket server as well as a client.

sourceguardian: this PHP encoder protects your PHP code by compiling the PHP source code into a binary bytecode format, which is then supplemented with an encryption layer.

spl: the Standard PHP Library (SPL) is a collection of interfaces and classes that are meant to solve common problems. SPL provides a set of standard datastructure, a set of iterators to traverse over objects, a set of interfaces, a set of standard Exceptions, a number of classes to work with files and it provides a set of functions like spl_autoload_register().

spl_types: this extension aims at helping people making PHP a stronger typed language and can be a good alternative to scalar type hinting. It provides different typehandling classes as such as integer, float, bool, enum and string.

sqlite: this is an extension for the SQLite Embeddable SQL Database Engine. SQLite is a C library that implements an embeddable SQL database engine. Programs that link with the SQLite library can have SQL database access without running a separate RDBMS process. SQLite is not a client library used to connect to a big database server. SQLite is the server. The SQLite library reads and writes directly to and from the database files on disk.

sqlite3: support for SQLite version 3 databases.

ssh2: bindings to the libssh2 library which provide access to resources (shell, remote exec, tunneling, file transfer) on a remote machine using a secure cryptographic transport.

standard: the standard set of classes.

stats: this is the statistics extension. It contains few dozens of functions useful for statistical computations.

stem: a PHP extension that provides word stemming.

stomp: this extension allows php applications to communicate with any Stomp compliant Message Brokers through easy object oriented and procedural interfaces.

suhosin: is an advanced protection system for PHP installations. It was designed to protect servers and users from known and unknown flaws in PHP applications and the PHP core. Suhosin comes in two independent parts, that can be used separately or in combination. The first part is a small patch against the PHP core, that implements a few low–level protections against buffer overflows or format string vulnerabilities and the second part is a powerful PHP extension that implements numerous other protections.

sybase_ct: module which gets number of affected rows in last query, closes a Sybase connection, opens a Sybase server connection, moves internal row pointer, sets the deadlock retry count, fetch row as array, fetch a result row as an associative array, gets a result row as an enumerated array, returns the last message from the server

sysvmsg: shared memory support.

sysvsem: shared memory functions.

sysvshm: extension for shared memory.

tidy: tidy is a binding for the Tidy HTML clean and repair utility which allows you to not only clean and otherwise manipulate HTML documents, but also traverse the document tree.

timezonedb: timezone Database to be used with PHP’s date and time functions

tokenizer: the tokenizer functions provide an interface to the PHP tokenizer embedded in the Zend Engine. Using these functions you may write your own PHP source analyzing or modification tools without having to deal with the language specification at the lexical level.

trader: the trader extension is a free open source stock library based on TA–Lib. It’s dedicated to trading software developers requiring to perform technical analysis of financial market data.

translit: this module allows to transliterate non-latin character sets to latin.

uploadprogress: an extension to track progress of a file upload.

uri_template: implementation of URI Template specification for PHP.

uuid: this extension allows to generate a unique ID.

wddx: the Web Distributed Data Exchange (WDDX) is a XML-based technology that allows Web applications created with any platform to easily exchange data with one another over the Web.

weakref: the WeakRef class provides a gateway to objects without preventing the garbage collector from freeing those objects. It also provides a way to turn a weak reference into a strong one.

xdebug: the Xdebug extension helps you debugging your script by providing a lot of valuable debug information.

xml: XML (eXtensible Markup Language) is a data format for structured document interchange on the Web.

xmlreader: the XMLReader extension is an XML Pull parser. The reader acts as a cursor going forward on the document stream and stopping at each node on the way.

xmlrpc: XML-RPC is a remote procedure call (RPC) protocol which uses XML to encode its calls and HTTP as a transport mechanism. XML-RPC also refers generically to the use of XML for remote procedure call, independently of the specific protocol. This article is about the protocol named ‘XML-RPC’.

xmlwriter: this extension represents a writer that provides a non-cached, forward-only means of generating streams or files containing XML data.

xrange: xrange is a compiled extension that provides numeric iteration primitives to PHP on top of SPL. It includes a lean numeric range generator/iterator, modeled after Python’s xrange() function. It’s intended to provide an alternative for all numeric iteration and looping.

xsl: the XSL extension implements the XSL standard, performing XSLT transformations using the libxslt library

yaf: the Yet Another Framework (Yaf) extension is a PHP framework that is used to develop web applications.

yaml: this extension implements the YAML Ain’t Markup Language (YAML) data serialization standard. Parsing and emitting are handled by the LibYAML library. YAML is a human friendly data serialization standard for all programming languages.

yaz: this extension offers a PHP interface to the YAZ toolkit that implements the Z39.50 Protocol for Information Retrieval. With this extension you can easily implement a Z39.50 origin (client) that searches or scans Z39.50 targets (servers) in parallel.

zend guard loader: Zend Guard is the most widely accepted PHP encoding and obfuscation product on the market which protects your application from unlicensed use and reverse engineering.

zend_optimizer: allows PHP to run files encoded by Zend Guard which greatly enhances the performance of PHP applications. The Zend Optimizer goes over the code generated by the standard Zend run-time compiler and optimizes it for faster execution.

zip: this extension enables you to transparently read or write ZIP compressed archives and the files inside them.

zlib: this module enables you to transparently read and write gzip (.gz) compressed files, through versions of most of the filesystem functions which work with gzip-compressed files (and uncompressed files, too, but not with sockets).

ادامه مطلب

نحوه تغییر دادن ورژن PHP در سرورهای اشتراکی

How to change PHP version on shared servers

In some cases, correct functioning of your website depends on a PHP version installed on the server.
This guide describes how to change php version on shared servers (Value, Professional and Ultimate plans). For Business SSD servers, use this guide.

Thanks to the PHP Selector function, it is possible to select the necessary PHP version as well as enable/disable certain PHP modules and functions.

To check what PHP version is currently in use, refer to this article.

for cPanel paper_lantern theme
for cPanel x3 theme

for cPanel paper_lantern theme:

1. Log into your cPanel account.
2. Scroll down to the Software section > Select PHP Version

3. Here you will see the list of available modules and extensions.

If you do not need to change the PHP version and just want to turn on/off specific extensions, you can do this by checking/unchecking the corresponding boxes.

Use the PHP Version drop-down box to select the required version, click on Set as current in order to apply the changes.

NOTE: The ‘native’ PHP version does not allow changing any options. You can set the desired values using a php.ini file:

4. To change individual settings within the PHP version in question, click on Switch to PHP Settings.

By clicking on one of the options in grey, you will be presented with a drop-down list to change specific settings. Hit Apply to implement the settings:

NOTE 1: It is recommended to update your website scripts and use PHP 5.6. If the latest software you run for your websites is not yet compiled for PHP 5.6, please contact the script vendor for a compatibility patch. 

NOTE 2: If you used a php.ini file for editing your account PHP configuration before, you will need to replicate the custom values using PHP Selector tool. 

NOTE 3: In order to increase the max upload size, make sure to modify both post_max_size and upload_max_filesize values. 

for cPanel x3 theme:

To change the PHP version, follow the steps below:

1. Log into your cPanel account.
2. Scroll down to the Software/Services section > Select PHP Version

3. Here you will see the list of available modules and extensions.

If you do not need to change the PHP version and just want to turn on/off specific extensions, you can do this by checking/unchecking the corresponding boxes.

Use the PHP Version drop-down box to select the required version, click on Set as current in order to apply the changes.

NOTE: The ‘native’ PHP version does not allow changing any options. You can set the desired values using a php.ini file: 

4. To change individual settings within the PHP version in question, click on Switch to PHP Settings.

By clicking on one of the options in grey, you will be presented with a drop-down list to change specific settings. Hit Apply to implement the settings: 

NOTE 1: It is recommended to update your website scripts and use PHP 5.6. If the latest software you run for your websites is not yet compiled for PHP 5.6,  please contact the script vendor for a compatibility patch.

NOTE 2: If you used a php.ini file for editing your account PHP configuration before, you will need to replicate the custom values using PHP Selector tool. 

NOTE 3: In order to increase the max upload size, make sure to modify both post_max_size and upload_max_filesize values.

ادامه مطلب

نحوه چک کردن ورژن PHP و پیکربندی آن

How to check PHP version and configuration

PHPinfo() function is commonly used to check the current state of PHP configuration. It can also be used for debugging purposes as it contains all EGPCS (Environment, GET, POST, Cookie, Server) data.

To run the function, follow the steps below:

for cPanel paper_lantern theme
for cPanel x3 theme

for cPanel paper_lantern theme:

1. Log into your cPanel account, go to Files section > File Manager menu:

2. Navigate to public_html directory, click on New File and create a phpinfo.php file:

3. Find the newly created file in the list and click on Code Editor:

4. Add the lines of the code provided below to the file and click on Save Changes:

<?php
phpinfo();
?>

5. To see the detailed information about PHP configuration of your account, open http://yourdomain.com/phpinfo.php link in your browser, replacing yourdomain.com with your main domain name.

NOTE: For security reasons, do not forget to delete the file once you check all the necessary information.

for cPanel x3 theme:

1. Log into your cPanel account, go to the section Files File Manager menu:

2. Navigate to the public_html directory, click on New File and create a phpinfo.php file:



3.Find the newly created file in the list and click on Code Editor:

4. Add the lines of the code provided below to the file and click on Save Changes:


<?php
phpinfo();
?> 

5. To see the detailed information about PHP configuration of your account, open http://yourdomain.com/phpinfo.php link in your browser, replacing yourdomain.com with your main domain name.

NOTE: 
For security reasons, do not forget to delete the file once you check all the necessary information.

That’s it!

ادامه مطلب

تفاوت Basic DNS و BackupDNS

What is the difference between your Basic and BackupDNS?

There is no performance difference between our BasicDNS and BackupDNS (a legacy option). Still, some domains do not support BackupDNS (the option to select BackupDNS is absent in the Nameservers section).

It is possible to add up to 150 host records on our BasicDNS and up to 100 on BackupDNS.

TTL for host records can be set to 1,5,20,30,60 minutes on BasicDNS, however, on BackupDNS you can onlyset it to 30 minutes.

Our BasicDNS is a primary one. When you get a domain with us, the following name servers are provided by default:

dns1.registrar-servers.com
dns2.registrar-servers.com 

BackupDNS is a legacy option, however, some domains are still pointed to it:

dns1.name-services.com
dns2.name-services.com
dns3.name-services.com
dns4.name-services.com
dns5.name-services.com 

This option cannot be chosen in your Namecheap account anymore.

ادامه مطلب