Help for testing php

hi ,i’m new

i just want to know how can i test my php codes on my own site here ,
i cant find index.php in my file manager

there is just index2.html!!

how can i use php codes on my own site by this good service and company??

thanks!!

You will have to create an index.php file. Some code you can put in it is so:

<?php echo "Hello, World"; ?>

You can read this PHP guide to find some awesome stuff to do:

4 Likes

thank you so much , It works well.
I would like to try this service now and buy the better one from this company later.
I used xamp for training and I have never tested on a server connected to a network.

i just want to know :does this server support sockets?
for example :can this server listen on port 2022 ?
and can this server recieve data from clients?
or i should use premium version?
if you have time please tell me that ,thanks

This is not something that’s possible on a web hosting service.

The key characteristics of a web hosting service is that it’s a shared server, and the software on it is managed by the hosting provider.

A consequence of this is that you can’t typically run your own background processes, or bind your own programs to ports on the server. With web hosting, your website code is executed and the page accessed through the web server software of the hosting provider.

I don’t know any web hosting service where what you want is possible. It’s not possible on our free hosting or on iFastNet’s premium hosting. I’m pretty sure you’ll need your own (virtual) server, or VPS, for this.

2 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.