/    Sign up×
Community /Pin to ProfileBookmark

Hi…

I am just getting started with PHP. I read the “please read before you post” thread and I don’t think I saw anything that pertains directly to my problem. Thanks in advance for your help.

I installed php 5.2.6. I created the phpinfo() script to test my installation. It works (i think), but the output yields the following:

[B]System Windows NT ROLANDG 5.1 build 2600
Build Date May 2 2008 18:01:20
Configure Command cscript /nologo configure.js “–enable-snapshot-build” “–with-gd=shared” “–with-extra-includes=C:Program Files (x86)Microsoft SDKInclude;C:PROGRA~2MICROS~2VC98ATLINCLUDE;C:PROGRA~2MICROS~2VC98INCLUDE;C:PROGRA~2MICROS~2VC98MFCINCLUDE” “–with-extra-libs=C:Program Files (x86)Microsoft SDKLib;C:PROGRA~2MICROS~2VC98LIB;C:PROGRA~2MICROS~2VC98MFCLIB”
Server API Apache 2.0 Handler
Virtual Directory Support enabled
Configuration File (php.ini) Path C:WINDOWS
[COLOR=”Red”]Loaded Configuration File (none)[/COLOR]
PHP API 20041225
PHP Extension 20060613
Zend Extension 220060519
Debug Build no
Thread Safety enabled
Zend Memory Manager enabled
IPv6 Support enabled
Registered PHP Streams php, file, data, http, ftp, compress.zlib
Registered Stream Socket Transports tcp, udp
Registered Stream Filters convert.iconv.*, string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed, zlib.*
[/B]

Where it says “Loaded Configuration File”, shouldn’t that field be poplulated with [COLOR=”Red”][B]C:phpphp.ini[/B][/COLOR] ? At least that is what the example shows in the book I am using.

Please tell me what I have done wrong and let me know what I need to do to fix it.

Thanks Again!

to post a comment
PHP

2 Comments(s)

Copy linkTweet thisAlerts:
@ZnupiNov 10.2008 — According to the output of phpinfo(),
Configuration File (php.ini) Path C:WINDOWS
PHP is trying to find the php.ini file in C:WINDOWS. Try placing a php.ini file there, restart your webserver (I'm guessing Apache) and check the script again.

Offtopic: might I recommend you use Linux? Installing a LAMP server is as easy as 1-2-3 ?

PS: You might want to try [url=http://apachefriends.org]XAMPP[/url], it's a ready made Apache-MySQL-PHP server which you only have to unzip and run.

Good luck ?
Copy linkTweet thisAlerts:
@sstalderNov 10.2008 — WAMP for windows may be alot easier, I prefer it to XAMPP.
×

Success!

Help @november_boy 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.19,
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: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

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

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