PHP problem

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


Joined: 16 Nov 2005
Posts: 2

PostPosted: Wed Nov 16, 2005 3:52 pm    Post subject: PHP problem Reply with quote

Ok so I installed php and I did everything that i had to do and I puted index.php in the htdocs direcory and when i goto http://myip it gives wants me to download the php file. and when I put an index.html it just doesnt showup it gives me the error that the file is not there.
Back to top View user's profile Send private message
MonkeyNation
-


Joined: 05 Feb 2005
Posts: 921
Location: Cardiff

PostPosted: Wed Nov 16, 2005 4:54 pm    Post subject: Reply with quote

Are you sure you added .php as a file extension to get processed by it?
Read the instuctions again and double check.
_________________
Back to top View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger ICQ Number
ProjectX
-


Joined: 16 Nov 2005
Posts: 2

PostPosted: Thu Nov 17, 2005 9:24 pm    Post subject: Reply with quote

Yes I am sure I double checked and everytime i goto http://myip/index.php it wants me to download it.
Back to top View user's profile Send private message
AbyssUnderground
-


Joined: 31 Dec 2004
Posts: 3855

PostPosted: Thu Nov 17, 2005 9:30 pm    Post subject: Reply with quote

Make sure you have added "php" as the file ending for the interpreter.

Screenshot:


_________________
Andy (AbyssUnderground) (previously The Inquisitor)
www.abyssunderground.co.uk
Back to top View user's profile Send private message Visit poster's website
Beamin1
-


Joined: 25 Oct 2003
Posts: 27

PostPosted: Sun Dec 18, 2005 10:01 pm    Post subject: Reply with quote

Having the same problems and have rechecked everything stated above mutiple times.

Doing a new clean install on windows XP using abyss x1, the abyss updated php installer and mysql 5.0.16 - the only thing I can see that is different is that in the script paths field /*.php is present and will not let me remove it.

Any .php pages I try to access prompt me to download the file.Any help is greatly appreciated.

Beamin1
Back to top View user's profile Send private message
AbyssUnderground
-


Joined: 31 Dec 2004
Posts: 3855

PostPosted: Sun Dec 18, 2005 10:02 pm    Post subject: Reply with quote

Follow the tutorial on http://www.abyssunderground.co.uk/tutorials-php.php
_________________
Andy (AbyssUnderground) (previously The Inquisitor)
www.abyssunderground.co.uk
Back to top View user's profile Send private message Visit poster's website
Beamin1
-


Joined: 25 Oct 2003
Posts: 27

PostPosted: Sun Dec 18, 2005 10:17 pm    Post subject: Reply with quote

ok this is unusual,
Code:
<?php phpinfo(); ?>
in the root dir works just fine as phpinfo.php, however, trying to access phpmyadmin prompts me to download index.php.... /boggle

Beamin1
Back to top View user's profile Send private message
AbyssUnderground
-


Joined: 31 Dec 2004
Posts: 3855

PostPosted: Sun Dec 18, 2005 10:20 pm    Post subject: Reply with quote

Did you enter any items in the option to block php requests? You should check. If you cant figure it out, try starting off with a new host (in X2) or rename your config file and start over (in X1).
_________________
Andy (AbyssUnderground) (previously The Inquisitor)
www.abyssunderground.co.uk
Back to top View user's profile Send private message Visit poster's website
Beamin1
-


Joined: 25 Oct 2003
Posts: 27

PostPosted: Sun Dec 18, 2005 11:01 pm    Post subject: Reply with quote

reinstalling whole thing now... php extensions would work in root dir but not in subfolders... also couldnt get phpmyadmin working... so lets see if 3rd time is the charm.

Beamin1
Back to top View user's profile Send private message
Beamin1
-


Joined: 25 Oct 2003
Posts: 27

PostPosted: Mon Dec 19, 2005 12:01 am    Post subject: Reply with quote

ok tried to install it all with the tutorials you recommended and they seem to be outdated b\c there were several steps apparently missing etc... bout ready to say the heck with it, Ive tried each guide on this site and it seems as tho theres old info that doesnt work with the newer versions of these programs or innacurate information or information that conflicts with the documentation that comes with php or mysql in all of them.

Has anyone done a new clean install recently and had it all work with the new versions of all of these programs?

And is the windows installer the best way to install mysql?


Beamin1
Back to top View user's profile Send private message
AbyssUnderground
-


Joined: 31 Dec 2004
Posts: 3855

PostPosted: Mon Dec 19, 2005 12:05 am    Post subject: Reply with quote

The tutorial is not outdated, it was made just 2 weeks ago using php4 and Abyss Web Server X2.

Follow the tutorial on www.trustabyss.com.
_________________
Andy (AbyssUnderground) (previously The Inquisitor)
www.abyssunderground.co.uk
Back to top View user's profile Send private message Visit poster's website
Beamin1
-


Joined: 25 Oct 2003
Posts: 27

PostPosted: Mon Dec 19, 2005 1:43 am    Post subject: Reply with quote

ok ran into a question

This is from the phpmyadmin tutorial, I presume this is actually in reference to
config.default.php ? As default_config.php doesnt exist in the cscripts\phpmyadmin folder created prior to this step?




Quote:
Create a new folder out side of your htdocs and name it scripts , unzip the phpMyAdmin.zip to that new folder and rename that new uncompressed folder to the prefered phpMyAdmin , go to the phpMyAdmin folder and open default_config.php in WordPad.



Edit:


went with this accepting the name change and got to the step of deleting useres from database and this is the error I get in phpmyadmin

Quote:
SQL query:

DROP USER ''@ '%';

MySQL said: Documentation
#1268 - Can't drop one or more of the requested users





going to continue with the rest of the steps and see how far I can get.

Beamin1
Back to top View user's profile Send private message
p3
-


Joined: 17 Jun 2005
Posts: 615

PostPosted: Mon Dec 19, 2005 2:06 am    Post subject: Reply with quote

And, to confirm what Andy said, that tutorial is not outdated. I just followed it, and it works just fine.
Back to top View user's profile Send private message Send e-mail
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