RE: [users@httpd] Getting Apache to use PHP under Window XP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Bill,
 
I noticed that your example uses a backslash for the folder separator while
mine uses the forward slash.
So I tried mine using backslash, but no change resulted.
 
And the file is definitely there. Here is a directory list.
 
 Volume in drive C is Surge
 Volume Serial Number is 94C3-2A3F
 
 Directory of C:\Installs\WebTools\PHP
 
05/30/2006  01:05 PM    <DIR>          .
05/30/2006  01:05 PM    <DIR>          ..
05/29/2006  05:26 PM    <DIR>          dev
05/30/2006  01:05 PM                 0 dir.lst
05/29/2006  05:26 PM    <DIR>          ext
05/29/2006  05:29 PM    <DIR>          extras
05/04/2006  11:15 AM                90 go-pear.bat
05/04/2006  11:15 AM            90,751 install.txt
05/04/2006  11:15 AM         1,089,536 libeay32.dll
05/04/2006  11:15 AM           166,912 libmcrypt.dll
05/04/2006  11:15 AM           165,643 libmhash.dll
05/04/2006  11:15 AM         1,069,056 libmysql.dll
05/04/2006  11:15 AM             3,286 license.txt
05/04/2006  11:15 AM            57,344 msql.dll
05/04/2006  11:15 AM            90,464 news.txt
05/04/2006  11:15 AM           278,800 ntwdblib.dll
05/29/2006  05:29 PM    <DIR>          pear
05/29/2006  04:20 PM         9,133,167 php-5.1.4-Win32.zip
05/04/2006  11:14 AM            36,921 php-cgi.exe
05/04/2006  11:14 AM            28,729 php-win.exe
05/04/2006  11:14 AM            28,725 php.exe
05/04/2006  11:15 AM             2,523 php.gif
05/29/2006  09:57 PM            48,024 php.ini
05/04/2006  11:15 AM            43,191 php.ini-dist
05/04/2006  11:15 AM            47,329 php.ini-recommended
05/29/2006  07:19 PM            47,995 php.ini.bak
05/04/2006  11:14 AM            36,924 php5apache.dll
05/04/2006  11:14 AM            36,925 php5apache2.dll
05/04/2006  11:14 AM            53,314 php5apache_hooks.dll
05/04/2006  11:14 AM           642,202 php5embed.lib
05/04/2006  11:14 AM            28,731 php5isapi.dll
05/04/2006  11:14 AM            28,731 php5nsapi.dll
05/04/2006  11:14 AM         4,571,192 php5ts.dll
05/04/2006  11:15 AM               135 pws-php5cgi.reg
05/04/2006  11:15 AM               139 pws-php5isapi.reg
05/04/2006  11:15 AM             1,616 snapshot.txt
05/04/2006  11:15 AM           200,704 ssleay32.dll
05/04/2006  11:15 AM           360,448 yaz.dll
              32 File(s)     18,389,547 bytes
               6 Dir(s)  62,843,244,544 bytes free

 

Martyn T. Griffin 

 

________________________________

From: Bill Angus [mailto:mdangus@xxxxxxxxxxxxx] 
Sent: Tuesday, May 30, 2006 12:08 PM
To: users@xxxxxxxxxxxxxxxx
Subject: Re: [users@httpd] Getting Apache to use PHP under Window XP


Marty: 
 
On Win2k, I had to use the syntax with the fully qualified pathname in it --
i.e. your ... 
 
LoadModule php5_module "C:/Installs/WebTools/PHP/php5apache2.dll"
... looks right to me as long as php5apache2.dll is actually in the
directory you have specified :)
 
For Apache 2.2 my syntax is 
LoadModule php5_module "C:\php\php5apache2_2.dll"
 
Bill Angus, MA
http://www.psychtest.com

	----- Original Message ----- 
	From: Martyn Griffin <mailto:griffinmt@xxxxxxxxxxx>  
	To: users@xxxxxxxxxxxxxxxx 
	Sent: Tuesday, May 30, 2006 6:52 AM
	Subject: RE: [users@httpd] Getting Apache to use PHP under Window XP
	
	
	Have been trying a few things more and actually noticed what may be
a key
	difference in the error msgs logged.
	When I use the entry:
	LoadModule php5_module modules/php5apache2.dll
	It returns the error --> The specified procedure could not be found.
.
	
	When I use the full path to the original file as:
	With or without the quotes, it returns --> The specified module
could not be
	found.     .
	
	The only difference in the structure of the error message is that
one uses
	the word MODULE and the other uses PROCEDURE.
	
	Is it probable that these are two distinct issues, one not able to
open the
	file and the other, not liking what it sees (or doesn't see) after
it is
	opened??
	
	
	Martyn T. Griffin
	
	
	-----Original Message-----
	From: Martyn Griffin [mailto:griffinmt@xxxxxxxxxxx] 
	Sent: Tuesday, May 30, 2006 9:01 AM
	To: users@xxxxxxxxxxxxxxxx
	Subject: RE: [users@httpd] Getting Apache to use PHP under Window XP
	
	The problem is with the php interface module. But, just to make
sure, I put
	a copy into the windows folder and retried, to no avail.
	
	Is it possible I have an access issue. I am running on XP Home. If
so, how
	do I alter that. Since this is an internal Lan system, I could open
up
	everything for now. 
	
	
	Martyn T. Griffin
	
	
	-----Original Message-----
	From: WDaquell [mailto:wdaquell@xxxxxxxxx]
	Sent: Tuesday, May 30, 2006 12:24 AM
	To: users@xxxxxxxxxxxxxxxx
	Subject: Re: [users@httpd] Getting Apache to use PHP under Window XP
	
	Have you tried putting PHP.ini in your Windows folder? I had to do
that
	before PHP would work on my system.
	
	-Wraith
	
	Martyn Griffin wrote:
	>  Overview:
	>
	> I am trying to change the httpd.conf file to add the LoadModule 
	> command for PHP V5.1.4.
	>
	> The instructions indicate to make a reference to the .dll file
(not an 
	> .SO file).
	> Here is the line that was added:
	>
	> LoadModule php5_module modules/php5apache2.dll
	>
	> The dll file has been moved to the Apache2.2 modules folder for
this 
	> attempt.
	>
	> After apache startup fails, the Application Event log contains an 
	> error msg with the following:
	>
	> The Apache service named  reported the following error:
	>   
	>>>> httpd.exe: Syntax error on line 70 of C:/Program Files/Apache 
	>>>> Software
	>>>>         
	> Foundation/Apache2.2/conf/httpd.conf: Cannot load C:/Program 
	> Files/Apache Software Foundation/Apache2.2/modules/php5apache2.dll

	> into
	server: The
	> specified procedure could not be found.     .
	>
	> Apache works as expected without this line added (but without any
PHP
	> support) and PHP itself works (though not thoroughly tested).
	>
	> Also, a system environment variable  (PHPRC) was set to point to
the 
	> folder containing the PHP.ini file.
	>
	> No doubt, I will need to supply more info, but was hoping someone 
	> might just have the answer at the tip of their tongue :^)
	>
	> Martyn T. Griffin
	>
	>   
	/snip


--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.7.4/351 - Release Date: 5/29/2006



-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.7.4/351 - Release Date: 5/29/2006
 

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux