How to upload on hosting

I have a yii project. I would like to upload it on x10hosting. But my hosting support only index.html.

Somebody help me,plz !

connect your hosting support

<meta http-equiv="refresh" content="0;URL=index.php" />

thank! but my hosting is free, and support too bad

no htaccess ?

My host support httaccess. And I want to know how to modify it

maybe you could host there only html pages? If it so, then you can’t run Yii or other PHP app there.

always first test for php hosting support, then if php is supported, then verify what version is installed.

create a simple script named:


with this content inside:

<?php echo phpinfo(); ?>

upload it to your hosting account and test it. if it works then your hosting support PHP. if not…move to another hosting provider…

sample test link:

If your host support .htaccess and PHP is installed on the server, you can tell the server to parse .htm(l) files as php, using this in your .htaccess file:

RemoveHandler .html .htm

AddType application/x-httpd-php .php .htm .html

(I understood your question as ‘my host only allows me to upload .htm(l) files’?)

Seems the hosing is supporting php and mysql ( My advice would be to ask in their Support forum