GetDotted Domains

Viewing Thread:
"setting up PHP and apache"

The "Freeola Customer Forum" forum, which includes Retro Game Reviews, has been archived and is now read-only. You cannot post here or create a new thread or review on this forum.

Tue 08/03/05 at 16:05
"Dark FX"
Posts: 303
firstly, thanks for all the help with CSS but now i've started with PHP (just getting to terms with it). I know a lot of the code but i'm having problems with setting up PHP and APACHE. I think i've installed PHP 4 all ok but the 'httpd.conf' file is confusing me. I've been on lots of sites and they've all told me different things to add to different places. Please can somebody tell me exactly how to set up this httpd.conf file. Thanks in advanced
Tue 08/03/05 at 16:05
"Dark FX"
Posts: 303
firstly, thanks for all the help with CSS but now i've started with PHP (just getting to terms with it). I know a lot of the code but i'm having problems with setting up PHP and APACHE. I think i've installed PHP 4 all ok but the 'httpd.conf' file is confusing me. I've been on lots of sites and they've all told me different things to add to different places. Please can somebody tell me exactly how to set up this httpd.conf file. Thanks in advanced
Tue 08/03/05 at 16:47
Regular
"Pouch Ape"
Posts: 14,499
Something to do with listen:80.

Here: [URL]http://www.kirupa.com[/URL]

Look up the PHP Apache installation tutorial, it worked perfectly for me.
Tue 08/03/05 at 17:25
Regular
"NULL"
Posts: 1,384
It's probably easiest if you follow the instructions in the Apache and PHP installation guides then post here any problems. The guides are really simple to follow for the most part.
Tue 08/03/05 at 17:52
"Dark FX"
Posts: 303
Thanks a lot guys
Tue 08/03/05 at 17:53
Regular
"Pouch Ape"
Posts: 14,499
This.Celluloid.Dream wrote:
> Thanks a lot guys

Was that sarcastic?
Tue 08/03/05 at 18:26
"Dark FX"
Posts: 303
monkey_man wrote:
> This.Celluloid.Dream wrote:
> Thanks a lot guys
>
> Was that sarcastic?

No. I meant it, this has been driving me insane. One problem though. When i try and restart Apache it says that the requested operation has failed
Tue 08/03/05 at 18:32
"Dark FX"
Posts: 303
OK, i found out the problem using 'test configuration'. It's the line "LoadModule php5_module "c:/web/php/php5apache2.dll" I'm unsure where to place this.
Tue 08/03/05 at 18:36
Regular
"Unretired"
Posts: 890
I had similar problems when I tried installing PHP with Apache v1 a while back.

At the moment I'm running PHP5 on Apache 2.0.

I'll just check my httpd.conf to find the lines I added, although remember that the paths will be to different files for PHP4.

LoadModule php5_module "F:/php/php5apache2.dll"
AddType application/x-httpd-php .php
SetEnv PHPRC F:/php
PHPIniDir "F:/php"

[EDIT: Just realized, for PHP4 it should be LoadModule php4_module not
LoadModule php5_module
If your using PHP4, that could be you problem]
Tue 08/03/05 at 18:38
Regular
"Unretired"
Posts: 890
This.Celluloid.Dream wrote:
> OK, i found out the problem using 'test configuration'. It's the line
> "LoadModule php5_module "c:/web/php/php5apache2.dll"
> I'm unsure where to place this.

If you browse the file you should already find an existing list of LoadModules.

But I don't think it matters where you add it, as long as it's not in the header bit.
Tue 08/03/05 at 18:50
"Dark FX"
Posts: 303
I am also using PHP 5. Here's the bottom part of the 'LoadModule' section of my httpd.conf. I've added the line to the bottom of it but it's incorrect.

LoadModule setenvif_module modules/mod_setenvif.so
#LoadModule speling_module modules/mod_speling.so
#LoadModule status_module modules/mod_status.so
#LoadModule unique_id_module modules/mod_unique_id.so
LoadModule userdir_module modules/mod_userdir.so
#LoadModule usertrack_module modules/mod_usertrack.so
#LoadModule vhost_alias_module modules/mod_vhost_alias.so
#LoadModule ssl_module modules/mod_ssl.so
LoadModule php5_module "c:/web/php/php5apache2.dll

But how comes, all of the files above it are *.so and this one is *.dll
This is driving me insane. Sorry to be annoying guys

Freeola & GetDotted are rated 5 Stars

Check out some of our customer reviews below:

10/10
Over the years I've become very jaded after many bad experiences with customer services, you have bucked the trend. Polite and efficient from the Freeola team, well done to all involved.
My website looks tremendous!
Fantastic site, easy to follow, simple guides... impressed with whole package. My website looks tremendous. You don't need to be a rocket scientist to set this up, Freeola helps you step-by-step.
Susan

View More Reviews

Need some help? Give us a call on 01376 55 60 60

Go to Support Centre
Feedback Close Feedback

It appears you are using an old browser, as such, some parts of the Freeola and Getdotted site will not work as intended. Using the latest version of your browser, or another browser such as Google Chrome, Mozilla Firefox, or Opera will provide a better, safer browsing experience for you.