FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » php 5.3.8 und Apache 2.2.19
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
php 5.3.8 und Apache 2.2.19 [message #175249] Mon, 29 August 2011 09:30 Go to next message
snoopy78 is currently offline  snoopy78
Messages: 1
Registered: August 2011
Karma: 0
Junior Member
Hallo zusammen

Nachdem die vc6-Versionen nicht mehr unterstützt werden, wollte ich
auf vc9 updaten. Habe daher das vc9 threadsave heruntergeladen. Dann
noch den Apache von http://www.apachelounge.com/download/, welcher für
vc9 zuständig sein sollte.

Leider kommt mir beim aufstarten, wenn ich LoadModule php5_module "C:/
Programme/PHP/php5.dll" aktiviere folgende Fehlermeldung:

httpd.exe: Syntax error on line 114 of C:/Programme/Apache Software
Foundation/Apache2.2/conf/httpd.conf: Can't locate API module
structure `php5_module' in file C:/Programme/php/php5.dll: No error

Dies deutet laut Suche auf eine falsche Version hin, doch eigentlich
müsste es ja so funktionieren.

Gruss, Markus
Re: php 5.3.8 und Apache 2.2.19 [message #175252 is a reply to message #175249] Mon, 29 August 2011 11:37 Go to previous messageGo to next message
Jerry Stuckle is currently offline  Jerry Stuckle
Messages: 2598
Registered: September 2010
Karma: 0
Senior Member
On 8/29/2011 5:30 AM, snoopy78 wrote:
> Hallo zusammen
>
> Nachdem die vc6-Versionen nicht mehr unterstützt werden, wollte ich
> auf vc9 updaten. Habe daher das vc9 threadsave heruntergeladen. Dann
> noch den Apache von http://www.apachelounge.com/download/, welcher für
> vc9 zuständig sein sollte.
>
> Leider kommt mir beim aufstarten, wenn ich LoadModule php5_module "C:/
> Programme/PHP/php5.dll" aktiviere folgende Fehlermeldung:
>
> httpd.exe: Syntax error on line 114 of C:/Programme/Apache Software
> Foundation/Apache2.2/conf/httpd.conf: Can't locate API module
> structure `php5_module' in file C:/Programme/php/php5.dll: No error
>
> Dies deutet laut Suche auf eine falsche Version hin, doch eigentlich
> müsste es ja so funktionieren.
>
> Gruss, Markus

This is an English newsgroup; I would recommend you refer your question
to a German language newsgroup.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex(at)attglobal(dot)net
==================
Re: php 5.3.8 und Apache 2.2.19 [message #175300 is a reply to message #175249] Thu, 01 September 2011 14:18 Go to previous messageGo to next message
Mr. B-o-B is currently offline  Mr. B-o-B
Messages: 42
Registered: April 2011
Karma: 0
Member
On 8/29/2011 4:30 AM, snoopy78 cried from the depths of the abyss:
> Hallo zusammen
>
> Nachdem die vc6-Versionen nicht mehr unterstützt werden, wollte ich
> auf vc9 updaten. Habe daher das vc9 threadsave heruntergeladen. Dann
> noch den Apache von http://www.apachelounge.com/download/, welcher für
> vc9 zuständig sein sollte.
>
> Leider kommt mir beim aufstarten, wenn ich LoadModule php5_module "C:/
> Programme/PHP/php5.dll" aktiviere folgende Fehlermeldung:
>
> httpd.exe: Syntax error on line 114 of C:/Programme/Apache Software
> Foundation/Apache2.2/conf/httpd.conf: Can't locate API module
> structure `php5_module' in file C:/Programme/php/php5.dll: No error
>
> Dies deutet laut Suche auf eine falsche Version hin, doch eigentlich
> müsste es ja so funktionieren.
>
> Gruss, Markus

Bitte Entschuldigen Sie mein Deutsch, da es sehr schlecht ist. Können
Sie copy / paste httpd.conf (oder atleast die Zeile in der Fehlermeldung
erwähnt)?

Vielen Dank!
Re: php 5.3.8 und Apache 2.2.19 [message #175304 is a reply to message #175249] Thu, 01 September 2011 22:04 Go to previous messageGo to next message
Markus Grob is currently offline  Markus Grob
Messages: 9
Registered: September 2011
Karma: 0
Junior Member
Hello together

Then I try it on english. I have used google groops and forgotten, that
the group isn't german spoken.

After the vc6-versions aren't supported anymore, I tried to update to
vc9. I have downloaded the treadsave one vc9 from php
(http://windows.php.net/download/) and also the apache from
http://www.apachelounge.com/download/ which is compiled for vc9.

Badly if I try to start apache, I get the following error, if I activate
the php5_module( C:/Programme/PHP/php5.dll):
httpd.exe: Syntax error on line 114 of C:/Programme/Apache Software
Foundation/Apache2.2/conf/httpd.conf: Can't locate API module
structure `php5_module' in file C:/Programme/php/php5.dll: No error

This message is given, if the wrong version is taken, but I think, it
should work. What am I doing wrong?

Greetings, Markus
Re: php 5.3.8 und Apache 2.2.19 [message #175306 is a reply to message #175304] Thu, 01 September 2011 23:47 Go to previous messageGo to next message
Jerry Stuckle is currently offline  Jerry Stuckle
Messages: 2598
Registered: September 2010
Karma: 0
Senior Member
On 9/1/2011 6:04 PM, Markus Grob wrote:
> Hello together
>
> Then I try it on english. I have used google groops and forgotten, that
> the group isn't german spoken.
>
> After the vc6-versions aren't supported anymore, I tried to update to
> vc9. I have downloaded the treadsave one vc9 from php
> (http://windows.php.net/download/) and also the apache from
> http://www.apachelounge.com/download/ which is compiled for vc9.
>
> Badly if I try to start apache, I get the following error, if I activate
> the php5_module( C:/Programme/PHP/php5.dll):
> httpd.exe: Syntax error on line 114 of C:/Programme/Apache Software
> Foundation/Apache2.2/conf/httpd.conf: Can't locate API module
> structure `php5_module' in file C:/Programme/php/php5.dll: No error
>
> This message is given, if the wrong version is taken, but I think, it
> should work. What am I doing wrong?
>
> Greetings, Markus

See the comments about PHP5.3.7 at http://www.php.net. VC9 versions of
PHP are not compatible with the Apache binaries from www.apache.org
(which is still built on VC6).

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex(at)attglobal(dot)net
==================
Re: php 5.3.8 und Apache 2.2.19 [message #175317 is a reply to message #175304] Sun, 04 September 2011 10:47 Go to previous messageGo to next message
Thomas 'PointedEars'  is currently offline  Thomas 'PointedEars'
Messages: 701
Registered: October 2010
Karma: 0
Senior Member
Markus Grob wrote:

> After the vc6-versions aren't supported anymore, I tried to update to
> vc9. I have downloaded the treadsave one vc9 from php
^^^^^^^^^
_thread-safe_

> (http://windows.php.net/download/) and also the apache from
> http://www.apachelounge.com/download/ which is compiled for vc9.
>
> Badly if I try to start apache, I get the following error, if I activate
^^^^^ ^^^^ when
> the php5_module( C:/Programme/PHP/php5.dll):

Wasn't the module filename php5apache2.dll instead?

<http://www.php.net/manual/en/install.windows.apache2.php>

> httpd.exe: Syntax error on line 114 of C:/Programme/Apache Software
> Foundation/Apache2.2/conf/httpd.conf: Can't locate API module
> structure `php5_module' in file C:/Programme/php/php5.dll: No error

"No error" is a funny error message indeed, but it really appears that you
are not using the correct DLL. So Apache cannot find a *module* *structure*
in it, and reports that.

> This message is given, if the wrong version is taken, but I think, it
^ ^^^^^ used ^
> should work. What am I doing wrong?

To begin with, you are posting in English without actually knowing the
language, thereby posting mostly in gibberish (was this a Google
translation?). Try de.comp.lang.php instead. But they will probably
also only tell you to RTFM first.


PointedEars
--
Prototype.js was written by people who don't know javascript for people
who don't know javascript. People who don't know javascript are not
the best source of advice on designing systems that use javascript.
-- Richard Cornford, cljs, <f806at$ail$1$8300dec7(at)news(dot)demon(dot)co(dot)uk>
Re: php 5.3.8 und Apache 2.2.19 [message #175341 is a reply to message #175306] Wed, 07 September 2011 21:44 Go to previous messageGo to next message
Markus Grob is currently offline  Markus Grob
Messages: 9
Registered: September 2011
Karma: 0
Junior Member
Jerry Stuckle schrieb:

> See the comments about PHP5.3.7 at http://www.php.net. VC9 versions of
> PHP are not compatible with the Apache binaries from www.apache.org
> (which is still built on VC6).

Yes and because of this, I have downloaded the files from
http://www.apachelounge.com/download/.
I had written this before and because of this, I don't know where the
error cames from.

Greetings, Markus
Re: php 5.3.8 und Apache 2.2.19 [message #175342 is a reply to message #175317] Wed, 07 September 2011 21:50 Go to previous messageGo to next message
Markus Grob is currently offline  Markus Grob
Messages: 9
Registered: September 2011
Karma: 0
Junior Member
Thomas 'PointedEars' Lahn schrieb:
> Markus Grob wrote:

>> Badly if I try to start apache, I get the following error, if I activate
> ^^^^^ ^^^^ when
>> the php5_module( C:/Programme/PHP/php5.dll):
>
> Wasn't the module filename php5apache2.dll instead?

No, this modulename is for the vc6, but the module for the vc9 is only
php5.dll.


>> httpd.exe: Syntax error on line 114 of C:/Programme/Apache Software
>> Foundation/Apache2.2/conf/httpd.conf: Can't locate API module
>> structure `php5_module' in file C:/Programme/php/php5.dll: No error
>
> "No error" is a funny error message indeed, but it really appears that you
> are not using the correct DLL. So Apache cannot find a *module* *structure*
> in it, and reports that.

Yes, that is my problem. I have tried to find the right versions, but it
seems, that I'm the only one who wonna update his windows php to the new
version.


> To begin with, you are posting in English without actually knowing the
> language, thereby posting mostly in gibberish (was this a Google
> translation?). Try de.comp.lang.php instead. But they will probably
> also only tell you to RTFM first.

Pointed as always ;-) No, only less time and not the time to learn it
bether, but I think it is good enough, to understand the meaning and no,
I wasn't using Google to translate.
Which RTFM? I tried to find answer in the net, but there seems to be
only good working machines or nobody which tries to update his running
system.

Greetings, Markus
Re: php 5.3.8 und Apache 2.2.19 [message #175343 is a reply to message #175342] Wed, 07 September 2011 23:14 Go to previous messageGo to next message
Thomas 'PointedEars'  is currently offline  Thomas 'PointedEars'
Messages: 701
Registered: October 2010
Karma: 0
Senior Member
[Supersedes accidental submission]

Markus Grob wrote:

> Thomas 'PointedEars' Lahn schrieb:
>> Markus Grob wrote:
>>> Badly if I try to start apache, I get the following error, if I activate
>> ^^^^^ ^^^^ when
>>> the php5_module( C:/Programme/PHP/php5.dll):
>>
>> Wasn't the module filename php5apache2.dll instead?
>
> No, this modulename is for the vc6, but the module for the vc9 is only
> php5.dll.

Then how come that I cannot find a php5.dll in
<http://windows.php.net/downloads/releases/php-5.3.8-Win32-VC9-x86.zip>,
but a php5apache2_2.dll?

$ unzip -l /tmp/php-5.3.8-Win32-VC9-x86.zip | grep -i php5
780298 2011-08-23 11:59 dev/php5ts.lib
26624 2011-08-23 11:59 php5apache2_2.dll
23552 2011-08-23 11:59 php5apache2_2_filter.dll
816944 2011-08-23 11:59 php5embed.lib
19968 2011-08-23 11:59 php5nsapi.dll
5908480 2011-08-23 11:59 php5ts.dll
135 2011-08-23 11:59 pws-php5cgi.reg
139 2011-08-23 11:59 pws-php5isapi.reg

There is a php5.dll in
<http://windows.php.net/downloads/releases/php-5.3.8-nts-Win32-VC9-x86.zip>,
but that is not the version you have been looking for:

$ unzip -l /tmp/php-5.3.8-nts-Win32-VC9-x86.zip | grep -i php5
769546 2011-08-23 12:25 dev/php5.lib
5731328 2011-08-23 12:25 php5.dll
805388 2011-08-23 12:25 php5embed.lib
135 2011-08-23 12:25 pws-php5cgi.reg
139 2011-08-23 12:25 pws-php5isapi.reg

Possibility: There is no non-thread-safe Apache 2.x module (which makes
sense), but that should not matter to you.

>>> httpd.exe: Syntax error on line 114 of C:/Programme/Apache Software
>>> Foundation/Apache2.2/conf/httpd.conf: Can't locate API module
>>> structure `php5_module' in file C:/Programme/php/php5.dll: No error
>> "No error" is a funny error message indeed, but it really appears that
>> you are not using the correct DLL. So Apache cannot find a *module*
>> *structure* in it, and reports that.
>
> Yes, that is my problem. I have tried to find the right versions, but it
> seems, that I'm the only one who wonna update his windows php to the new
> version.

I wonder where you got that php5.dll from, for it cannot be from the PHP
version you claim to have downloaded.


PointedEars
--
realism: HTML 4.01 Strict
evangelism: XHTML 1.0 Strict
madness: XHTML 1.1 as application/xhtml+xml
-- Bjoern Hoehrmann
Re: php 5.3.8 und Apache 2.2.19 [message #175345 is a reply to message #175343] Thu, 08 September 2011 20:57 Go to previous message
Markus Grob is currently offline  Markus Grob
Messages: 9
Registered: September 2011
Karma: 0
Junior Member
Thomas 'PointedEars' Lahn schrieb:
> Markus Grob wrote:

> There is a php5.dll in
> <http://windows.php.net/downloads/releases/php-5.3.8-nts-Win32-VC9-x86.zip>,
> but that is not the version you have been looking for:

You saved my day. I have taken the nts and hope, that the other one from
"your" repo
will work, but not this evening. Bether tomorrow ;-)

Greetings, Markus
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: UTF-8 in MSSQL
Next Topic: Call for Papers & Guest Editor in Chief (IJRRSIC)
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Wed Nov 13 07:03:29 GMT 2024

Total time taken to generate the page: 0.02712 seconds