LOW COST JAVA PHP MYSQL CGI PERL
HOSTING SERVICE
LINUX WINDOWS CPANEL WHM PLESK
HOSTING PACKAGES
ECOMMERCE HOSTING ASP JSP MSSQL
FRONTPAGE HOSTING
CPANEL WHM RESELLER DEDICATED
SERVER WEB HOSTING

Archive for PHP Questions

Using PHP in html pages

Q. Can I use a PHP tag in my html page?

Ans. Yes, you can use the PHP tag within html pages. All you have to do is to embed PHP with html in your apache configuration and add modules which will execute the php code in your html pages. Our support will help you if you are unable to make this changes from your end or if you have a shared hosting account.

For those who have dedicated servers or VPS accounts can do this in the “AddHandler” section of httpd.conf

Simply add following line in AddHandler :-

AddType application/x-httpd-php .html

After adding it the addhandler section would look like this :-

AddType application/x-httpd-php .php
AddType application/x-httpd-php .php4
AddType application/x-httpd-php .php3
AddType application/x-httpd-php .html
AddType application/x-httpd-php-source .phps
AddType application/x-httpd-php .phtml
AddHandler cgi-script .cgi .pl
AddType text/html .shtml
AddType application/x-tar .tgz
AddType text/vnd.wap.wml .wml
AddType image/vnd.wap.wbmp .wbmp
AddType text/vnd.wap.wmlscript .wmls
AddType application/vnd.wap.wmlc .wmlc
AddType application/vnd.wap.wmlscriptc .wmlsc

Access to edit php.ini file?

Q. Do you allow access to edit php.ini file?

Ans. We don’t allow php.ini access from the shared hosting accounts on our servers. You can enable or disable various php.ini functions from .htaccess of your account, you can also enable/disable safe mode, register globals, sessions and many other functions from .htaccess.
If you need php.ini access for some other reason then you can consider our VPS Hosting plans, as you will get full root access on your VPS, and will have a dedicated environment to work with.

Do you support PHP Nuke?

Q. Do you servers support PHP Nuke?

Ans. We fully support the use of PHP Nuke on our web servers. PHP Nuke is a web based automated news publishing and content management system (a ‘nuke’) based on PHP and MySQL. The system is fully controlled using a web-based user interface.

Which version of PHP and MySQL do your VPS use?

Q. PHP/MySQL version used on VPS?

Ans. We can setup any version of PHP and MySQL for you although the recommend versions are MySQL 5 and PHP 5 if you wish to order a new Virtual Private Server.

cURL under PHP

Q. Do you support cURL?

Ans. We do provide support for cURL under PHP. cURL is a command line tool for transferring files with URL syntax. It is used to automate unattended file transfers or sequences of operations.

PHP/MySQL and Private Nameservers

Q. Which version of PHP and MySQL is installed on your servers. Will I get Private Nameservers?

Ans. We have PHP 4 and PHP 5 with MySQL 4.1.21 and 5.0.27 installed on our servers. We provide cPanel control panel on Linux cPanel Hosting Packages and Plesk control panel on Windows Hosting Packages. We have very good and stable Linux servers, as well as Windows servers. We offer 24×7 uninterrupted E-mail, Live Chat and Toll-Free Phone Support. We offer private nameservers on Reseller Hosting , VPS Hosting and Dedicated Servers only.

PHP & MySQL version can be customized as per your requirement on VPS Hosting or Dedicated Servers. If you wish to have any different version of PHP or MySQL then you can contact our support team and request them to setup / move your account on a server which has the version you need. We have multiple servers with different PHP and MySQL versions.

Apache mod_rewrite

Q. Is Apache mod-rewrite enabled on all cPanel Servers?

Ans. Apache mod_rewrite is enabled on all cPanel servers owned by eUKhost. You can view “phpinfo” on one of our servers at: http://87.117.200.71/phpinfo.php

mod_rewrite rules need to be added .htaccess file which is located in your public_html directory. You will need to take a look at .htaccess generator guidelines to add the rules in your .htaccess. Mostly you will get the code from the CMS or script you are using so you can add that directly in your .htaccess or generate custom code using the .htaccess generator mentioned in tutorials section of our forum.