I want to convert my existing site (http://www.devimg.net) from ASP to PHP. I'm a PHP newbie and the current host (Brinkster) doesn't support PHP so I need to get an account elsewhere, but before I do that I want to get a working PHP version of my site to make sure I can do it with no drawbacks.
Since there aren't any good free webhosts, I want to just develop and run the scripts on my hard drive; the internet doesn't need to be involved at all. So how do I do that? PHP.net seems geared completely towards people running webservers, which makes sense, but all I want to do is run PHP code to generate HTML (or access files, or work with MySQL).
EDIT: It doesn't actually have to be MySQL, it could be any database type, it's really not very hard converting code from one to the other. I say this just in case MySQL isn't free, though I believe it is, right?
Running PHP code locally (NOT on a server or for a server)
Moderator: General Moderators
-
CGameProgrammer
- Forum Newbie
- Posts: 11
- Joined: Sun Mar 09, 2003 11:26 pm
If you're on windows, then u can get php-triad and it installs php, mysql and apache for you. Thats what i did ... its incredibly easy
and btw .. there is a free web host for practicing php http://www.f2o.org
and btw .. there is a free web host for practicing php http://www.f2o.org
-
CGameProgrammer
- Forum Newbie
- Posts: 11
- Joined: Sun Mar 09, 2003 11:26 pm
-
CGameProgrammer
- Forum Newbie
- Posts: 11
- Joined: Sun Mar 09, 2003 11:26 pm
Yeah, I guessed that, since Apache is running. All I'd need to do is tell them my IP# and then they'd type in http://123.45.678.9/index.php to access C:\apache\htdocs\index.php, correct?