View previous topic :: View next topic |
Author |
Message |
snap -
Joined: 16 Oct 2006 Posts: 10
|
Posted: Mon Oct 16, 2006 4:53 am Post subject: test.php does not load |
|
|
Ive installed and unistalled the preconfigured PHP package. Followed the instructions on abyssunderground.co.uk/tutorials-php.php. And my test.php does not load at all. Its in the htdocs folder, everything is set up perfectly. Somebody help |
|
Back to top |
|
 |
Ralph -
Joined: 17 Sep 2006 Posts: 87
|
Posted: Mon Oct 16, 2006 6:54 am Post subject: |
|
|
Hello snap,
Just a few questions:
Your test.php looks like this <?php phpinfo(); ?> right?
It is saved as with a php file extension correct?
Did you configure your server with php interpreter and script path and a index.php file?
Last question, will your server load regular html files? through http://localhost/ |
|
Back to top |
|
 |
snap -
Joined: 16 Oct 2006 Posts: 10
|
|
Back to top |
|
 |
cmxflash -
Joined: 11 Dec 2004 Posts: 872
|
Posted: Mon Oct 16, 2006 8:02 am Post subject: |
|
|
Probably a problem with the PHP configuration.
Could you please download my preconfigured PHP package and try it out?
Create a PHP page with the following code and see if it works;
Code: | <?php echo "Time: ".date("H:i:s"); ?> |
By the way, which O/S are you running? A friend had the same problem as you when he was running Win98SE. |
|
Back to top |
|
 |
snap -
Joined: 16 Oct 2006 Posts: 10
|
Posted: Mon Oct 16, 2006 8:23 am Post subject: |
|
|
cmxflash,
Tried your preconfigured php package and created a new php page
http://74.137.232.101/test2.php Still no luck.
And yes, unfortunately im running WIN98SE. One day i'll move over to linux. |
|
Back to top |
|
 |
Ralph -
Joined: 17 Sep 2006 Posts: 87
|
Posted: Mon Oct 16, 2006 9:16 am Post subject: |
|
|
I too run 98SE well actually 98 that is upgraded to ME but about the same thing as far as capabilities and have had no problem getting the preconfig. package to work from www.abyssunderground.co.uk. Something else is not set right!!!
The MySql package was another story although working well now I had to do the MySql install twice.
For the php5 I used parts of the www.trustabyss.com tutorial as well. It is a bit different, Go there and make sure your install has his recommendations as well.
You may need the Microsoft Data Access Components?
Also, the path to your test.php file should look more like http://127.0.0.1/test.php from the server its self. |
|
Back to top |
|
 |
AbyssUnderground -
Joined: 31 Dec 2004 Posts: 3855
|
Posted: Mon Oct 16, 2006 4:44 pm Post subject: |
|
|
Change it from FastCGI to standard CGI, im willing to bet thats the problem :-)
FastCGI isnt supported on 9x. _________________ Andy (AbyssUnderground) (previously The Inquisitor)
www.abyssunderground.co.uk |
|
Back to top |
|
 |
snap -
Joined: 16 Oct 2006 Posts: 10
|
Posted: Mon Oct 16, 2006 8:24 pm Post subject: |
|
|
Actually if you look at a saved screen shot of my script paramaters, Standard CGI is set.
http://74.137.232.101/scriptpara.html
Im going to try installing the Microsoft Data Access Components again.
Last edited by snap on Mon Oct 16, 2006 8:26 pm; edited 1 time in total |
|
Back to top |
|
 |
AbyssUnderground -
Joined: 31 Dec 2004 Posts: 3855
|
Posted: Mon Oct 16, 2006 8:25 pm Post subject: |
|
|
Well I would but the links don't work ;-) They just time out. _________________ Andy (AbyssUnderground) (previously The Inquisitor)
www.abyssunderground.co.uk |
|
Back to top |
|
 |
snap -
Joined: 16 Oct 2006 Posts: 10
|
Posted: Mon Oct 16, 2006 8:38 pm Post subject: |
|
|
links should work now. sorry, for some reason i cant get into my server using VNC, i have to restart it and ping it to see when i can get on and once im logged in VNC, i get no response from a ping, but still able to use it, but thats another story. Right now PHP is my concern
Hopefully you can help |
|
Back to top |
|
 |
AbyssUnderground -
Joined: 31 Dec 2004 Posts: 3855
|
Posted: Mon Oct 16, 2006 9:55 pm Post subject: |
|
|
I suggest you start again, and follow my tutorial again. 9x is not a good OS to use as a server environment in my opinon. Its too unreliable. _________________ Andy (AbyssUnderground) (previously The Inquisitor)
www.abyssunderground.co.uk |
|
Back to top |
|
 |
snap -
Joined: 16 Oct 2006 Posts: 10
|
Posted: Mon Oct 16, 2006 10:04 pm Post subject: |
|
|
you right, 9x is not good, but thats the only OS which I have a valid cd key. I am planning to go to linux but still searching for the best package to use. I will take your suggestion to re-do everything again.
Thanks |
|
Back to top |
|
 |
snap -
Joined: 16 Oct 2006 Posts: 10
|
Posted: Tue Oct 17, 2006 8:21 pm Post subject: |
|
|
Got the issue with PHP fixed. I got rid of Windows98Se and installed Debian Linux with KDE GUI. My computer has a 250mhz processor and now with Linux installed it runs very very fast.
PHP works perfectly.
Thanks :) |
|
Back to top |
|
 |
|