Php - upload webservice php to server - php

I am android developer , I have no experience with php but I have requirement to upload web site to linux server , I am using WinSCP to upload web site .
here is screenshot for server side , in which folder should I upload it , and how to access it to using it as web service in my mobile
UPDATE
the site Amazon aws hosting

That depends where the web server is configured to serve files from. Common locations are a public_html or www or htdocs directory in your home folder (if you are using a shared server), or in /var/www or /srv/www for dedicated servers.
Again, accessing it depends on how the web server is configured. It might just use an IP address, or it may have a domain name pointing at it. Whomever set up the server will have this information.

Related

Error 500 when accessing deployed Symfony2 project

I was developing Symfony2 website on my local machine and after i finished, i uploaded it to our company's remote test server via FTP.
When I try to access it by typing either:
www.project_name.company_website.cz/
www.project_name.company_website.cz/web/
www.project_name.company_website.cz/web/app.php
I get error 500.
This app runs well on my local machine but I don't know what is wrong on remote server. My thought is that there is no index file in project's root or .htaccess but I am new to web development so I don't have enough information about this.

Remote access server (xamp) using http

I have remote access to another computer, and I can access that computer using its ip address and xamp server is also installed on that remote machine.
Now what I want is to access the file placed in that wamp server such as .php file from my own computer, such as using http://something/file.php
How can I do this?
Try the ip of the remote machine plus the folder of the project which is located under htdocs folders on xampp.
For example,
192.168.1.1/folderName
I'm not sure that is going to help you but why no try!

XAMPP Security and Remote Access

Hello I am running tests on my XAMPP server.
Let's say we have the following scenario :-
My Laptop is running the server in a small Local Network.
And I am accessing my Server with my personal PC.
Is it possible to upload files to htdocs from my Personal PC to the Server Laptop?
If we assume that all security settings are turned off. Basically I need to remotely upload files to HTDOCS so I can use them from the server!
As far as I remember doesnt XAMPP come with a FileZilla server as part of the install?
So configure the fileZilla server on the laptop, create a userid and set that userid up to be able to see the htdocs folder.
Then install FileZilla client on the desktop PC. You can then use FTP ( FileZilla ) in just the same way you would if the site was running on a real hosted server.
FileZilla Server setup instuctions
No.
Web servers do not, by default, run any services that write file uploads to a directory on the server.
You'll need to run some kind of suitable service such as SFTP, Windows File & Print Sharing, or a web based file uploader script.

Flex to remote server

I am trying to get a Flex/PHP application set up and am having problems connecting to my server. The database/PHP isn't going to be hosted on a local server, it will be hosted on a remote server along side the PHP. When I am trying to set up the project, I am asked for the web root but when I put in the ftp or URL to the remote server it throws the "The web server document root is not a valid directory". All information I have found seem to be pointing to having a locally hosted version of the server, but that isn't possible. Is there any other way?

Sharing files between PC and remote web server via FTP

This may have been asked before, but I could not find the answer.
I am looking to share a folder/files on my desktop/local machine with a specific folder/files on my web server, similar to box.net.
In this folder:
I can give another person access to this remote folder and we can
share these files between us.
All the files will get automatically sent to the server when they are saved on the local machine.
Both myself and the user can see the files on the remote server.
I could do this manually with FTP, but I only want specific remote folders and to have this automated.
Thanks in advance.
You can mount a Remote Folder as local using SSH on Linux ...
Both server & local pc must using linux OS ....
This is a great tutorial ...
http://www.howtogeek.com/howto/ubuntu/how-to-mount-a-remote-folder-using-ssh-on-ubuntu
Hope this to help you

Categories