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 -> Apache View previous topic :: View next topic
Reply to topic   Topic: Apache having problems finding the php folder
Author
mrainey



Joined: 30 Aug 2009
Posts: 4

PostPosted: Sun 30 Aug '09 13:59    Post subject: Apache having problems finding the php folder Reply with quote

When i installed the server software i asked it to install to c:\server\apache and the php folder was c:\server\php all the instructions were followed but when i had to restart the server i got an error it said php startup unable to load dynamic libary "C:php5php_gd2.dll" there a few afer this but it is looking in the wrong place should be looking in c:\server\php not C:\php

any ideas would be great Exclamation
Back to top
James Blond
Moderator


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

PostPosted: Sun 30 Aug '09 17:37    Post subject: Reply with quote

You need to correct extension_dir in your php.ini

e.g.

Code:

extension_dir = "C:/server/php/ext"
Back to top
mrainey



Joined: 30 Aug 2009
Posts: 4

PostPosted: Sun 30 Aug '09 19:33    Post subject: Reply with quote

James Blond wrote:
You need to correct extension_dir in your php.ini

e.g.

Code:

extension_dir = "C:/server/php/ext"


Its is alreay showing this on my php.ini file but is still lokking for C:/php/ext
Back to top
paranid



Joined: 02 Mar 2009
Posts: 11

PostPosted: Sun 30 Aug '09 21:51    Post subject: Re: Apache having problems finding the php folder Reply with quote

mrainey wrote:
unable to load dynamic libary C:php5php_gd2.dll

It looks like your Apache is loading a default PHP5 settings/wrong php.ini

check PHPIniDir directive in yout httpd.conf eg. PHPIniDir "C:/server/php" (folder with your php.ini)

check Loaded Configuration File in PHPInfo(); test script if it really loads your php.ini

(unable to load dynamic libary... sometimes happen when you do not have your PHP folder "C:\server\php" in OS PATH)
Back to top
mrainey



Joined: 30 Aug 2009
Posts: 4

PostPosted: Sun 30 Aug '09 23:12    Post subject: Re: Apache having problems finding the php folder Reply with quote

paranid wrote:
mrainey wrote:
unable to load dynamic libary C:php5php_gd2.dll

It looks like your Apache is loading a default PHP5 settings/wrong php.ini

check PHPIniDir directive in yout httpd.conf eg. PHPIniDir "C:/server/php" (folder with your php.ini)

check Loaded Configuration File in PHPInfo(); test script if it really loads your php.ini

(unable to load dynamic libary... sometimes happen when you do not have your PHP folder "C:\server\php" in OS PATH)


right i re-installed it etc and so forth and did what u have said but instead put it on a free drive called F:\ but getting the same error still looking for C:\php instead of F:\php i've done everything i can I need some serious help
Back to top
mrainey



Joined: 30 Aug 2009
Posts: 4

PostPosted: Mon 31 Aug '09 17:01    Post subject: Apache having problems finding the php folder Reply with quote

my apache server can see the Php file in F:\php\ as i changed the file name and the server didn't load when i put it back got errors like

php startup: unable to load dynamic libary "C;\php5\php_gd2.dll the specifided module

i have found the problem it can't see php file but there isn't one so no idea why it is looking for it also the files it wants are in the F:\php\ext file but it won't see it
Back to top
James Blond
Moderator


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

PostPosted: Mon 31 Aug '09 17:30    Post subject: Reply with quote

Maybe the gd2 module is the wrong version. I had that often in earlier PHP versions. Which PHP version do you use?
Back to top


Reply to topic   Topic: Apache having problems finding the php folder View previous topic :: View next topic
Post new topic   Forum Index -> Apache