wida Posted October 28, 2003 Share Posted October 28, 2003 i currently use apache 1.3.23 that comes along phptriad, and use it on XP. these are my problems: -clicking a link wont link to the desired page (it actually exist) -clicking a submit button wont go to the action page defined in <form action=\"apage.php\"> and wont submit any kind of input (hidden and not hidden) -sometime when i type localhost, it just go to iis localhost page, instead of phpgeek index page my question: -what\'s wrong ? anyone ever experience this? it worked just fine before and i didn\'t change any configuration -is it possible to have 2 different version of apache servers in one machine ? TIA, inneedoffastanswers Quote Link to comment Share on other sites More sharing options...
MikoMak Posted December 2, 2003 Share Posted December 2, 2003 Hi, yep, I\'m having the same problem. Also XP. I used Foxserv to set up Apache/MySQL/PHP - interestingly, when I enter the file I want into the browser e.g. http://localhost/test.php & click enter I get the 404, but if I click enter again it comes up! So I need to click enter twice! Of course, this is no good when calling pages from a form submit, or at any other point either. Have you found a solution yet? Mik. Quote Link to comment Share on other sites More sharing options...
deRusett Posted December 2, 2003 Share Posted December 2, 2003 use apache2 I use it on win XP boxes and it installs and runs flawlessly Quote Link to comment Share on other sites More sharing options...
MikoMak Posted December 3, 2003 Share Posted December 3, 2003 Hi - I haven\'t done this yet but apparently XP has a bug, which results in php scripts returning 404 errors, that has been resolved in SP1. So if you haven\'t installed it, now is the time. Look up http://www.apache.org/dist/httpd/binaries/...n32/README.html Hope this helps. Mik. Quote Link to comment Share on other sites More sharing options...
deRusett Posted December 3, 2003 Share Posted December 3, 2003 WHY would you not have SP1 installed when you are running XP!! that is STUPID I could clear your hard drive from this forum if you are running an XP box unpatched with SP1, very dangerous times Quote Link to comment Share on other sites More sharing options...
MikoMak Posted December 6, 2003 Share Posted December 6, 2003 Yep, a bit of an oversight. But installed it last night. Even so, it hasn\'t solved the problem of the \'404 Missing Page\' so back to square one. Mik. :? Quote Link to comment Share on other sites More sharing options...
deRusett Posted December 7, 2003 Share Posted December 7, 2003 try installing Apache 2 instead of 1.3.X Quote Link to comment Share on other sites More sharing options...
MikoMak Posted December 9, 2003 Share Posted December 9, 2003 Hi - Installed Apache 2 today & the problem of double-enter seems to be history, at least for html pages. many thanx for that. I do have another problem though - On configuring httpd.conf, I added this line - LoadModule php4_Module c:/apache2/php/sapi/php4apache2.dll When I try to start the server I get an error message saying \"The requested operation has failed!\" If I remove that line, the server starts up & I can run html pages. This is the exact dll I had for my earlier setup to run php pages so I\'m not sure why it\'s not working. I am using the correct path. I\'ve also tried php4apache.dll but I get the same error message. Any thoughts? Thanx, Mik. Quote Link to comment Share on other sites More sharing options...
deRusett Posted December 10, 2003 Share Posted December 10, 2003 LoadModule php4_module C:/php/sapi/php4apache2.dll AddType application/x-httpd-php .php you need to add this not just LoadModule php4_module C:/php/sapi/php4apache2.dll Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.