|
-
Feb 22nd, 2008, 11:05 PM
#1
Thread Starter
Lively Member
[RESOLVED]Php/MySql Deployment
i have developed a simple php project..
i just want to ask, how am i going to deploy it? are there any steps on how to this? what will i configure? Etc,....
Need help here badly... Any suggestions will be appreciated.. Thanks!
-
Feb 23rd, 2008, 12:10 PM
#2
Re: Php/MySql Deployment
what do you mean deploy it? did you make it locally and want to put it on the web? then get a domain, upload through ftp, export your local db, and import remotely.
My usual boring signature: Something
-
Feb 25th, 2008, 04:48 PM
#3
Re: Php/MySql Deployment
Deploying a PHP application is usually just a case of copying the appropriate files across to the server via FTP, SSH, HTTP or SMB. You may want to consider using synchronisation software if you want to ensure only the appropriate (changed) files are copied.
Another option is to package the files in a ZIP file with relative folder names included. You can then make a simple upload interface on the site and extract / copy the files using PHP. You need to ensure you take some security precautions before you do this however.
- Use a secure login interface to authenticate yourself and possibly fix it to an IP address. SSL is desirable, if not a challenge response mechanism.
- Ensure you use the interface to update a separate application: i.e: a directory that the interface doesn't reside in.
-
Feb 25th, 2008, 07:34 PM
#4
Re: Php/MySql Deployment
As a matter of caution, I would only do the zip/tar trick if you have shell access. Securing a file upload interface can be tougher than you think. (I've had a site compromised before now because I didn't do adequate checks on uploads.)
Or, is the question how to create a redistributable package?
-
Feb 26th, 2008, 02:59 AM
#5
Thread Starter
Lively Member
Re: Php/MySql Deployment
i mean, i made this project locally... then i want it to be deployed on a Local area network..
-
Feb 26th, 2008, 03:01 AM
#6
Re: Php/MySql Deployment
Look above a replies no 1 and 2.
-
Feb 26th, 2008, 04:58 AM
#7
Re: Php/MySql Deployment
Simply make port 80 on your PC accessible over the LAN if you have a firewall enabled. Otherwise it should work already.
-
Feb 29th, 2008, 09:30 PM
#8
Thread Starter
Lively Member
Re: Php/MySql Deployment
How will i know if my port 80 is accessible on LAN?
Sorry for so many questions, im a beginner on Php so i will ask you guys tons of questions. Thanks a lot! I really appreciate it.
-
Feb 29th, 2008, 10:02 PM
#9
Re: Php/MySql Deployment
well you need the IP address of the server, then go to another computer on the network and type it in in (doubles ) the browser. If you site shows up, then it works
My usual boring signature: Something
-
Mar 2nd, 2008, 10:58 AM
#10
Re: Php/MySql Deployment
If you are not running any kind of software firewall then it is already accessible.
If you are, then you will need to open that port.
Windows, from XP SP2 onwards, includes a firewall which is enabled by default. You can open port 80 (or just disable the firewall altogether) from the Windows Firewall control panel.
Linux distros generally open port 80 by default.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|