installing php

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
yaron
Forum Contributor
Posts: 157
Joined: Fri Aug 22, 2003 8:40 am

installing php

Post by yaron »

Hi,
I just installe apache+mysql+php on my pc which runs windows NT 4
I'm having trouble making php to work.
Apache and my sql seem to work but not php.
I know I have to add php to the httpd.conf of apace but I don't know how.
And if I need to do something with php.ini?

Thanks
User avatar
devork
Forum Contributor
Posts: 213
Joined: Fri Aug 08, 2003 6:44 am
Location: p(h) developer's network

Post by devork »

why don't you use phptriad
it will setup all for you
..
User avatar
JayBird
Admin
Posts: 4524
Joined: Wed Aug 13, 2003 7:02 am
Location: York, UK
Contact:

Post by JayBird »

...or PHPDev which is what i use.

Find it here http://www.firepages.com.au

Mark
yaron
Forum Contributor
Posts: 157
Joined: Fri Aug 22, 2003 8:40 am

Post by yaron »

is that a good version for a live server and just for testing?
User avatar
JayBird
Admin
Posts: 4524
Joined: Wed Aug 13, 2003 7:02 am
Location: York, UK
Contact:

Post by JayBird »

it is no different from installing PHP, Apache and MySQL seperately.

All the package does that i mentioned is install them all at once with everything set-up ready to go.

Easy peasy :wink:

Mark
User avatar
xisle
Forum Contributor
Posts: 249
Joined: Wed Jun 25, 2003 1:53 pm

Post by xisle »

yaron
Forum Contributor
Posts: 157
Joined: Fri Aug 22, 2003 8:40 am

Post by yaron »

so I can install it on my live serevr with no worries?
User avatar
twigletmac
Her Royal Site Adminness
Posts: 5371
Joined: Tue Apr 23, 2002 2:21 am
Location: Essex, UK

Post by twigletmac »

If you're installing these packages on a live server you need to learn more about how to configure each of them to ensure that they are stable and secure. i.e. you must read the installation and configuration information for each throughly and follow the security recommendations. The all-in-one packages tend to be more geared towards development server installations and should not be assumed to be fine on a live server without some tweaking.

Mac
m3rajk
DevNet Resident
Posts: 1191
Joined: Mon Jun 02, 2003 3:37 pm

Post by m3rajk »

go to php.net and make sure it was set up for windows.

it may have set something up for a posix installation that needs to be dif on windows
Xeal
Forum Newbie
Posts: 5
Joined: Thu Jan 29, 2004 1:46 am
Location: Sweden

Problem with phptriad!

Post by Xeal »

I d/l the package phptriad 2.2.1 but I can still not make php work.

I started the apache web server, and I created a php document with the tutorial code from php.net and saved it in the apache htdocs directory.

I can open localhost in my web browser but if I write localhost/hello.php I only get a blank page.
Is there something more I should do?
Post Reply