Author |
|
atr0x
Joined: 22 Jun 2015 Posts: 6 Location: Greece,Patras
|
Posted: Mon 22 Jun '15 20:51 Post subject: loading PHP |
|
|
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
|
Posted: Mon 22 Jun '15 21:06 Post subject: |
|
|
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
|
Posted: Mon 22 Jun '15 21:49 Post subject: |
|
|
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
|
Posted: Tue 23 Jun '15 11:03 Post subject: |
|
|
the NTS version doesn't contain the php module. |
|
Back to top |
|
atr0x
Joined: 22 Jun 2015 Posts: 6 Location: Greece,Patras
|
Posted: Tue 23 Jun '15 18:53 Post subject: |
|
|
so.... what i have to do? what is the nts? |
|
Back to top |
|
admin Site Admin
Joined: 15 Oct 2005 Posts: 692
|
|
Back to top |
|
atr0x
Joined: 22 Jun 2015 Posts: 6 Location: Greece,Patras
|
Posted: Thu 25 Jun '15 20:36 Post subject: |
|
|
thanx!! I was too stupid! Now I get it. Thanx again! |
|
Back to top |
|