Page 1 of 2

Apache2.0.59 and php5.2.3 configuration problem

Posted: Sun Jul 08, 2007 6:38 am
by LinkPut
Hi All,

my problem still continue with this Apache2.0.59 and php5.2.3 on windows XP P, it looks so weird and frustrating, for I've no more idea left with me to make the test file info.php to work, at first I try to config my Apache2.0.59 and php5.2.3 to run on CGI binary form with almost days trying to make it work with steps and advice but no joy? my Apache works OK after uninstall and re-installed back. So I decide to config it on the Apache module form for I've seen so much success with other trying it on this method of installation, but for me there is still no joy on these Apache module as well, I hope this is the right place for my problem please help me fix it thanks, when I try to load my browser with http://localhost/info.php, I got a 404 Error, with this Error message on my log file

[Fri Jul 06 22:24:55 2007] [error] [client 127.0.0.1] script 'C:/Program Files/Apache Group/Apache2/htdocs/hello.php' not found or unable to stat
[Fri Jul 06 22:25:19 2007] [error] [client 127.0.0.1] script 'C:/Program Files/Apache Group/Apache2/htdocs/info.php' not found or unable to stat
[Sat Jul 07 08:14:17 2007] [notice] Apache/2.0.59 (Win32) PHP/5.2.3 configured


One more thing I try to run the apache.exe on my Command after my C:\Documents and Settings\Pick On> with the forlder I install Apache on as. C:\Program Files\Apache Group\Apache? and got in return this message

'C:\Documents' is not recognized as an internal or external command,
operable program or batch file.

C:\Documents and Settings\Pick On>

[s]Pls[/s] please dose this means this problems could be with my system??

[s]Pls[/s] please any idea will be welcome and appreciate by me Thanks!!
[url=http://forums.devnetwork.net/viewtopic.php?t=30037]Forum Rules[/url] Section 1.1 wrote:11. Please use proper, complete spelling when posting in the forums. AOL Speak, leet speak and other abbreviated wording can confuse those that are trying to help you (or those that you are trying to help). Please keep in mind that there are many people from many countries that use our forums to read, post and learn. They do not always speak English as well as some of us, nor do they know these aberrant abbreviations. Therefore, use as few abbreviations as possible, especially when using such simple words.

Some examples of what not to do are ne1, any1 (anyone); u (you); ur (your or you're); 2 (to too); prolly (probably); afaik (as far as I know); etc.

Posted: Sun Jul 08, 2007 3:27 pm
by volka
Can I interest you in using http://www.apachefriends.org/en/xampp.html ?

Posted: Sun Jul 08, 2007 3:39 pm
by LinkPut
Anyway Thanks!! but not now?

Posted: Sun Jul 08, 2007 3:59 pm
by volka
Would be much easier.

Posted: Mon Jul 09, 2007 8:37 am
by LinkPut
Sorry, but no interest!!

Posted: Mon Jul 09, 2007 8:47 am
by volka
LinkPut wrote:Sorry, but no interest!!
Any particular reason?

if your path contains one or more spaces you have to quote it for the dos shell
"C:\Program Files\Apache Group\bin\apache.exe"
You might be also interested in http://www.activewin.com/tips/win2000/1/2000_tips_44.shtml, it's the same with windows xp.
[Fri Jul 06 22:24:55 2007] [error] [client 127.0.0.1] script 'C:/Program Files/Apache Group/Apache2/htdocs/hello.php' not found or unable to stat
Have you checked there is such a file?

Posted: Tue Jul 10, 2007 7:14 am
by LinkPut
Hi,
I try the quotes and got this message

C:\Documents and Settings\Link Put>"C:\Program Files\Apache Grou
p\bin\apache.exe"
The system cannot find the path specified.

Thanks also for the link about the Command prompt!! for the file I do checked and it on the Apache httpd.conf folder?

Volka ask
Any particular reason?
Not really I also like working from source, but because of the little knowledge I have for this PHP,Apache with Friends, I dont want to be left alone without enough help and support from others on it as well, for all sometimes sound easy until :roll: :D :evil: :wink:

Posted: Tue Jul 10, 2007 10:14 am
by LinkPut
Hi All,

PHP tries to speak to me with an Error report, will someone please help me on this Error report!!
PHP Error
Error parsing C:\php5\php.ini on line 509

Posted: Tue Jul 10, 2007 2:48 pm
by feyd
Can you post lines 505-515? Otherwise, we can't help.

Posted: Tue Jul 10, 2007 4:18 pm
by LinkPut
Hi,

I'm very please to received message from you all into this of my problem and thanks all for that!!!


I dont know where to look exactly for line (509), or 505-515 could it be between (Paths and Directories) or (File Uploads) on php.ini? you see im using an ordinary Note Pad with no line marking on it :(

Posted: Tue Jul 10, 2007 4:22 pm
by feyd
Then I suggest you install a real text editor that supports line number (most do.) If you want a recommendation for one, simply read the Favourite Editors thread in General Discussion.

Posted: Tue Jul 10, 2007 4:36 pm
by LinkPut
Hey, I've look at some, but for now I just want to work it the hard way :?:

Posted: Tue Jul 10, 2007 5:26 pm
by Benjamin
LinkPut wrote:Hey, I've look at some, but for now I just want to work it the hard way :?:
[[scratches head]]

Ok, count the lines. When you get to line 505 or whatever, retype the next 10 lines into the forum.

Posted: Tue Jul 10, 2007 6:14 pm
by LinkPut
Hi,

I'm very please for your respond!!

I can't see the lines on my Note Pad to start the count, but this are the changes I've made so far on my php.ini

extension_dir= "C:\php5\ext"
Windows: "\path1;\path2"
include_path = ".;c:\php5\includes"

and uncomment or my Error that speak to me about line 509, with two from Dynamic Extensions
please any more idea on what also I should be looking at apart from this? thanks!!

Posted: Tue Jul 10, 2007 6:22 pm
by feyd
Until you can post those lines, we can't tell you how to proceed. Start counting or install a real editor; your choice.