View previous topic :: View next topic |
Author |
Message |
ProjectX -
Joined: 16 Nov 2005 Posts: 2
|
Posted: Wed Nov 16, 2005 3:52 pm Post subject: PHP problem |
|
|
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 |
|
 |
MonkeyNation -
Joined: 05 Feb 2005 Posts: 921 Location: Cardiff
|
Posted: Wed Nov 16, 2005 4:54 pm Post subject: |
|
|
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 |
 |
 |
ProjectX -
Joined: 16 Nov 2005 Posts: 2
|
Posted: Thu Nov 17, 2005 9:24 pm Post subject: |
|
|
Yes I am sure I double checked and everytime i goto http://myip/index.php it wants me to download it. |
|
Back to top |
|
 |
AbyssUnderground -
Joined: 31 Dec 2004 Posts: 3855
|
Posted: Thu Nov 17, 2005 9:30 pm Post subject: |
|
|
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 |
|
 |
Beamin1 -
Joined: 25 Oct 2003 Posts: 27
|
Posted: Sun Dec 18, 2005 10:01 pm Post subject: |
|
|
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 |
|
 |
AbyssUnderground -
Joined: 31 Dec 2004 Posts: 3855
|
|
Back to top |
|
 |
Beamin1 -
Joined: 25 Oct 2003 Posts: 27
|
Posted: Sun Dec 18, 2005 10:17 pm Post subject: |
|
|
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 |
|
 |
AbyssUnderground -
Joined: 31 Dec 2004 Posts: 3855
|
Posted: Sun Dec 18, 2005 10:20 pm Post subject: |
|
|
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 |
|
 |
Beamin1 -
Joined: 25 Oct 2003 Posts: 27
|
Posted: Sun Dec 18, 2005 11:01 pm Post subject: |
|
|
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 |
|
 |
Beamin1 -
Joined: 25 Oct 2003 Posts: 27
|
Posted: Mon Dec 19, 2005 12:01 am Post subject: |
|
|
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 |
|
 |
AbyssUnderground -
Joined: 31 Dec 2004 Posts: 3855
|
Posted: Mon Dec 19, 2005 12:05 am Post subject: |
|
|
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 |
|
 |
Beamin1 -
Joined: 25 Oct 2003 Posts: 27
|
Posted: Mon Dec 19, 2005 1:43 am Post subject: |
|
|
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 |
|
 |
p3 -
Joined: 17 Jun 2005 Posts: 615
|
Posted: Mon Dec 19, 2005 2:06 am Post subject: |
|
|
And, to confirm what Andy said, that tutorial is not outdated. I just followed it, and it works just fine. |
|
Back to top |
|
 |
|