Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: sgscc on January 18, 2010, 01:02:00 AM

Title: Apache and PHP
Post by: sgscc 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.
Title: Re: Apache and PHP
Post by: mmccarn on January 18, 2010, 03:33:15 AM
There's a contrib called Site Maker (http://wiki.contribs.org/SME_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.
Title: Re: Apache and PHP
Post by: sgscc 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.
Title: Re: Apache and PHP
Post by: janet 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.
Title: Re: Apache and PHP
Post by: sgscc 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
Title: Re: Apache and PHP
Post by: janet on January 18, 2010, 08:56:43 AM
sgscc

Use scp, do
man scp
for usage details