Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

Configuration problem with Apache/ PHP

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Next:  Perl scripts on apache  
Author Message
josborne

External


Since: Jul 10, 2004
Posts: 1



(Msg. 1) Posted: Sat Jul 10, 2004 12:29 pm
Post subject: Configuration problem with Apache/ PHP
Archived from groups: alt>apache>configuration (more info?)

I have installed WAMP on a XP Home system.

1. Am using the newest releases of Apache Server, MySQL and PHP.

2. Have set the doc_root directory in the php.ini file to...
doc_root = "c:\program files\apache group\apache2\htdocs"

3. Have added the following to the PHP.ini file (recommended version)...
LoadModule php5_module php5_apache2.dll
AddType application/x-httpd-php .php

4. Have copied php5ts.dll, php5apache2.dll and the php.ini file to
"c:\program files, apache group\apache2"

From what I have read these are the essential elements to get PHP
playing on a Apache Server... yet after many attempts and reloads
( I even tried different versions of PHP) I was unable to play a simple
PHP page on the Apache Server.

The Apache Server works OK with standard HTML and PHP works
OK from the DOS prompt.

I realize I am missing something but have no idea what that something
is.

Any help would be appreciated.



---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.714 / Virus Database: 470 - Release Date: 7/2/2004

 >> Stay informed about: Configuration problem with Apache/ PHP 
Back to top
Login to vote
davideyeahsure

External


Since: Nov 03, 2003
Posts: 2907



(Msg. 2) Posted: Sat Jul 10, 2004 8:12 pm
Post subject: Re: Configuration problem with Apache/ PHP [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Jim Osborne <josborne.RemoveThis@starband.net> wrote:
 > 3. Have added the following to the PHP.ini file (recommended version)...
 > LoadModule php5_module php5_apache2.dll
 > AddType application/x-httpd-php .phpa

PHP.ini? Not httpd.conf?

 > 4. Have copied php5ts.dll, php5apache2.dll

Funny, in the "LoadModule" is php5_ (underscore), while the file
is without and underscore...

 > I realize I am missing something but have no idea what that something
 > is.

httpd -t should test the configuration file to see if it's ok,
if you 'call' a php file from the browser what you get? a download
prompt or the code is shown?

Davide

--
| Love is the triumph of imagination over intelligence.
|
|
|<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: Configuration problem with Apache/ PHP 
Back to top
Login to vote
jswalter

External


Since: Aug 03, 2004
Posts: 3



(Msg. 3) Posted: Wed Aug 04, 2004 12:49 am
Post subject: Re: Configuration problem with Apache/ PHP [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"Jim Osborne" <josborne.RemoveThis@starband.net> wrote in message
news:APUHc.346$eF1.325@fe25.usenetserver.com...
 > I have installed WAMP on a XP Home system.
 >
 > 1. Am using the newest releases of Apache Server, MySQL and PHP.

Take a look at...

<a style='text-decoration: underline;' href="http://web.torres.ws/dev/php" target="_blank">http://web.torres.ws/dev/php</a>

It is a complete installation instruction set. See if this helps you.

Walter<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Configuration problem with Apache/ PHP 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
problem with apache - I have installed in my computer a packet with Apache-php-mysql .......runing under windows . All is fine , but , the external users can't open the page ..... they see the next message 'you don't have permission to access to this server ' I think that is...

Apache run problem - Using Fedora Core 1 and apache 2.0.48 I am having problems starting the server up. This has previously worked and I have no idea what I have done to break it. Running apachectl -t tells me "Syntax OK". I can run "apachectl -k start"...

Apache problem. - receltly, i set up a linux server(=fedora, x86) with APM. APM consists of : apache 1.3.29 php 4.3.4 mysql 3.23.58 But i had a problem with php. i use mozilla, mozilla firebird and IE as web browsers. mozilla and IE loads php files correctly, but M/F..

I got a problem with Apache & PHP. - First off, I'm trying to get PHP working with Apache. I added this line to my httpd.conf: AddType application/x-httpd-php .php and I have set index.php to the default index page. When I go to my test page (index.php) with a little <? print(Date(&quot...

problem with apache - Hi I have installed apache with mysql and php and I have the follow problem: [Fri Jul 11 10:21:31 2003] [alert] httpd: Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName [Fri Jul 11 10:21:31 2003] [crit]..
   Web Hosting and Web Master Forums (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]