Personal server that run XML, PHP and mySQL

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
molandim
Forum Newbie
Posts: 19
Joined: Thu Feb 20, 2003 11:33 am
Location: Brazil
Contact:

Personal server that run XML, PHP and mySQL

Post by molandim »

Hi, I am looking for a free softwate, like the Personal Web Server from microsoft, but one that support XML, PHP and mySQL.
Must run in windows 98... It exist???

I only need this for test my flash movie that interactive with this tecnology.

Thanks
User avatar
werlop
Forum Commoner
Posts: 68
Joined: Sat Mar 22, 2003 2:50 am
Location: /dev/null

Post by werlop »

Never heard of Apache? If you havn't, don't worry we all have to start somewhere, hear on over to http://www.apache.org/ and have a look around. This should do the job nicely. :D
McGruff
DevNet Master
Posts: 2893
Joined: Thu Jan 30, 2003 8:26 pm
Location: Glasgow, Scotland

Post by McGruff »

See easyphp.org for easy install of apache/php/mysql on W98.

There are other, similar, all-in-one installers around as well.
Little Spy
Forum Commoner
Posts: 31
Joined: Thu Oct 10, 2002 8:18 pm
Contact:

Post by Little Spy »

and you dont need to install xml, xml doesnt really get installed its like html you use it
User avatar
m3mn0n
PHP Evangelist
Posts: 3548
Joined: Tue Aug 13, 2002 3:35 pm
Location: Calgary, Canada

Post by m3mn0n »

Yup, Little Spy is right. Markup languages don't really need a specialized server software to operate on and create. All you need then is a regular web server, that can support PHP/MySQL.

I really recommend Apache. But not only that, since your rather new i presume, i suggest getting a ReadyMade server. These ReadyMade servers come with PHP/MySQL/and even sometimes CGI installed and ready to go.

EasyPHP is a great start. But don't forget to later on learn how to install and configure apache/php/mysql on our own. If your thinking about taking this hobby seriously, it's a good thing to know how to do. :)
ryanlloydmiller
Forum Newbie
Posts: 3
Joined: Mon Apr 07, 2003 9:40 pm

Post by ryanlloydmiller »

hey guys, im fairly new to this php thing (started today in fact). im usin dreamweaver and am tryin to play around with some php code but ive read that i need to have my code on a remote server to be able to open the file with php support. I want to be able to just save it to my hdd of course...is this what apache allows me to do? i think this is the same question as the original post but im not sure...i went to that apache site but it didnt make much sense. i always thought apache was an operating system...is it just a program? is it free? will it run on winxp? sorry if i sound dumb but i am. i know my way around c++ a little but i dont know anything about web programming...so...thanks for the help guys.
McGruff
DevNet Master
Posts: 2893
Joined: Thu Jan 30, 2003 8:26 pm
Location: Glasgow, Scotland

Post by McGruff »

apache / mysql / php are all open source

Yes, it's much easier to develop scripts if you have a local server: take a look at easyphp.org. Works on my W98 system can't vouch for others.

Download the php manual from php.net (get the version with user comments) and the mysql manual from mysql.com.
User avatar
m3mn0n
PHP Evangelist
Posts: 3548
Joined: Tue Aug 13, 2002 3:35 pm
Location: Calgary, Canada

Post by m3mn0n »

ryanlloydmiller wrote:hey guys, im fairly new to this php thing (started today in fact). im usin dreamweaver and am tryin to play around with some php code but ive read that i need to have my code on a remote server to be able to open the file with php support. I want to be able to just save it to my hdd of course...is this what apache allows me to do? i think this is the same question as the original post but im not sure...i went to that apache site but it didnt make much sense. i always thought apache was an operating system...is it just a program? is it free? will it run on winxp? sorry if i sound dumb but i am. i know my way around c++ a little but i dont know anything about web programming...so...thanks for the help guys.
Welcome to the wonderful world of PHP. :D I develop all my html/xml/java/php/mysql in Dreamweaver and i can't get enough of that program. :wink: What i did with apache/dreamweaver is this...

[i decided to turn this little tib bit into a mini picture tutorial =P]

I have PHPTriad 2.2 (click for a download list) installed on this win xp box, so i run Apache...

Start > Programs > PHPTriad > ...

Image

Then from the same start menu, launch MySQL...

Image

Now that i have my server running, i launch Dreamweaver MX and i get started in development, but before i get to serious programming, it's advised by many to define a site in Dreamweaver so you have easy access to files & directories. Here is a quick guide, which will answer you question:

In Dreamweaver....

Image

then....

Image

then...

Image

then....

Image

then....

Image

then.....

Image

then after the last step it will finalize your changes in Dreamweavers settings...

Image

Now every time you want to edit your site, go to that Site menu and Launch from there to edit.

Now if it worked well, you should be able to launch it in a browser and a blank directory should apear.

Image


Hope it helps. 8)
ryanlloydmiller
Forum Newbie
Posts: 3
Joined: Mon Apr 07, 2003 9:40 pm

Post by ryanlloydmiller »

Hope it helps.
Sure did, thanks a lot!

Is there any security risks having Apache running? I tried looking around in the control panel, but none of those links work. It just sits there and does nothing... Also, I see that theres newer versions of Apache and PHP...the Apache seems to just be the code...can I compile it somehow? And for the PHP, if I install that will it have conflicts with the other version installed with Triad?

Thanks again
User avatar
phice
Moderator
Posts: 1416
Joined: Sat Apr 20, 2002 3:14 pm
Location: Dallas, TX
Contact:

Post by phice »

phpTriad is the best I've seen yet.
Image Image
User avatar
m3mn0n
PHP Evangelist
Posts: 3548
Joined: Tue Aug 13, 2002 3:35 pm
Location: Calgary, Canada

Post by m3mn0n »

ryanlloydmiller wrote:
Hope it helps.
Sure did, thanks a lot!

Is there any security risks having Apache running? I tried looking around in the control panel, but none of those links work. It just sits there and does nothing... Also, I see that theres newer versions of Apache and PHP...the Apache seems to just be the code...can I compile it somehow? And for the PHP, if I install that will it have conflicts with the other version installed with Triad?

Thanks again
No problem, i wish i had it this easy when i learned my way around a few topics. :lol:

You know i've never even bothered to upgrade php from the one released with PHPTriad. :wink: But i'm sure there is an easy way to do it outlined on their site or in the [url=file:///C:/apache/]main folder's[/url] documents some where.
McGruff
DevNet Master
Posts: 2893
Joined: Thu Jan 30, 2003 8:26 pm
Location: Glasgow, Scotland

Post by McGruff »

Security risks: I always turn off apache when I connect to the net but only because I'm too lazy to figure out if I can set up my firewall to protect a local server.
User avatar
m3mn0n
PHP Evangelist
Posts: 3548
Joined: Tue Aug 13, 2002 3:35 pm
Location: Calgary, Canada

Post by m3mn0n »

Sygate Personal Firewall monitors everything, so if anyone does try to access it, it will know. Nothing get's left behind.

You can even set it to remember your answer if you want to let a friend access the network, or if a program you know is safe is trying to send data to/from the network.

This is the best and only one i would ever recommend. 8)
ryanlloydmiller
Forum Newbie
Posts: 3
Joined: Mon Apr 07, 2003 9:40 pm

Post by ryanlloydmiller »

Oromian wrote:This is the best and only one i would ever recommend.
And a great recommendation it is! This program is really nice...thanks once again! I was lookin in the access log and it showed a couple strange IPs in there so im glad I have this now...I need to be connected when coding cause I'm usin web tutorials... Well, cant think of any other questions right now so I'll leave it at that.
Post Reply