turning php code into a beta website
Moderator: General Moderators
turning php code into a beta website
Sorry to be the ignorant one but I have a folder of php code and I cant seem to get it to a point where I can see what it would look like on a website. I have a php editor but it really is mumbo jumbo to me . Can anyone help?
Re: turning php code into a beta website
PHP code is interpreted by the web server, so if you want to view scripts locally, you need to install PHP and a web server, like Apache. The way you install it is quite different on Windows or on Linux, but it is very common and the web is just full of tutorials on how to do it.hvnlydaze wrote:Sorry to be the ignorant one but I have a folder of php code and I cant seem to get it to a point where I can see what it would look like on a website. I have a php editor but it really is mumbo jumbo to me . Can anyone help?
- JAB Creations
- DevNet Resident
- Posts: 2341
- Joined: Thu Jan 13, 2005 6:44 pm
- Location: Sarasota Florida
- Contact:
Re: turning php code into a beta website
I recommend XAMPP as it's pretty quick to setup...
http://www.apachefriends.org/en/xampp.html
I even recently shot a video tutorial quickly outlining how it works...
http://youtube.com/watch?v=jCCL3SUFULY
1.) Install XAMPP.
2.) Change the htdocs to the folder you intend to use for your local website.
3.) Make a sub-folder in that folder and move the files you're trying to get to work.
http://www.apachefriends.org/en/xampp.html
I even recently shot a video tutorial quickly outlining how it works...
http://youtube.com/watch?v=jCCL3SUFULY
1.) Install XAMPP.
2.) Change the htdocs to the folder you intend to use for your local website.
3.) Make a sub-folder in that folder and move the files you're trying to get to work.
Re: turning php code into a beta website
ok I have uploaded files to my server now what?
Re: turning php code into a beta website
Jab, Do you use skype?
- JAB Creations
- DevNet Resident
- Posts: 2341
- Joined: Thu Jan 13, 2005 6:44 pm
- Location: Sarasota Florida
- Contact:
Re: turning php code into a beta website
1.) Do not PM members for answers as it defeats the purpose of having an open discussion where others can learn from your questions/answers.
2.) XAMPP lets you run your own system as the server for local testing. You don't need to upload anything for any reason.
If you follow the directions in the video you'll have already setup your htdocs folder and you'd be well on your way.
2.) XAMPP lets you run your own system as the server for local testing. You don't need to upload anything for any reason.
If you follow the directions in the video you'll have already setup your htdocs folder and you'd be well on your way.
Re: turning php code into a beta website
tanks will watch video and see where it takes me. sorry about the pm
Re: turning php code into a beta website
I downloaded it but error came up saying apache tried to use port 80 but already in use failed. The download itself worked but when I opened xampp control window apache is not running
Re: turning php code into a beta website
in the modules
- JAB Creations
- DevNet Resident
- Posts: 2341
- Joined: Thu Jan 13, 2005 6:44 pm
- Location: Sarasota Florida
- Contact:
Re: turning php code into a beta website
Then something is already running on port 80. Do you have IIS or another web server already running on port 80?
Re: turning php code into a beta website
i had the smart ftp running but not sure what port 80 is btw closed smart ftp and trie to start apache and still says port 80 is busy
Re: turning php code into a beta website
not sure what IIS is
- JAB Creations
- DevNet Resident
- Posts: 2341
- Joined: Thu Jan 13, 2005 6:44 pm
- Location: Sarasota Florida
- Contact:
Re: turning php code into a beta website
Did you try rebooting?JAB Creations wrote:Do you have IIS or another web server...
If Apache won't run through XAMPP the 'running' text with green background will only momentarily flicker on and then off.
Also try using Apache and MySQL as a service instead (click the 'Svc' checkboxes).
I am not aware of any program that would allow you to know what programs are using what ports.
- Kieran Huggins
- DevNet Master
- Posts: 3635
- Joined: Wed Dec 06, 2006 4:14 pm
- Location: Toronto, Canada
- Contact:
Re: turning php code into a beta website
Skype uses port 80 as a "get around the firewall" port - turn off skype first, then start it after your web server is running.
Re: turning php code into a beta website
Thanks am triing now