News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

[Unknown]'s Guide to Installing PHP and MySQL.

Started by [Unknown], November 16, 2003, 03:40:49 PM

Previous topic - Next topic

babylonking

QuotePlease make sure you're trying this version:
http://unknown.network32.net/tutorial.basic-server

I tried that link and still the same problem. :-\


Typical98

graaa this is so weird. I just wnet over the turotiral for a third time and it still doesnt work.

lol im getting frustrated

[Unknown]

Well, the first problem I see is this:

<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<body>
<?php
phpinfo
();
?>

</body>
</html>


I'm going to guess you did this with Dreamweaver, no?  The code I quoted was for the *source* not just the text on the page... Dreamweaver's not that smart.

Apache is also sending this content type:
Content-Type: application/x-http-php

It shouldn't be if PHP is installed properly... can you try this...?
Start -> Run -> type cmd (Windows 2000, 2003) or command -> OK -> type echo "<?php echo 1;?>" | "c:\php\php.exe".

-[Unknown]

[Unknown]

#63
If it continues to do this, you might try using Apache 2.0.

* [Unknown] is starting to worry that he's going to have to set up a virtual machine to get to the root of this problem.

-[Unknown]

Typical98

says

Contect-type:text/html
x-pwered-br PHP/4.3.4

"1"

Typical98

dont worry about the virtual machine. i dont wont to waste your time. In an house *i have a match to go to * ill uninstal everything and do it again.


babylonking

Quote from: Typical98 on February 08, 2004, 05:46:21 PM
says

Contect-type:text/html
x-pwered-br PHP/4.3.4

"1"

Same message here, I'm running Apache 2.0 ?

babylonking

this fixed the problem   :P

I added "AddType application/x-httpd-php .php" to httpd and it works  :)

Typical98


[Unknown]

Hmmm.... lesson of the day: always copy and paste ;).

-[Unknown]

Tyris

*sigh* what an intertesting fix ^.^
Copy and paste is always the right thing to do in these instances *nods* we told you to copy the istructions exactly ;) :P
well, good that its woring now :)

Typical98


babylonking


[Unknown]

Perl is easy, but it's beyond the scope of my tutorial.  But, just go here:

http://www.activestate.com/Products/ActivePerl/

And click on download ;).

-[Unknown]

babylonking

I need perl to test my gtchat addons in my local server  :)

Thanks [Unknown] .

babylonking

done i installed perl MSWin32 and i was able to run gtchat in my local server.  ;D

[Unknown]

Quote from: babylonking on February 09, 2004, 10:17:13 AM
done i installed perl MSWin32 and i was able to run gtchat in my local server.  ;D

Wait a minute, GTChat works on Windows now?  Since when?

-[Unknown]

babylonking


mikeliketrike

Quote from: Tyris on February 08, 2004, 07:26:13 AM
first thing is restart your apache server... coz if you've updated your http.config since your last restart, then it wont have made the changes...
next, make sure you've made the necesary changes in http.config.
If you've made teh changes it -should- know what to do with the php files
if not, yeah post the parts you edited or something...

*edit*
also, if you've chosen Apache2... then there are several things that wont work... so if you have (doesnt sound like it tho) then let me know, I'll tell you the config changes you need (it uses different files).

I'm running Apache2 and it's attempting to download the file instead of displaying it.  What changes need to be made? 

[Unknown]

Sounds like you haven't edited the conf file completely; you might want to look over this tutorial instead, if you haven't:

http://unknown.network32.net/tutorial.basic-server

If it doesn't work, attaching your configuration files might help.

-[Unknown]

Advertisement: