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

Apache 2.0.43 PHP 4.2.3 Windows 2000 My config ..

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Next:  rewrite url to hide GET values  
Author Message
hot_geezer

External


Since: Jul 04, 2003
Posts: 4



(Msg. 1) Posted: Fri Jul 04, 2003 8:13 am
Post subject: Apache 2.0.43 PHP 4.2.3 Windows 2000 My config is right but it don't
Archived from groups: alt>apache>configuration (more info?)

I got Apache 2.0.43 running on Windows 2000.
I've intalled PHP 4.2.3 into c:\php-4.2.3-Win32

Both programs are binary.

Im using a step by step guide from a new book i bought. The two
programs were supplied with it.

It says to configure apache to use PHP, add the following lines:

LoadModule php4_module c:\php-4.2.3-Win32\sapi\php4apache2.dll

and also...

AddType application/x-httpd-php .php .phtml
AddType application/x-httpd-php-source .phps


I have put these under the relevant sections. I stop and start /
restart apache and the error message appears: "The requested operation
has failed!"
No other error information available.

I tried to what would happen if i commented out the LoadModule line i
put in. I done this an apache worked fine, except that it still isn't
configured to work with PHP! The file path is correct. So is the
spelling.

Notes:

OS: Windows 2000
Apache version: 2.0.43
PHP version: 4.2.3


So can anyone help? pleaase
Ash

 >> Stay informed about: Apache 2.0.43 PHP 4.2.3 Windows 2000 My config .. 
Back to top
Login to vote
davide

External


Since: Jul 07, 2003
Posts: 44



(Msg. 2) Posted: Fri Jul 04, 2003 3:39 pm
Post subject: Re: Apache 2.0.43 PHP 4.2.3 Windows 2000 My config is right but it do [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Ashley <hot_geezer.DeleteThis@hotmail.com> wrote:
 > restart apache and the error message appears: "The requested operation
 > has failed!"
 > No other error information available.

Check in \whereveryouinstalledapache\logs\error_log there should be
an explanation for why Apache can't start.

Davide<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: Apache 2.0.43 PHP 4.2.3 Windows 2000 My config .. 
Back to top
Login to vote
jsnews

External


Since: Jul 04, 2003
Posts: 6



(Msg. 3) Posted: Fri Jul 04, 2003 11:09 pm
Post subject: Re: Apache 2.0.43 PHP 4.2.3 Windows 2000 My config is right but it do [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"Ashley" <hot_geezer RemoveThis @hotmail.com> wrote in message
news:f560e709.0307040413.52e5ee4c@posting.google.com...
 > I got Apache 2.0.43 running on Windows 2000.
 > I've intalled PHP 4.2.3 into c:\php-4.2.3-Win32
 >
 > Both programs are binary.
 >
 > Im using a step by step guide from a new book i bought. The two
 > programs were supplied with it.
 >
 > It says to configure apache to use PHP, add the following lines:
 >
 > LoadModule php4_module c:\php-4.2.3-Win32\sapi\php4apache2.dll

Replace \ with / (Unix custom - It's also mentioned in httpd.conf).

LoadModule php4_module c:/php-4.2.3-Win32/sapi/php4apache2.dll

That should do it.

Jeroen<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Apache 2.0.43 PHP 4.2.3 Windows 2000 My config .. 
Back to top
Login to vote
hot_geezer

External


Since: Jul 04, 2003
Posts: 4



(Msg. 4) Posted: Sat Jul 05, 2003 9:05 am
Post subject: Re: Apache 2.0.43 PHP 4.2.3 Windows 2000 My config is right but it do [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"Jeroen Smaal" <jsnews DeleteThis @REMOVE-THIS.zippy.xs4all.nl> wrote in message news:<3f05c2f1$0$2244$e4fe514c@dreader6.news.xs4all.nl>...
 > "Ashley" <hot_geezer DeleteThis @hotmail.com> wrote in message
 > news:f560e709.0307040413.52e5ee4c@posting.google.com...
  > > I got Apache 2.0.43 running on Windows 2000.
  > > I've intalled PHP 4.2.3 into c:\php-4.2.3-Win32
  > >
  > > Both programs are binary.
  > >
  > > Im using a step by step guide from a new book i bought. The two
  > > programs were supplied with it.
  > >
  > > It says to configure apache to use PHP, add the following lines:
  > >
  > > LoadModule php4_module c:\php-4.2.3-Win32\sapi\php4apache2.dll
 >
 > Replace \ with / (Unix custom - It's also mentioned in httpd.conf).
 >
 > LoadModule php4_module c:/php-4.2.3-Win32/sapi/php4apache2.dll
 >
 > That should do it.
 >
 > Jeroen










IN RESPONSE TO BOTH ARTICLES

I had alreay tried \'s and /'s, neither worked. I tried again and it
still didn't work.

In addition the error log has no error messages, but there is this
warning message. It says:

[Thu Jul 03 20:10:01 2003] [warn] pid file C:/Program Files/Apache
Group/Apache2/logs/httpd.pid overwritten -- Unclean shutdown of
previous Apache run?

Could this be the reason or help?
I have always used the stop button in Apache Monitor to stop apache,
and also restart.

My pages are not also being displayed when i view them, I have set the
DocumentRoot directory. A little more help please?<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Apache 2.0.43 PHP 4.2.3 Windows 2000 My config .. 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
apache not passing jsp requests to tomcat (config looks ok) - Looks like everything is configured correctly, _but_ when i navgate to execute a jsp page within the JkMount path (httpd.conf), the apache webserver displays it as html/plain text, so it looks like apache is not handing off to mod_jk and the tomcat..

local virtual host config for testing setup problem - Ive got a dynddns address which works fine frmo the outside world. I want to set up another virtual host for testing purposes accessible only from my machine. from vhosts.conf ################# Named VirtualHosts NameVirtualHost * <VirtualHost *>....

adding document include path to working shtml config - adding document include path to working shtml config in Apache 1.3.x I have server side includes working but would like to set a path for include statements to look in --other than current directory--. i.e. If the #include file doesn't insist in....

Apache2 for Windows: Partitions - Hello, I believe it is best to have a separate, dedicated partition for Apache (with Perl, PHP, MySQL, etc.). If I am wrong, please correct me. Since I will have to format my system anyway, I thought I would ask what the best way is. I have two hard..

Getting Apache to start at start up - Hi All, I'm running Mandrake 9.0 with Apache 2.0.46 and I was wondering how I can set Apache to start up on system start
   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 ]