View previous topic :: View next topic |
Author |
Message |
Dieu -
Joined: 22 Jun 2004 Posts: 22
|
Posted: Thu Feb 03, 2005 6:48 pm Post subject: Think i have a problem with my PHP |
|
|
i installed Abyss web server and configured it to work using php. When i want to load my default page ( index.php for imagevue ) from a web browser im getting the content of the index.php ... i installed php 4.3.10 everything seems fine till i try to load the file ... its like if php.exe was not being executed when trying to load the page ... heres the content of the index.php
<?php
#########################################################
# #
# Release....: ImageVue.v1.4.PHP.NULL-WDYL #
# Date.......: 01/30/04 #
# Released...: WDYL #
# Protection.: CallHome, License Check, Refferer Links #
# URL........: http://www.imagevuex.com #
# #
#########################################################
$vars = array('popped', 'folder', 'config');
$varstr = '';
foreach ($vars as $var) {
if(isset($_GET[$var]))
{
$vvar=$_GET[$var];
if (strlen ($varstr) > 1 and $vvar != '') $varstr .= '&';
$varstr .= $var . '=' . urlencode($vvar);
}
}
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>ImageVue.v1.4.PHP.NULL-WDYL</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body bgcolor="#ffffff" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td></td>
</tr>
<tr>
<td height="450"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="100%" height="500">
<param name="menu" value="false">
<param name="movie" value="imageVue.swf">
<param name="quality" value="high">
<param name="BGCOLOR" value="#ffffff">
<param name="FLASHVARS" value="<?php echo $varstr; ?>">
<embed src="imageVue.swf" width="100%" height="500" menu="false" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" bgcolor="#ffffff" flashvars="<?php echo $varstr; ?>"></embed></object></td>
</tr>
<tr>
<td></td>
</tr>
</table>
</body>
</html>
Thanks for any help |
|
Back to top |
|
 |
Glitch2082 -
Joined: 02 Dec 2004 Posts: 194
|
Posted: Thu Feb 03, 2005 7:21 pm Post subject: |
|
|
If you don't get a php error, and you just see the php source, you might have the path to the interpreter wrong. _________________ int main() {
cout << "Im Pro Apache";
cin.get();
} |
|
Back to top |
|
 |
Dieu -
Joined: 22 Jun 2004 Posts: 22
|
Posted: Thu Feb 03, 2005 7:29 pm Post subject: |
|
|
interpreter path is : C:\PHP\php.exe
the redirect status is set to 200 with no leading or trailing speces
added index.php in the list ....
still not working ... in did that 3 times before on my computer worked fine ... might try to re-install php but would that be a problem ??
C:\program files\abyss web server = server root
documents patch = upload ( wich is my index.php file to start imagevue gallery. )
as well , is there a specific place to put the php.ini file ???
Thanks |
|
Back to top |
|
 |
mrtdunn -
Joined: 27 Jan 2005 Posts: 16 Location: Joplin,MO
|
Posted: Thu Feb 03, 2005 8:43 pm Post subject: |
|
|
The php.ini file should be in C:/WINDOWS.
_________________________________________________
mrtdunn--"In God We Trust, all others we question." |
|
Back to top |
|
 |
TRUSTAbyss -
Joined: 29 Oct 2003 Posts: 3752 Location: USA, GA
|
Posted: Thu Feb 03, 2005 8:47 pm Post subject: |
|
|
Dieu wrote: | interpreter path is : C:\PHP\php.exe
the redirect status is set to 200 with no leading or trailing speces
added index.php in the list ....
still not working ... in did that 3 times before on my computer worked fine ... might try to re-install php but would that be a problem ??
C:\program files\abyss web server = server root
documents patch = upload ( wich is my index.php file to start imagevue gallery. )
as well , is there a specific place to put the php.ini file ???
Thanks |
Did you add an associated extension for PHP , that could also be it ? |
|
Back to top |
|
 |
Dieu -
Joined: 22 Jun 2004 Posts: 22
|
Posted: Thu Feb 03, 2005 9:23 pm Post subject: |
|
|
i added to mime type application/x-httpd-php php
still nothing and the php.ini is in c:\windows
anything else i shoud try ? |
|
Back to top |
|
 |
olly86 -
Joined: 25 Apr 2003 Posts: 993 Location: Wiltshire, UK
|
Posted: Thu Feb 03, 2005 10:07 pm Post subject: |
|
|
In the Script Paths you should have /*.php _________________ Olly |
|
Back to top |
|
 |
Dieu -
Joined: 22 Jun 2004 Posts: 22
|
Posted: Thu Feb 03, 2005 10:11 pm Post subject: |
|
|
is that in CGI PATH ? if yes i added /*.php and it didnt work |
|
Back to top |
|
 |
olly86 -
Joined: 25 Apr 2003 Posts: 993 Location: Wiltshire, UK
|
Posted: Thu Feb 03, 2005 10:24 pm Post subject: |
|
|
Dieu wrote: | interpreter path is : C:\PHP\php.exe
the redirect status is set to 200 |
is it set to REDIRECT_STATUS or REDIRECT STATUS? the latter will not work, it must have an underscore between the 2 words. _________________ Olly |
|
Back to top |
|
 |
Dieu -
Joined: 22 Jun 2004 Posts: 22
|
Posted: Thu Feb 03, 2005 10:27 pm Post subject: |
|
|
yes it's REDIRECT_STATUS with the underscore... and i`ve checked for leading and trailing spaces nothing so far nothing seem's wrong
you can go check the problem at karmar.no-ip.org |
|
Back to top |
|
 |
TRUSTAbyss -
Joined: 29 Oct 2003 Posts: 3752 Location: USA, GA
|
Posted: Thu Feb 03, 2005 11:40 pm Post subject: |
|
|
Add me to your MSN Messenger , my msn is msn@trustabyss.com |
|
Back to top |
|
 |
Dieu -
Joined: 22 Jun 2004 Posts: 22
|
Posted: Fri Feb 04, 2005 5:10 am Post subject: |
|
|
Thanks dude :) |
|
Back to top |
|
 |
admin Site Admin
Joined: 03 Mar 2002 Posts: 1332
|
Posted: Sat Feb 05, 2005 12:22 pm Post subject: |
|
|
Dieu wrote: | i added to mime type application/x-httpd-php php
still nothing and the php.ini is in c:\windows
anything else i shoud try ? |
Abyss doesn't use this MIME type trick (which is Apache specific.) Please install PHP support "exactly" as explained in http://www.aprelium.com/abyssws/php.html (and there we don't say that you need to change or add any MIME type.) |
|
Back to top |
|
 |
TRUSTAbyss -
Joined: 29 Oct 2003 Posts: 3752 Location: USA, GA
|
Posted: Sat Feb 05, 2005 4:51 pm Post subject: |
|
|
I just wanted to give you guy's an update , the problem is now fixed and the
PHP is working fine , I guess it was an older version of Abyss causing it. v1.1 |
|
Back to top |
|
 |
|