test.php does not load

 
Post new topic   Reply to topic    Aprelium Forum Index -> PHP
View previous topic :: View next topic  
Author Message
snap
-


Joined: 16 Oct 2006
Posts: 10

PostPosted: Mon Oct 16, 2006 4:53 am    Post subject: test.php does not load Reply with quote

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 View user's profile Send private message
Ralph
-


Joined: 17 Sep 2006
Posts: 87

PostPosted: Mon Oct 16, 2006 6:54 am    Post subject: Reply with quote

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 View user's profile Send private message Visit poster's website
snap
-


Joined: 16 Oct 2006
Posts: 10

PostPosted: Mon Oct 16, 2006 7:34 am    Post subject: Reply with quote

Hello Ralph,

My test.php is corect and has a php extension.

Script path is corret -> http://74.137.232.101/scriptpara.html

Interpreter is corret -> http://74.137.232.101/interpreters.html
(I've changed the TYPE to PHP STYLE, and no results)

Yes, my server will load regular html files.

Heres the test.php
http://74.137.232.101/test.php

When you go to the test.php in the browser it won't load. Hopefully you can help?
Back to top View user's profile Send private message
cmxflash
-


Joined: 11 Dec 2004
Posts: 872

PostPosted: Mon Oct 16, 2006 8:02 am    Post subject: Reply with quote

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 View user's profile Send private message
snap
-


Joined: 16 Oct 2006
Posts: 10

PostPosted: Mon Oct 16, 2006 8:23 am    Post subject: Reply with quote

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 View user's profile Send private message
Ralph
-


Joined: 17 Sep 2006
Posts: 87

PostPosted: Mon Oct 16, 2006 9:16 am    Post subject: Reply with quote

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 View user's profile Send private message Visit poster's website
AbyssUnderground
-


Joined: 31 Dec 2004
Posts: 3855

PostPosted: Mon Oct 16, 2006 4:44 pm    Post subject: Reply with quote

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 View user's profile Send private message Visit poster's website
snap
-


Joined: 16 Oct 2006
Posts: 10

PostPosted: Mon Oct 16, 2006 8:24 pm    Post subject: Reply with quote

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 View user's profile Send private message
AbyssUnderground
-


Joined: 31 Dec 2004
Posts: 3855

PostPosted: Mon Oct 16, 2006 8:25 pm    Post subject: Reply with quote

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 View user's profile Send private message Visit poster's website
snap
-


Joined: 16 Oct 2006
Posts: 10

PostPosted: Mon Oct 16, 2006 8:38 pm    Post subject: Reply with quote

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 View user's profile Send private message
AbyssUnderground
-


Joined: 31 Dec 2004
Posts: 3855

PostPosted: Mon Oct 16, 2006 9:55 pm    Post subject: Reply with quote

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 View user's profile Send private message Visit poster's website
snap
-


Joined: 16 Oct 2006
Posts: 10

PostPosted: Mon Oct 16, 2006 10:04 pm    Post subject: Reply with quote

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 View user's profile Send private message
snap
-


Joined: 16 Oct 2006
Posts: 10

PostPosted: Tue Oct 17, 2006 8:21 pm    Post subject: Reply with quote

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 View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> PHP All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group