/    Sign up×
Community /Pin to ProfileBookmark

Mysql 5 and PHP 5.2 as Apache module problem

Hello,

I installed on a Windows XP machine Apache 2.2.3, MySQL 5.0.27, PHP 5.2.
Everything are working fine if I use PHP as Fast CGI, configured like this:

[CODE]ScriptAlias /php/ “d:/Program Files/php/”
AddType application/x-httpd-php .php
Action application/x-httpd-php “/php/php-cgi.exe”[/CODE]

However if I want to use it as module then mysql module is not loaded anymore. The only difference is that I installed PHP as this:

[CODE]LoadModule php5_module “d:/Program Files/php/php5apache2_2.dll”
AddType application/x-httpd-php .php
PHPIniDir “D:Program Filesphp”[/CODE]

Any idea why the module sollution doesn’t work?

to post a comment
PHP

2 Comments(s)

Copy linkTweet thisAlerts:
@theRamonesNov 09.2006 — PHPIniDir "D:/Program Files/php"

or

PHPIniDir "D:/Program Files/php/"
Copy linkTweet thisAlerts:
@chazzyNov 09.2006 — There are known issues installing Apache and PHP together on windows.

apache lounge has numerous solutions

http://www.apachelounge.com/forum/viewtopic.php?t=570
×

Success!

Help @elmu 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 5.2,
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: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,

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