Trying to get PHP to run.

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


Joined: 15 Nov 2003
Posts: 3

PostPosted: Sat Nov 15, 2003 8:28 am    Post subject: Trying to get PHP to run. Reply with quote

Hello, I have downloaded and installed the web server, it works great with basic HTML. I downloaded and installed the windows installer version of PHP (only a little over a megabyte, seems small?) anyway, when I download a php file from my htdocs folder I get a blank screen. this is the file I am using:
<html>
<head>
<title>PHP Test</title>
</head>
<body>
<?php echo "<p>Hello World</p>"; ?>
</body>
</html>
seems simple enough, but the help file says if I am getting a blank screen, but can right click and view source then it means the the php software did not act upon the file. I am totally new to this stuff so am not sure what to do next. I also downloaded the zip file of PHP and had a look at that folder and it is over 6 megabytes. Do I need to place .dll's or something somewhere? :?:
Back to top View user's profile Send private message
TRUSTAbyss
-


Joined: 29 Oct 2003
Posts: 3752
Location: USA, GA

PostPosted: Sat Nov 15, 2003 10:01 am    Post subject: Reply with quote

Free PHP installation movie! I created this tutorial movie just for you

Edit: Please visit http://abyssunderground.co.uk for movies


Last edited by TRUSTAbyss on Thu Mar 24, 2005 9:15 am; edited 1 time in total
Back to top View user's profile Send private message Visit poster's website
infinia
-


Joined: 15 Nov 2003
Posts: 3

PostPosted: Sat Nov 15, 2003 6:09 pm    Post subject: Reply with quote

Hey thanks for the movie! When I installed PHP it went in just like the movie did, the only exception is that it installed in the default directory of c:\php instead of program files\php I would not think that would make much differance since I pointed the web server to the proper directory. But then again, I am very new to this stuff 8O
Back to top View user's profile Send private message
TRUSTAbyss
-


Joined: 29 Oct 2003
Posts: 3752
Location: USA, GA

PostPosted: Sat Nov 15, 2003 7:33 pm    Post subject: Reply with quote

Glad I can help ! :D
Back to top View user's profile Send private message Visit poster's website
infinia
-


Joined: 15 Nov 2003
Posts: 3

PostPosted: Sun Nov 16, 2003 4:53 am    Post subject: Reply with quote

Ok, I now have PHP installed and it seems to be working just fine, both the HTML and PHP pages on the server will load on my computers at home, I have not gone anywhere else to see if they will work, but I think they will. Now my question is, how hard is it to install GD for images since it was not included in the windows installer? I guess they call it an extension module or something? My site is at: http://n7zmr.no-ip.com:90 It should be on all the time since I have cable modem here.
Back to top View user's profile Send private message
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Sun Nov 16, 2003 9:37 pm    Post subject: Reply with quote

infinia,

Read http://www.aprelium.com/forum/viewtopic.php?t=608 and
http://www.aprelium.com/forum/viewtopic.php?t=871 .
_________________
Support Team
Aprelium - http://www.aprelium.com
Back to top View user's profile Send private message Send e-mail
Hencules
-


Joined: 28 Nov 2003
Posts: 5

PostPosted: Fri Nov 28, 2003 4:56 am    Post subject: Reply with quote

TRUSTpunk wrote:
Free PHP installation movie! I created this tutorial movie just for you

http://os17fan.cjb.net/php.zip [229 KB]

Windows Media Format


I have downloaded and installed AWS(Abyss Web Server) exactly as the instructions said, I have downloaded and installed PHP4.3.4 exactly as the instructions said(including that installation movie) and I have configured AWS exactly as the instructions said but I STILL can't get PHP to work! I have WinME if that matters...PLEASE HELP! I'm going nuts here...! I have done nothing wrong and still... :cry:
Back to top View user's profile Send private message
TRUSTAbyss
-


Joined: 29 Oct 2003
Posts: 3752
Location: USA, GA

PostPosted: Fri Nov 28, 2003 5:57 am    Post subject: Reply with quote

You probably missed a step ! , make sure everything is accurate. 8)
Back to top View user's profile Send private message Visit poster's website
Hencules
-


Joined: 28 Nov 2003
Posts: 5

PostPosted: Fri Nov 28, 2003 1:19 pm    Post subject: Reply with quote

TRUSTpunk wrote:
You probably missed a step ! , make sure everything is accurate. 8)


But I HAVE checked everything - several times - already. What should I do?
Back to top View user's profile Send private message
Trix
-


Joined: 03 Apr 2003
Posts: 33

PostPosted: Fri Nov 28, 2003 6:25 pm    Post subject: Reply with quote

in the cgi parameters r u shure that uve got php NOT .php that was my error any i was rippin my hair out for a couple of weeks because if one flippin' dot!
Back to top View user's profile Send private message
Hencules
-


Joined: 28 Nov 2003
Posts: 5

PostPosted: Fri Nov 28, 2003 7:25 pm    Post subject: Reply with quote

Trix wrote:
in the cgi parameters r u shure that uve got php NOT .php that was my error any i was rippin my hair out for a couple of weeks because if one flippin' dot!


Nope, it's not that either. What else can there be?
Back to top View user's profile Send private message
Moxxnixx
-


Joined: 21 Jun 2003
Posts: 1226
Location: Florida

PostPosted: Fri Nov 28, 2003 8:07 pm    Post subject: Reply with quote

Hencules wrote:
I have downloaded and installed AWS(Abyss Web Server) exactly as the instructions said, I have downloaded and installed PHP4.3.4 exactly as the instructions said(including that installation movie) and I have configured AWS exactly as the instructions said but I STILL can't get PHP to work! I have WinME if that matters...PLEASE HELP! I'm going nuts here...! I have done nothing wrong and still... :cry:
What exactly do you mean "can't get PHP to work"?
Is anything showing on your screen? Are you getting errors? If so, what are they?
Are you naming the files correctly (i.e, *.php)?
More info will help us to help you.

infinia wrote:
Now my question is, how hard is it to install GD for images since it was not included in the windows installer? I guess they call it an extension module or something?
Just download the zip package from the PHP website and take out the php_gd2.dll from it.
Put it in C:\PHP root folder and goto your php.ini file.
Look for ;extension=php_gd2.dll and delete the ";" symbol and save file.
BAM!!! You're done.
Back to top View user's profile Send private message Visit poster's website
Hencules
-


Joined: 28 Nov 2003
Posts: 5

PostPosted: Sat Nov 29, 2003 7:48 pm    Post subject: Reply with quote

Moxxnixx wrote:
What exactly do you mean "can't get PHP to work"?
Is anything showing on your screen? Are you getting errors? If so, what are they?
Are you naming the files correctly (i.e, *.php)?
More info will help us to help you.


I'm getting a white blank screen. I have named the file index.php and this is the code it contains:
<html>
<head>
<title>PHP Test</title>
</head>
<body>
<?php echo "<p>Hello World</p>"; ?>
</body>
</html>
Back to top View user's profile Send private message
Moxxnixx
-


Joined: 21 Jun 2003
Posts: 1226
Location: Florida

PostPosted: Sat Nov 29, 2003 8:39 pm    Post subject: Reply with quote

Ok, go back to that white screen and view source code.
What does it show? Is it the same as above?
If it is, go back to your cgi interpreters (in console) and make sure it's pointing to where you installed PHP.
If you installed it with the default settings, it will be C:\PHP\php.exe.
The instructions on this site are showing C:\Program Files\PHP\php.exe
and I know alot of people like to cut & paste the latter, thinking it's the default.

If that don't work, try uninstalling & reinstalling it.
Back to top View user's profile Send private message Visit poster's website
Hencules
-


Joined: 28 Nov 2003
Posts: 5

PostPosted: Sat Nov 29, 2003 10:32 pm    Post subject: Reply with quote

Moxxnixx wrote:
Ok, go back to that white screen and view source code.
What does it show? Is it the same as above?
If it is, go back to your cgi interpreters (in console) and make sure it's pointing to where you installed PHP.
If you installed it with the default settings, it will be C:\PHP\php.exe.
The instructions on this site are showing C:\Program Files\PHP\php.exe
and I know alot of people like to cut & paste the latter, thinking it's the default.

If that don't work, try uninstalling & reinstalling it.


Hehe, I took a look at my cgi interpreters and for some reason I had both C:\PHP\php.exe AND C:\Program Files\PHP\php.exe so that apparently was the problem. Thanks for all your help, it is much appreciated.
Back to top View user's profile Send private message
tiggerific
-


Joined: 22 Jun 2003
Posts: 1

PostPosted: Mon Dec 01, 2003 4:20 am    Post subject: Reply with quote

I'm unable to get PHP running either. I have double-checked and triple-checked everything. I'm running ABYSS and PHP on a Windows 2000 system. I had it up and running OK on XP a while ago and remember the problem with the Program Files path so this was the first thing I checked, but no luck.

I don't have multiple interpreter entries, everything is exactly "by the book". My php is installed in c:\program files\php and the interpreter points to c:\program files\php\php.exe.

I'm getting the same problem as the above guys - the php is not being processed, i.e. it the php code still appears in the source for the page. Are there any known issues or compatibilities on Win2000? If not, is there someplace else I could check for what might be wrong?

I'm using Abyss Web Server version X1, and PHP 4.3.0 (which is the configuration I was able to get running on XP).

Any help would be gladly appreciated.

Robyn.
Back to top View user's profile Send private message MSN Messenger
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Tue Dec 02, 2003 4:01 am    Post subject: Reply with quote

tiggerific,

Please send your abyss.conf file to support@aprelium.com so that we can check your configuration.
_________________
Support Team
Aprelium - http://www.aprelium.com
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