Forum Moderators: coopster

Message Too Old, No Replies

apache mysql php5 phpMyAdmin on windowsXP

My test server does'nt seem to run scripts (?)

         

mikevack

3:44 pm on Jan 5, 2007 (gmt 0)

10+ Year Member



I'm a bit perpelxed. I've managed to install, config, and make operable an Apache server, mysql, php5, ZendOptimizer, and phpMyAdmin on my WinXp comp. The problem is that when I install a script such as a cms or topsite they fail to run. I want to be able to run and test scripts on localhost before uploading to www.server I've installed such scripts on *nix based web servers without problem. I researched and found that chmod should not be an issue on windows so all the files/folders should have read/write access. I,m completly stumped. These scripts that I've attempted to run on my test server go through thier entire install process creating tables and such untill complete. I point to the folder/index.php and nothing. Any Ideas?

benevolent001

4:26 pm on Jan 5, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



just download this Apache2Triad , its all in one utility , you wont have any problem in doind whatever you want

its combined package for apache , mysql , php , phpmyadmin , and many more....

mikevack

4:35 pm on Jan 5, 2007 (gmt 0)

10+ Year Member



Thanks I'll try that

jatar_k

4:39 pm on Jan 5, 2007 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



you could try this thread from the PHP Forum library [webmasterworld.com]
Installing a new web server: Apache2, PHP5, MySQL4 and PHPmyAdmin. [webmasterworld.com]
or
Troubleshooting Steps for PHP/Apache on windows [webmasterworld.com]

mikevack

5:15 pm on Jan 5, 2007 (gmt 0)

10+ Year Member



Hello jatar_k,

I briefly reviewed the links on your post and like what I see. I've invested alot of time into getting things working thus far and feel as though I must finish the mission! I'm going to implement changes and post the progress. Thanks to all.

jatar_k

6:10 pm on Jan 5, 2007 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



I used this post at one point for a little troubleshooting

Installing PHP5 Under Windows XP and Apache [webmasterworld.com]

mikevack

9:01 pm on Jan 6, 2007 (gmt 0)

10+ Year Member



Hello jatar_k,

Ok, I've repeated the install steps about a bizillion times. I did find mutiple instances of php.ini in different folders/directories and removed them. Made changes as needed. Researched other install docs and further changes were made but still the scripts fail. The one change that did have an effect on a script was when ¦PHPIniDir "C:/php"¦was changed to ¦PHPIniDir "./"¦. In this scenerio the script ran/performed to the extent of dbase error msg, and mysql compeletly failed. Would starting over compeletly be my only solution or do you have any more tricks up your sleeve?

Thanks to All.

jatar_k

2:52 am on Jan 7, 2007 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



moved this to php to get more eyes on it

hmmm, not sure

what was the dbase error msg?
when mysql failed what did it do exactly?

I don't think starting over is necessarily going to help but it might be worth a shot. You need to remove everything related to php/mysql/apache/phpmyadmin though.

make sure you really start from scratch. When you get mired in conf/install probs they often get worse even with retrying. Removing everything is the only way to be sure.

mikevack

3:44 am on Jan 7, 2007 (gmt 0)

10+ Year Member



Thanks,

I'm in the process of re-installing and did remove all things related to the last effort. I do believe that in all my attemts to make changes, some minor error/ommision caused the problem, and re-tracing my tracks became to exhaustive. Also, I did install php5 with an installer earlier before these posts, and had since removed, then manually installed. I placed files in windows, system32, and wherever it was suggested to do so. A fresh start seems to be in order. I'm following the method contained in your first post link because it's ommitting reference to placing files in any c:\windows\ directories. So far so good!

jatar_k

4:11 am on Jan 7, 2007 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



I have run through those instructions from scratch to test and they work just fine

hope it works ;)

mikevack

5:05 am on Jan 8, 2007 (gmt 0)

10+ Year Member



Thanks,

""Finally up and running"". I guess with all research on this topic and trying everything others recommended with all the different ways they tweaked, changed, moved, copied, etc. system files, it's not surprising things failed for me. I only wish I'd started here first! I also [[benevolent001]] installed 'Apache2Triad' on another computer with little effort and no errors. I conquered the manual install but I'll have to recommend 'Triad' to others who don't need the "hands on" experience.

jatar_k

3:15 pm on Jan 8, 2007 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



very happy to hear you got it sorted