logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Other Software View previous topic :: View next topic
Reply to topic   Topic: loading PHP
Author
atr0x



Joined: 22 Jun 2015
Posts: 6
Location: Greece,Patras

PostPosted: Mon 22 Jun '15 20:51    Post subject: loading PHP Reply with quote

I added this on httpd.conf: "LoadModule php5_module "c:/php/php5apache2_2.dll"
<IfModule php5_module>
AddType application/x-httpd-php .php
PHPIniDir c:/php/
DirectoryIndex index.php index.html
</IfModule>
"

and when I try to restart the apache using "httpd -k restart" I get this message: "

C:\apache2\bin>httpd -k start
httpd: Syntax error on line 177 of C:/apache2/conf/httpd.conf: Cannot load c:/ph
p/php5apache2_2.dll into server: \xc4\xe5\xed \xde\xf4\xe1\xed \xe4\xf5\xed\xe1\
xf4\xfc \xed\xe1 \xe5\xed\xf4\xef\xf0\xe9\xf3\xf4\xe5\xdf \xe7 \xea\xe1\xe8\xef\
xf1\xe9\xf3\xec\xdd\xed\xe7 \xeb\xe5\xe9\xf4. \xec\xef\xed\xdc\xe4\xe1.

"
and I can't load a .php page
Back to top
admin
Site Admin


Joined: 15 Oct 2005
Posts: 692

PostPosted: Mon 22 Jun '15 21:06    Post subject: Reply with quote

From the other post of you I assume you run Apache 2.4 Win 64 VC14

What PHP version you downloaded ?
And is it also Win64 ?

You try to load php5apache2_2.dll that is not working you must have php5apache2_4.dll.

Search also the forum, quite some posts about the loading of PHP.
Back to top
atr0x



Joined: 22 Jun 2015
Posts: 6
Location: Greece,Patras

PostPosted: Mon 22 Jun '15 21:49    Post subject: Reply with quote

sorry..., I am runnig httpd-2.4.12-win64-VC14 on win7x64
and
php-5.6.10-nts-Win32-VC11-x64
Do I have to download another version of php?
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7373
Location: Germany, Next to Hamburg

PostPosted: Tue 23 Jun '15 11:03    Post subject: Reply with quote

the NTS version doesn't contain the php module.
Back to top
atr0x



Joined: 22 Jun 2015
Posts: 6
Location: Greece,Patras

PostPosted: Tue 23 Jun '15 18:53    Post subject: Reply with quote

so.... what i have to do? what is the nts? Very Happy Embarassed
Back to top
admin
Site Admin


Joined: 15 Oct 2005
Posts: 692

PostPosted: Wed 24 Jun '15 14:37    Post subject: Reply with quote

See left pane at http://windows.php.net/download/
Back to top
atr0x



Joined: 22 Jun 2015
Posts: 6
Location: Greece,Patras

PostPosted: Thu 25 Jun '15 20:36    Post subject: Reply with quote

thanx!! I was too stupid! Now I get it. Thanx again!
Back to top


Reply to topic   Topic: loading PHP View previous topic :: View next topic
Post new topic   Forum Index -> Other Software