Koozali.org: home of the SME Server

Apache and PHP

Offline sgscc

  • *
  • 11
  • +0/-0
Apache and PHP
« on: January 18, 2010, 01:02:00 AM »
Hi,

I made a PHP website using NetBean v6.8 and I want to my PHP website to be hosted by the SME Server.
The problem is I don't know how to send the PHP website to my SME Server.

Is there a HowTo for this? Please help me.

Offline mmccarn

  • *
  • 2,656
  • +10/-0
Re: Apache and PHP
« Reply #1 on: January 18, 2010, 03:33:15 AM »
There's a contrib called Site Maker that tries to simplify the installation of generic web applications.

You should also search the wiki and forums for notes on installing other PHP applications - you may find one that looks similar to yours, and if you read 3 or 4 sets of instructions you should get a good feel for the oddities of installing apps on a SME server.

Offline sgscc

  • *
  • 11
  • +0/-0
Re: Apache and PHP
« Reply #2 on: January 18, 2010, 03:46:47 AM »
Thanks for the quick response.

I'll try out the Site Maker as soon as I get home.

So my next question is how can I transfer the PHP site to my SME Server?
I'm using NetBeans as my development tool.

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: Apache and PHP
« Reply #3 on: January 18, 2010, 07:12:16 AM »
sgscc

VPN, sftp, ssh (Putty), WinSCP, take your pick as preferred.
If you choose sftp then read the section in ibay re sftp access CAREFULLY.
You must login as a valid user and cd to the ibay.
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline sgscc

  • *
  • 11
  • +0/-0
Re: Apache and PHP
« Reply #4 on: January 18, 2010, 08:36:34 AM »
mary

i don't quite get what your saying.
i'm using putty to connect to the sme server box but i don't see any options in it to transfer the files to the server box.
could you please provide me more information about it.

let's say i made an app called myfirstwebsite
what i want to happen is that whenever users type http://mysmeserver/myfirstwebsite they would automatically see the app

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: Apache and PHP
« Reply #5 on: January 18, 2010, 08:56:43 AM »
sgscc

Use scp, do
man scp
for usage details

 
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.