Jump to content

Recommended Posts

Hello, I am completely new on php, mysql ajax and all this jazz. I got a few ? for you.

 

1. I got a php site , zipped, I want to test ti before I upload it on my web site, how can I do that? (I run windows vista 32bit enviroment, can geta linux if needed (prefer ubuntu)). Like perhaps, what other Html Editor programs did, compile it, run it on my computer, make corrections, then upload it. Can I do that? WHich programs do you suggest?

2. I understand when uploading via ftp, I have to set my DB in mysql, how can I do that?

3. The small read me, on the zipped file said I have to press install on the site, I did, nothing happened... Do I have to notify site techs to compile the php site? 

 

Thank you I will return with more ? once you answer these 3:)

 

Thank you for your time to read this, and I apretiate the effort you will put if you have any answers to give me. I am in books reading about php and trying to find a short of an all in one newbie friendly program to help my first attempt. Thanks again.

Link to comment
https://forums.phpfreaks.com/topic/130470-starting-out-a-site/
Share on other sites

I use WAMPSERVER to test things locally.. and most sites i use have phpmyadmin in the cPanel to allow me to setup and edit the MySQL database, for basic editing you can use a ton of thing notepad++ is nice for general and filezilla is a nice FTP.. now all of the programs are free.. (which helps) for HTML design i use dreamweaver (its not bad, but you can probably get a free one, just saves time with some html design)..

 

as for the problem your facing.. well you don't complie php (you can but in general we don't) its an interpreted language.. so your need to have the file on a machine that has PHP installed. (or wampserver or xamp etc etc) and your need to open if from the browser it http://localhost/theThing/install.php

 

hope that helps to start with.. i'm sure its not going to solve the problem but should point you in the correct direction

 

 

EDIT: oh and welcome :)

Link to comment
https://forums.phpfreaks.com/topic/130470-starting-out-a-site/#findComment-676829
Share on other sites

. I got a php site , zipped, I want to test ti before I upload it on my web site, how can I do that? (I run windows vista 32bit enviroment, can geta linux if needed (prefer ubuntu)). Like perhaps, what other Html Editor programs did, compile it, run it on my computer, make corrections, then upload it. Can I do that? WHich programs do you suggest?

You do not need a specific OS to run PHP. PHP is crosse platform compatible. You'll need to install what is known as the AMP stack in order to test a site locally on your computer. To easily install AMP on Windows download WAMP. When WAMP is installed move your site to C:/WAMP/www. Make sure WAMP is running then go to http://localhost/ to run your PHP.

 

You can use any editor to edit your PHP scripts. PHP is not compliled

 

2. I understand when uploading via ftp, I have to set my DB in mysql, how can I do that?

You cant create MySQL databases via FTP. Your host should provide a facility for creating databases, usually from your sites Control Panel. Always ask your host if you're not sure

 

3. The small read me, on the zipped file said I have to press install on the site, I did, nothing happened... Do I have to notify site techs to compile the php site?

Not sure what you mean here. You'll need to check with your host whether or not they allow you to use PHP with your hosting account. You should also get in contact with the original developers of the script you're using for support.

Link to comment
https://forums.phpfreaks.com/topic/130470-starting-out-a-site/#findComment-676835
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.