[prev in list] [next in list] [prev in thread] [next in thread] 

List:       php-install
Subject:    Re: [PHP-INSTALL] LoadModule statement can not be included
From:       "Tommy Peterson" <tpeterson () americaschoice ! org>
Date:       2008-09-10 11:06:46
Message-ID: fc.000f464b01a08ec13b9aca0027a87c52.1a08ec9 () ncee ! org
[Download RAW message or body]

Also you should have to add the DLLs to the Windows directories. Leaving
them in the PHP directory should work just fine. Creating many copies of
those files could be a headache later if you do upgrades. 

"Jack van Zanen" <jack@vanzanen.com> on Wednesday,
September 10, 2008 at 1:41 AM  wrote:


>Try
>

>
 
>

>
 
>

>
LoadModule php5_module "c:/php/sapi/php5apache2_2.dll" 
>

>
 
>

>
Jack
>

>
 
>

>
 
>

>

>

>

>
From: Varuna Seneviratna [mailto:varunaseneviratna@gmail.com] 
>
Sent: Wednesday, September 10, 2008 1:38 PM
>
To: php-install
>
Subject: [PHP-INSTALL] LoadModule statement can not be included
>

>

>

>

>
 
>

>

>

>

>
Hello!
>
      I downloaded and installed apache_2.2.9 on WinXP and It worked
>fine.Then I downloaded php-5.2.6-Win32.zip and extracted it's contents to
>c:\php folder.
>
      I renamed the php.ini-dist to php.ini and saved it in the
>directory WINDOWS But  left the php.ini-dist at php folder, copied
>php5ts.dll into c:\windows\system32 But I left the original at the php
>folder
>
     Went to httpd.conf file and added the following lines
>
         AddType application/x-httpd-php .php
>
         AddType application/x-httpd-php-source .phps
>

>
          Up to this point everything worked fine.I restated apache
>several times no error messages were displayed
>
      
>
    Then added the line
>
     LoadModule php5_module "c:/php/sapi/php5apache2.dll" 
>

>

>

>

>
  
>
     After this line was added when apache was stopped and restarted the
>message "operation failed" was displayed
>

>
Any help will be grateful
>

>
Thanks Varuna
>

>

>

>

>

>

>
-- 
>
Varuna Seneviratna
>
No 514 Udumulla Road

Battaramulla

Sri Lanka

Tel : 011-2888620

Mobile:0715617141





____________________________

Tommy Peterson,

NCEE/AC/NISL Web Developer/DBA

555 13th St, NW

Washington, DC 20004

Telephone:

(o) 202-783-3668 X2146

(c) 703-608-6898




[Attachment #3 (text/html)]

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<title></title>
<style type="text/css">
<!--
body{margin-left:10px;margin-right:10px;margin-top:10px;margin-bottom:10px;}
-->
</style>
</head>
<body marginleft="10" marginright="10" margintop="10" marginbottom="10">
<div><font face="Geneva" size="+1" color="#000000" \
style="font-family:Geneva;font-size:14pt;color:#000000;">Also you should have to add \
the DLLs to the Windows directories. Leaving them in the PHP directory should work \
just fine. Creating many copies of those files could be a headache later if you do \
upgrades. <br /> <br />
&quot;Jack van Zanen&quot; &lt;<a \
href="mailto:jack@vanzanen.com">jack@vanzanen.com</a>&gt; on Wednesday,<br /> \
September 10, 2008 at 1:41 AM &nbsp;wrote:<br /> <br />
<br />
&gt;Try<br />
&gt;<br />
<br />
&gt;<br />
&nbsp;<br />
&gt;<br />
<br />
&gt;<br />
&nbsp;<br />
&gt;<br />
<br />
&gt;<br />
LoadModule php5_module &quot;c:/php/sapi/php5apache2_2.dll&quot; <br />
&gt;<br />
<br />
&gt;<br />
&nbsp;<br />
&gt;<br />
<br />
&gt;<br />
Jack<br />
&gt;<br />
<br />
&gt;<br />
&nbsp;<br />
&gt;<br />
<br />
&gt;<br />
&nbsp;<br />
&gt;<br />
<br />
&gt;<br />
<br />
&gt;<br />
<br />
&gt;<br />
<br />
&gt;<br />
From: Varuna Seneviratna [<a href="mailto:varunaseneviratna@gmail.com" \
target="_blank">mailto:varunaseneviratna@gmail.com</a>] <br /> &gt;<br />
Sent: Wednesday, September 10, 2008 1:38 PM<br />
&gt;<br />
To: php-install<br />
&gt;<br />
Subject: [PHP-INSTALL] LoadModule statement can not be included<br />
&gt;<br />
<br />
&gt;<br />
<br />
&gt;<br />
<br />
&gt;<br />
<br />
&gt;<br />
&nbsp;<br />
&gt;<br />
<br />
&gt;<br />
<br />
&gt;<br />
<br />
&gt;<br />
<br />
&gt;<br />
Hello!<br />
&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;I downloaded and installed apache_2.2.9 on WinXP \
and It worked<br /> &gt;fine.Then I downloaded php-5.2.6-Win32.zip and extracted it's \
contents to<br /> &gt;c:\php folder.<br />
&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;I renamed the php.ini-dist to php.ini and saved \
it in the<br /> &gt;directory WINDOWS But &nbsp;left the php.ini-dist at php folder, \
copied<br /> &gt;php5ts.dll into c:\windows\system32 But I left the original at the \
php<br /> &gt;folder<br />
&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Went to httpd.conf file and added the following \
lines<br /> &gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;AddType application/x-httpd-php \
.php<br /> &gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;AddType \
application/x-httpd-php-source .phps<br /> &gt;<br />
<br />
&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Up to this point \
everything worked fine.I restated apache<br /> &gt;several times no error messages \
were displayed<br /> &gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />
&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;Then added the line<br />
&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;LoadModule php5_module \
&quot;c:/php/sapi/php5apache2.dll&quot; <br /> &gt;<br />
<br />
&gt;<br />
<br />
&gt;<br />
<br />
&gt;<br />
<br />
&gt;<br />
&nbsp;&nbsp;<br />
&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;After this line was added when apache was stopped and \
restarted the<br /> &gt;message &quot;operation failed&quot; was displayed<br />
&gt;<br />
<br />
&gt;<br />
Any help will be grateful<br />
&gt;<br />
<br />
&gt;<br />
Thanks Varuna<br />
&gt;<br />
<br />
&gt;<br />
<br />
&gt;<br />
<br />
&gt;<br />
<br />
&gt;<br />
<br />
&gt;<br />
<br />
&gt;<br />
-- <br />
&gt;<br />
Varuna Seneviratna<br />
&gt;<br />
No 514 Udumulla Road<br />
<br />
Battaramulla<br />
<br />
Sri Lanka<br />
<br />
Tel : 011-2888620<br />
<br />
Mobile:0715617141<br />
<br />
<br />
<br />
<br />
<br />
____________________________<br />
<br />
Tommy Peterson,<br />
<br />
NCEE/AC/NISL Web Developer/DBA<br />
<br />
555 13th St, NW<br />
<br />
Washington, DC 20004<br />
<br />
Telephone:<br />
<br />
(o) 202-783-3668 X2146<br />
<br />
(c) 703-608-6898<br />
<br />
<br />
</font></div>
</body>
</html>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic