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 22:00
Regular
"Chavez, just hush.."
Posts: 11,080
Ha, I bet you're gonna cream at me now when I tell you there's a 60 meg file that you can download that requires next to no setup that will install Apache, PHP, MySQL, Perl and pretty much everything onto your PC at once!

[URL]http://www.apachefriends.org/[/URL]
Tue 08/03/05 at 19:32
"Dark FX"
Posts: 303
After all that. I can't upload php files to the internet!!
f'in BT!!!
Tue 08/03/05 at 19:10
"Dark FX"
Posts: 303
Thank you so much, man! I owe you!
Tue 08/03/05 at 19:06
Regular
"Unretired"
Posts: 890
Yeah I'm pretty sure most of the options that you choose in the installation are defined within the httpd.conf, so just edit it to your liking.
Tue 08/03/05 at 19:03
"Dark FX"
Posts: 303
Thanks anyway. Appreciate the help.

Is it possible to change the settings which you entered during setup of apache (server name, etc)?
Tue 08/03/05 at 19:00
Regular
"Unretired"
Posts: 890
Added advice but it appears you have the PHP situation sorted so I edited it for space.
Tue 08/03/05 at 18:55
"Dark FX"
Posts: 303
Right, fixed that problem. Now i have another one. Server problem this time
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
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: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]

Freeola & GetDotted are rated 5 Stars

Check out some of our customer reviews below:

I am delighted.
Brilliant! As usual the careful and intuitive production that Freeola puts into everything it sets out to do. I am delighted.
Impressive control panel
I have to say that I'm impressed with the features available having logged on... Loads of info - excellent.
Phil

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.