Web Hosting News, Web Hosting Tips, Web Hosting Tutorials and FAQ by AwardSpace.com
AwardSpace Blog » Posts in 'General questions' category

How to import MySQL Database over SSH? No comments yet

Answer:

1. First upload your .sql file inside your account.
2. Create SSH access using the SSH Manager, then SSH your account.
3. Using SSH go inside the folder where your .sql file is and run the following command:
mysql <DB> -h <HOST> -u <USER> -p <PASS> < file.sql

How to unzip files directly on the Server? No comments yet

Answer: There are two ways to extract .zip files directly on the server:

1.The first one is by using SSH
->Run the following command over SSH:
unzip theziparchive.zip

2.The second way is with PHP script.
-> Create file unzip.php in the current directory where your zip file is and add to the file the following script:

<?
exec(”unzip theziparchive.zip”);
?>

How to enable Zend Optimizer/Ioncube support for my web hosting account? No comments yet

Answer: This instruction applies only for paid hosting accounts and requires to EDIT the php.ini file. Inside your web hosting account, PHP Settings menu add the following line at the end of the file:

# For Ioncube and php4:
zend_extension = /usr/local/ioncube/ioncube_loader_lin_4.4.so

# For Ioncube and php5:
zend_extension = /usr/local/ioncube/ioncube_loader_lin_5.2.so

# For Zend Optimizer and php4:
[Zend]
zend_extension_manager.optimizer=/usr/local/Zend_php4/lib/Optimizer-3.3.3
zend_optimizer.version=3.3.3
zend_extension=/usr/local/Zend_php4/lib/ZendExtensionManager.so

# For Zend Optimizer and php5
[Zend]
zend_extension_manager.optimizer=/usr/local/Zend_php5/lib/Optimizer-3.3.3
zend_optimizer.version=3.3.3
zend_extension=/usr/local/Zend_php5/lib/ZendExtensionManager.so
zend_optimizer.optimization_level=15

What is the php memory size limit your platform supports? No comments yet

Answer: Our hosting configuration supports 16MB php memory limit.

My web site (written in php) has difficulty to display the symbols £, € etc. When text is called from a database, how can this be rectified? No comments yet

Answer: Here are several things you need to set up in order to have these signs displayed correctly:

- Inside your control panel, phpMyAdmin should be set to the following unicode standard: ‘utf-8′;

- Meta tags on all pages should be: <meta http-equiv=”Content-Type” content=”text/html; charset=utf-8″>

- All texts should be imported in the database using unicode standard: ‘utf-8′ as well;

I uploaded my site but it doesn’t show up when I type in my domain/subdomain in a browser. No comments yet

Answer: Please check whether you uploaded the site to the exact location associated with the domain/subdomain. Visit the subdomain manager and you will find the folder for the site at all domains/subdomains within your account. Next, please visit your File Manager to check if the data has been uploaded correctly and that permissions of the files are 755.

I lost my username and/or password. What can be done? No comments yet

Answer: If you can recall your username/Client ID, please use the lost password retrieval tool at our web site. If you lost your username/Client ID as well, you can simply contact us by sending an email from the email address used originally for the account registration and ask for your details.

Can I change my php.ini settings and/or switch to php 5.x? No comments yet

Answer: Yes however only clients on paid accounts can change certain php.ini settings from their web hosting control panel as well as switch from php 4.x.x.x to 5.x.x.x using PHP Settings menu.

What PHP functions are disabled on free accounts? No comments yet

Answer: The following PHP functions are disabled on free accounts due to system/security reasons: allow_url_fopen, fsockopen, pfsockpen, getrusage, get_current_user, set_time_limit, getmyuid, getmypid, dl, leak, listen, chown, chgrp, realpath, link, exec, passthru, curl_init. For further restrictions, please refer to our Terms of Services FREE Hosting.

Why is my site showing “This domain still has no index.html page uploaded!” page? No comments yet

Answer: This is our default index.html which is automatically added when you create a domain/subdomain into the Domain/Subdomain Manager. Upload your own index.html page to see your site’s default page.

Top of page / Subscribe to new Entries (RSS)