introduction screenshots faq forum blog modules components download
Please use the search function and/or read the FAQ first.

Go to Topic: PreviousNext
Go to: Message ListNew TopicSearchLog InPrint View

Php Script Not Executed - Need Help! O_o



Posted by: Dk
July 19, 2010 07:42PM
Hi, can anybody help me?
I've just installed EasyPHP 5.3.2i on two windows 7 pcs, and in both of them i encountered the same problem.

When i open a php page from local web it shows the page without executing the php script part.
It shows the html part without mind to the php part, for example:

<?php
require("dbmanagement.php");
if(!session_id()) session_start();
if(!session_is_registered(_userid))
{
$_SESSION['source']=$_SERVER['PHP_SELF'];
header("location:login.php");
exit();
}
?>

I've tried in my altervista webspace and it worked well redirecting the page to login.php not showing the control panel.
In all the logs files there aren't any errors and everything is running propely.

Do i miss to config something?
Thanks in advance.

P.s. I've just tried EasyPHP 5.2.10 as well...same!
The only error i found in logs is about favicon:
File does not exist: C:/Program Files/EasyPHP5.2.10/www/favicon.ico



Edited 1 time(s). Last edit at 07/19/2010 08:21PM by Dk.
Options: ReplyQuote
Posted by: Bas
August 04, 2010 02:59PM
Dunno, if you still have the issue but you need to open your websites with localhost.
Just enter 'localhost' into your browsers adress line, not something like C:\programm files\easyphp\somewebsite.php
Options: ReplyQuote
August 22, 2010 12:35AM
My Php script is not executed.

PHP Version 5.3.2

PHP Variables

Variable Value
_REQUEST["to"] phpinfo
_GET["to"] phpinfo
_SERVER["TMP"] C:/Program Files/EasyPHP-5.3.2i/tmp
_SERVER["HTTP_HOST"] 127.0.0.1
_SERVER["HTTP_USER_AGENT"] Mozilla/5.0 (Windows; U; Windows NT 6.0; fr; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8 ( .NET CLR 3.5.30729; .NET4.0C)
_SERVER["HTTP_ACCEPT"] text/html,application/xhtml+xml,application/xml; q=0.9,*/*; q=0.8
_SERVER["HTTP_ACCEPT_LANGUAGE"] fr,fr-fr; q=0.8,en-us; q=0.5,en; q=0.3
_SERVER["HTTP_ACCEPT_ENCODING"] gzip,deflate
_SERVER["HTTP_ACCEPT_CHARSET"] ISO-8859-1,utf-8; q=0.7,*; q=0.7
_SERVER["HTTP_KEEP_ALIVE"] 115
_SERVER["HTTP_CONNECTION"] keep-alive
_SERVER["HTTP_REFERER"] [127.0.0.1]
_SERVER["PATH"] C:\Program Files\Common Files\Microsoft Shared\Windows Live; C:\Windows\system32; C:\Windows; C:\Windows\System32\Wbem; C:\Program Files\ATI Technologies\ATI.ACE\Core-Static; C:\Program Files\Common Files\Roxio Shared\DLLShared; C:\Program Files\Common Files\Roxio Shared\10.0\DLLShared; c:\Program Files\Microsoft SQL Server\90\Tools\binn; C:\Program Files\QuickTime\QTSystem; C:\Program Files\Intel\WiFi\bin; C:\PROGRA~1\IBM\CLIENT~1; C:\PROGRA~1\IBM\CLIENT~1\Shared; C:\PROGRA~1\IBM\CLIENT~1\Emulator; c:\Program Files\Microsoft SQL Server\90\Tools\binn; C:\Windows\System32\WindowsPowerShell\v1.0\; C:\Program Files\Common Files\Microsoft Shared\Windows Live; c:\PHP\php-5; C:\Program Files\MySQL\MySQL Server 5.1\bin; C:\Program Files\Apache Software Foundation\Apache2.2\bin; ; C:\PROGRA~1\EASYPH~1.2I\Apache\bin; C:\PROGRA~1\EASYPH~1.2I\PHP5
_SERVER["SystemRoot"] C:\Windows
_SERVER["COMSPEC"] C:\Windows\system32\cmd.exe
_SERVER["PATHEXT"] .COM; .EXE; .BAT; .CMD; .VBS; .VBE; .JS; .JSE; .WSF; .WSH; .MSC
_SERVER["WINDIR"] C:\Windows
_SERVER["SERVER_SIGNATURE"] no value
_SERVER["SERVER_SOFTWARE"] Apache/2.2.15 (Win32) PHP/5.3.2
_SERVER["SERVER_NAME"] 127.0.0.1
_SERVER["SERVER_ADDR"] 127.0.0.1
_SERVER["SERVER_PORT"] 80
_SERVER["REMOTE_ADDR"] 127.0.0.1
_SERVER["DOCUMENT_ROOT"] C:/Program Files/EasyPHP-5.3.2i/www
_SERVER["SERVER_ADMIN"] admin@localhost
_SERVER["SCRIPT_FILENAME"] C:/Program Files/EasyPHP-5.3.2i/home/index.php
_SERVER["REMOTE_PORT"] 58708
_SERVER["GATEWAY_INTERFACE"] CGI/1.1
_SERVER["SERVER_PROTOCOL"] HTTP/1.1
_SERVER["REQUEST_METHOD"] GET
_SERVER["QUERY_STRING"] to=phpinfo
_SERVER["REQUEST_URI"] /home/index.php?to=phpinfo
_SERVER["SCRIPT_NAME"] /home/index.php
_SERVER["PHP_SELF"] /home/index.php
_SERVER["REQUEST_TIME"] 1282430943
Options: ReplyQuote
Posted by: Ernest
September 08, 2010 05:36PM
please i can't see the debug tmp.html and index.php in WWW file of the EasyPHP 5.3.3 so please help me out now.
Options: ReplyQuote
Posted by: Thierry
September 17, 2010 11:42AM
> C:\Program Files\Apache Software Foundation\Apache2.2\bin

Ca serait pas cet Apache non configuré qui tourne ??


Verifie avec procecp.
Options: ReplyQuote


Go to: Message ListSearchLog In
Your Name: 
Subject: 
Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.