Notices
Computer & Technology Related Post here for help and discussion of computing and related technology. Internet, TVs, phones, consoles, computers, tablets and any other gadgets.

Apache and PHP5 running on XP

Thread Tools
 
Search this Thread
 
Old 23 February 2006, 08:54 PM
  #1  
MMMscoob
Scooby Newbie
Thread Starter
 
MMMscoob's Avatar
 
Join Date: Sep 2004
Posts: 10
Likes: 0
Received 0 Likes on 0 Posts
Default Apache and PHP5 running on XP

Im looking to configure the httpd.conf file in apache web server to run php5, would anyone have a complete config file to do this ?

All the above is to view oracle trace files through a php browser ........
Anyone done this ? who may be able to throw some light on this ?

Dear God what have I started !!!
Old 24 February 2006, 10:32 AM
  #2  
stevencotton
Scooby Regular
 
stevencotton's Avatar
 
Join Date: Jan 2001
Location: behind twin turbos
Posts: 2,710
Likes: 0
Received 1 Like on 1 Post
Default

You can get binary packages for Windows, should all be ready to go. Depends
what version of Apache you'll be using as to which config you'll use as well
Old 24 February 2006, 11:53 AM
  #3  
RichB
Scooby Regular
 
RichB's Avatar
 
Join Date: Apr 1999
Location: Bore Knee Muff
Posts: 3,666
Likes: 0
Received 0 Likes on 0 Posts
Default

Think twice about using PHP5 - it seems from my limited experience that there are quite a few issues.

If you are starting fresh with new code etc then you'll be ok I think.

"All the above is to view oracle trace files through a php browser ........"

What does this actually mean? What is a PHP browser? Am I being thick?
PHP is a programming language, code is processed by the server before being sent to the browser to be viewed by the client.

I have a file in my php5 folder (under Mac OSX) called httpd.conf.php that contains:
#
# Additional PHP Apache directives,
#
LoadModule php5_module /usr/local/php5/libphp5.so

<IfDefine !APACHE2>
AddModule mod_php5.c
</IfDefine>

########

In my httpd.conf file you have to have some lines (in varouos places):
LoadModule php5_module libexec/httpd/libphp5.so
AddModule mod_php5.c

<IfModule mod_php5.c>
# If php is turned on, we repsect .php and .phps files.
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps

# Since most users will want index.php to work we
# also automatically enable index.php
<IfModule mod_dir.c>
DirectoryIndex index.html index.php index.shtml
</IfModule>
</IfModule>

Include /usr/local/php5/httpd.conf.php
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
Mattybr5@MB Developments
Full Cars Breaking For Spares
28
28 December 2015 11:07 PM
Mattybr5@MB Developments
Full Cars Breaking For Spares
12
18 November 2015 07:03 AM
Billet
ScoobyNet General
42
14 October 2015 10:38 PM
FuZzBoM
Wheels, Tyres & Brakes
16
04 October 2015 09:49 PM
yabbadoo4
ScoobyNet General
11
30 September 2015 10:33 PM



Quick Reply: Apache and PHP5 running on XP



All times are GMT +1. The time now is 01:05 PM.