/    Sign up×
Community /Pin to ProfileBookmark

Problems with installing php on my server

Hi!

I have apache 2.0.49 installed on my server. I’ve also download php 4.3.5 from [url]www.php.net[/url] . I’ve extracted .zip file and put it into C:/php. Then i add line into httpd.conf:
LoadModule php4_module C:/php/sapi/php4apache.dll
AddModule mod_php4.c
AddType application/x-httpd-php .php

When i try to start apache there’s an error it said:

Syntax error on line 1025 of c:/…/apache/conf/httpd.conf:
Cannot load c:/php/php-4.2.1-win32/sapi/php4apache.dll into server

Can anybody help me?

to post a comment
PHP

0Be the first to comment 😎

×

Success!

Help @Webfreak spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.18,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @nearjob,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...