Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
Adding PHP server to my host site
Old 06-08-2009, 03:52 PM Adding PHP server to my host site
raduzhok's Avatar
Average Talker

Posts: 18
Name: rad
Location: USA
Trades: 0
I was able to d/l Wamp finally and I installed it on my computer. It shows as 'server offline' when I open it from the DT icon. Being too new to know for sure, I'm guessing I have to actually upload Wamp to my server.

Two questions:

Do I need to upload ALL of it, or just the needed phpmyadmin part? At the moment, the installed program is bigger than what my host site allows for my package.

I checked, and the app for php is about 15MB. I just want to make sure about whether I need everything or can just get by for now, while I'm working the tutorials for beginning php, with the app folder.

I'm using my own FTP. To transfer, do I need to zip it?

Rad
raduzhok is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 06-10-2009, 02:19 AM Re: Adding PHP server to my host site
Extreme Talker

Posts: 181
Name: David Jackson
Trades: 0
WAMP (WAMPSERVER now) is a technology stack deployment tool. It installs the 3 required technologies in one go saving you the hassle. Used predominantly to create a server environment on your local machine this gives you the power to create PHP sites without using your Live server space during the development phase.

Your live server space should be spec-ed with PHP support. If you have purchased a PHP environment it will already be installed and ready to go so no need to upload WAMP (this wouldn't work anyway)

to test your host space has PHP available all you do is create an empty file in notepad

add this code

PHP Code:
<?php phpinfo() ?>
Save the file and name it info.php

Upload it to your space

browse for it through http

what happens?
__________________

Please login or register to view this content. Registration is FREE

Last edited by davidj; 06-10-2009 at 02:25 AM..
davidj is offline
Reply With Quote
View Public Profile
 
Old 06-10-2009, 11:19 AM Re: Adding PHP server to my host site
raduzhok's Avatar
Average Talker

Posts: 18
Name: rad
Location: USA
Trades: 0
Quote:
Originally Posted by davidj View Post
WAMP (WAMPSERVER now) is a technology stack deployment tool. It installs the 3 required technologies in one go saving you the hassle. Used predominantly to create a server environment on your local machine this gives you the power to create PHP sites without using your Live server space during the development phase.

Your live server space should be spec-ed with PHP support. If you have purchased a PHP environment it will already be installed and ready to go so no need to upload WAMP (this wouldn't work anyway)

to test your host space has PHP available all you do is create an empty file in notepad

add this code

PHP Code:
<?php phpinfo() ?>
Save the file and name it info.php

Upload it to your space

browse for it through http

what happens?
Thank you, David, for your response. On a previous thread, I asked about the problem I was having with not being able to get my file to work. I received this info there:

Quote:
Originally Posted by Falcone View Post
1. you need a server that runs PHP, there are thousands free php host providers on the net, look for one in directories like
http://www.findfreeweb.com,
http://www.free-webhosts.com,
http://www.freewebspace.net

many of them have basic or advanced online editors.

2. search for a php editor here http://www.php-editors.com

3. get a ftp-client like filezila (http://www.filezilla-project.org) for uploading your files

4. you can also install your own php server on your computer. easy to do with wamp (http://www.wampserver.com/en/)

5 good luck
I found out that the server my domain is on, with the package I had, did not support CGI Access. I could upgrade, or get a 'package' from the internet the server help said.

I followed op 4 above. I didn't understand that it was providing me with my own server, rather thought it would allow me to upload the php aspect to my domain's server. So what I actually should have done was to get the php.editor? The thing is, I am not sure whether that would work without the CGI Access not included. I'll see if I can find an editor and upload it to my server (if that is how that works) and go from there. Any further information you can provide would be appreciated.

Rad

Last edited by raduzhok; 06-10-2009 at 11:21 AM..
raduzhok is offline
Reply With Quote
View Public Profile
 
Old 06-11-2009, 02:40 AM Re: Adding PHP server to my host site
Extreme Talker

Posts: 181
Name: David Jackson
Trades: 0
have you installed wamp on your local machine?
__________________

Please login or register to view this content. Registration is FREE
davidj is offline
Reply With Quote
View Public Profile
 
Old 06-11-2009, 11:09 AM Re: Adding PHP server to my host site
raduzhok's Avatar
Average Talker

Posts: 18
Name: rad
Location: USA
Trades: 0
Quote:
Originally Posted by davidj View Post
have you installed wamp on your local machine?
I did have it installed, but since it wasn't actually what I needed (the php editor seems to be more useful, if I'm understanding the differences), I uninstalled it. It's still in my downloads folder.
raduzhok is offline
Reply With Quote
View Public Profile
 
Old 06-11-2009, 02:57 PM Re: Adding PHP server to my host site
Extreme Talker

Posts: 181
Name: David Jackson
Trades: 0
To run a PHP web site you need PHP and a web server

WAMP installs these technologies for you

If you have uninstalled WAMP then you wont be able to run a PHP web site

You need to learn the basics first.
__________________

Please login or register to view this content. Registration is FREE
davidj is offline
Reply With Quote
View Public Profile
 
Old 06-16-2009, 05:10 PM Re: Adding PHP server to my host site
raduzhok's Avatar
Average Talker

Posts: 18
Name: rad
Location: USA
Trades: 0
Quote:
Originally Posted by davidj View Post
To run a PHP web site you need PHP and a web server

WAMP installs these technologies for you

If you have uninstalled WAMP then you wont be able to run a PHP web site

You need to learn the basics first.
Yes, that's why I came here, to learn the basics. I started working with a tutorial but realized that I wasn't seeing any results. So came to ask questions. Now I know I need a site that supports CGI Access, and the site my pages are on does, but not with the package I'm using. They said I can use an editor on their site if I didn't want to upgrade.

I d/l a php editor (codelobster) Is that what you mean when you said, 'To run a PHP web site you need PHP?'

If so, then my next question is, do I upload that to my site tools?

If there is a more 'basics' forum, can you please direct me to that site?

Thank you for your response.
raduzhok is offline
Reply With Quote
View Public Profile
 
Old 06-16-2009, 05:23 PM Re: Adding PHP server to my host site
vangogh's Avatar
Post Impressionist

Latest Blog Post:
Why Responsive Design?
Posts: 10,815
Name: Steven Bradley
Location: Boulder, Colorado
Trades: 0
You don't upload php to the server hosting your website. It's something the webhost would have done. Odds are it's installed already. If not you would have to contact your webhost, and would likely need to change your hosting package to another that includes php. Again though it's likely there.

To see if php is currently installed on the server follow David's advice above.

Create a file called info.php and add the code.

<? phpinfo(); ?>

That's all that needs to be in the file. Upload the file to the server and navigate to it through a browser, probably www.yourdomain.com/info.php though it depends on where you place the file. You should know right away if php is installed. If it is you'll see a page with all sorts of information. If not you'll see a blank page.

wampp and similar are for setting up everything you need to run a server, php, mysql on your local computer. It's an easy way to set up a development platform on your computer instead of having to install all the individual parts yourself and then getting them to work together.
__________________
l Search Engine Friendly Web Design |
Please login or register to view this content. Registration is FREE

l Tips On Marketing, SEO, Design, and Development |
Please login or register to view this content. Registration is FREE

l
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
vangogh is offline
Reply With Quote
View Public Profile Visit vangogh's homepage!
 
Old 06-16-2009, 05:45 PM Re: Adding PHP server to my host site
raduzhok's Avatar
Average Talker

Posts: 18
Name: rad
Location: USA
Trades: 0
Quote:
Originally Posted by vangogh View Post
You don't upload php to the server hosting your website. It's something the webhost would have done. Odds are it's installed already. If not you would have to contact your webhost, and would likely need to change your hosting package to another that includes php. Again though it's likely there.

To see if php is currently installed on the server follow David's advice above.

Create a file called info.php and add the code.

<? phpinfo(); ?>

That's all that needs to be in the file. Upload the file to the server and navigate to it through a browser, probably www.yourdomain.com/info.php though it depends on where you place the file. You should know right away if php is installed. If it is you'll see a page with all sorts of information. If not you'll see a blank page.
Because of the package I'm using, I get that blank page. The FAQ about CGI Access require an upgrade OR, they also say I can use a 'php editor' that I get from the internet. I originally asked about that and that's when I was told about WAMP but also was given a link to php editors. I d/l both WAMP though I don't think I needed the whole package since I'm using a web host. The editor is from codelobster, so now that I know that I can use one on my site (for my php pages) I need to know more specific information about how to use the editor. That's why I asked if I upload it to my tools on my site.

Thank you for helping me out here.
raduzhok is offline
Reply With Quote
View Public Profile
 
Old 06-16-2009, 05:51 PM Re: Adding PHP server to my host site
vangogh's Avatar
Post Impressionist

Latest Blog Post:
Why Responsive Design?
Posts: 10,815
Name: Steven Bradley
Location: Boulder, Colorado
Trades: 0
What web host are you using. PHP shouldn't have anything to do with CGI access. If you want to run php on your hosting account it's not something you set up. It's something your webhost does. If php isn't included with your current hosting package you'll need to get a different hosting package with php included.

A php editor should just be a program that has some features to make it easier to edit php files. codelobster is an IDE (integrated development environment). It's for development on your computer and not serving actual php pages from a web server.

If your current hosting account doesn't include php you need to switch to an account that includes php.
__________________
l Search Engine Friendly Web Design |
Please login or register to view this content. Registration is FREE

l Tips On Marketing, SEO, Design, and Development |
Please login or register to view this content. Registration is FREE

l
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
vangogh is offline
Reply With Quote
View Public Profile Visit vangogh's homepage!
 
Old 06-17-2009, 08:54 AM Re: Adding PHP server to my host site
raduzhok's Avatar
Average Talker

Posts: 18
Name: rad
Location: USA
Trades: 0
Quote:
Originally Posted by vangogh View Post
What web host are you using. PHP shouldn't have anything to do with CGI access. If you want to run php on your hosting account it's not something you set up. It's something your webhost does. If php isn't included with your current hosting package you'll need to get a different hosting package with php included.

A php editor should just be a program that has some features to make it easier to edit php files. codelobster is an IDE (integrated development environment). It's for development on your computer and not serving actual php pages from a web server.

If your current hosting account doesn't include php you need to switch to an account that includes php.
I got a space at Freeservers and they do support PHP under the CGI Access tools. I have a free acct. That isn't available to free accts. But they did say I could load my own tools, specifically re: php, if I didn't want to upgrade. That's where I'm stuck. I don't quite understand whether I need it just on my HD or if it needs to be uploaded to my tools on my site. That's what I was asking about.

Thank you for helping me.
raduzhok is offline
Reply With Quote
View Public Profile
 
Old 06-17-2009, 09:26 AM Re: Adding PHP server to my host site
Extreme Talker

Posts: 181
Name: David Jackson
Trades: 0
You cant just upload php on a host server and expect it to work

You say PHP is not available to free account holders on freeservers so you cant use PHP nor can you upload and deploy PHP into the server.

Get a better host with a better account and a full PHP environment
__________________

Please login or register to view this content. Registration is FREE
davidj is offline
Reply With Quote
View Public Profile
 
Old 06-17-2009, 05:49 PM Re: Adding PHP server to my host site
vangogh's Avatar
Post Impressionist

Latest Blog Post:
Why Responsive Design?
Posts: 10,815
Name: Steven Bradley
Location: Boulder, Colorado
Trades: 0
Yep, you're going to need to upgrade to better hosting. Hosting really isn't that expensive. You can find pretty decent hosting between $5 and $10 a month. If you're just wanting the server in order to learn web development you might be able to find someone who offers reseller hosting that would be willing to give you free space, maybe in exchange for a little light work. There are many people here who are web hosts. One might be willing to give you some space.

If you're building a commercial site you should definitely upgrade to a paid hosting account of some kind.
__________________
l Search Engine Friendly Web Design |
Please login or register to view this content. Registration is FREE

l Tips On Marketing, SEO, Design, and Development |
Please login or register to view this content. Registration is FREE

l
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
vangogh is offline
Reply With Quote
View Public Profile Visit vangogh's homepage!
 
Old 06-18-2009, 03:24 AM Re: Adding PHP server to my host site
Extreme Talker

Posts: 181
Name: David Jackson
Trades: 0
you dont need a commercial host while learning

you install WAMP on your own machine and learn on that for free
__________________

Please login or register to view this content. Registration is FREE
davidj is offline
Reply With Quote
View Public Profile
 
Old 06-18-2009, 10:12 AM Re: Adding PHP server to my host site
raduzhok's Avatar
Average Talker

Posts: 18
Name: rad
Location: USA
Trades: 0
Quote:
Originally Posted by vangogh View Post
If you're just wanting the server in order to learn web development you might be able to find someone who offers reseller hosting that would be willing to give you free space, maybe in exchange for a little light work. There are many people here who are web hosts. One might be willing to give you some space.
I just wanted to be able to learn php. Long story short, a site I frequented closed its game side, and I wanted to try to learn to how to create similar games for my own personal use. The site is php, so I figured the games were coded that way.

Quote:
Originally Posted by davidj View Post
you dont need a commercial host while learning

you install WAMP on your own machine and learn on that for free
I'll try that again. I still have WAMP in my download folder.

Thank you both for your help.
raduzhok is offline
Reply With Quote
View Public Profile
 
Old 06-18-2009, 11:54 AM Re: Adding PHP server to my host site
Extreme Talker

Posts: 181
Name: David Jackson
Trades: 0
contact me through a PM raduzhok
I may be able to help you
__________________

Please login or register to view this content. Registration is FREE
davidj is offline
Reply With Quote
View Public Profile
 
Old 06-18-2009, 06:13 PM Re: Adding PHP server to my host site
vangogh's Avatar
Post Impressionist

Latest Blog Post:
Why Responsive Design?
Posts: 10,815
Name: Steven Bradley
Location: Boulder, Colorado
Trades: 0
rad if you're simply trying to learn then wampp on your own computer should be everything you need. The only drawback is you won't be able to share what you do with others.

Sounds like David may be able to help you so if you haven't contacted him yet I'd suggest doing so.

Thanks David.
__________________
l Search Engine Friendly Web Design |
Please login or register to view this content. Registration is FREE

l Tips On Marketing, SEO, Design, and Development |
Please login or register to view this content. Registration is FREE

l
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
vangogh is offline
Reply With Quote
View Public Profile Visit vangogh's homepage!
 
Old 06-19-2009, 04:31 PM Re: Adding PHP server to my host site
raduzhok's Avatar
Average Talker

Posts: 18
Name: rad
Location: USA
Trades: 0
Quote:
Originally Posted by vangogh View Post
rad if you're simply trying to learn then wampp on your own computer should be everything you need. The only drawback is you won't be able to share what you do with others.

Sounds like David may be able to help you so if you haven't contacted him yet I'd suggest doing so.

Thanks David.
Yes, I'm trying to learn and while I'm in that process, not sure there will be too much I can share. I've contacted David. Thank you both very much for the help.
raduzhok is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Adding PHP server to my host site
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 1.00725 seconds with 12 queries