Re: [EMAIL PROTECTED] Php not running

2007-10-29 Thread Dragon

Vishal Gaurav wrote:

Hello,
Now i am able to use this test script. 
but not

if i remove space in this line  then 
aple to see thisisphpline.

But If i donot remove the space nothing is displayed by browser,
How can i fix it.


 End original message. -

As I mentioned in my earlier reply, you have to find out what the 
error message is. By default, when an error occurs in PHP it logs the 
error in the Apache error log and does not display anything in the browser.


Until you find out what the error is nobody can help you. You either 
have to examine the server error log or reconfigure PHP to display 
erros in the browser.


Even then it seems from your description that this is a PHP internal 
problem or configuration error. If it is, you will get better support 
from a PHP forum and/or the documentation for PHP which you can 
access from http://www.php.net/


I will specifically point out that http://www.php.net/support.php is 
where you should start.


Dragon

~~~
 Venimus, Saltavimus, Bibimus (et naribus canium capti sumus)
~~~


-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
  "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [EMAIL PROTECTED] Php not running

2007-10-29 Thread Vishal Gaurav
Yes i am useing this way to test scripts.

On 10/30/07, Ken Robinson <[EMAIL PROTECTED]> wrote:
>
> On 10/29/07, Vishal Gaurav <[EMAIL PROTECTED]> wrote:
> > Hello,
> > Now i am able to use this test script. 
> > but not
> > 
> > if i remove space in this line  then aple
> to
> > see thisisphpline.
> > But If i donot remove the space nothing is displayed by browser,
> > How can i fix it.
>
> How are you invoking your script, i.e. what are you typing in the
> browsers address box?
>
> It needs to be http://localhost/path/to/your/script.php
>
> Ken
>
> -
> The official User-To-User support forum of the Apache HTTP Server Project.
> See http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: [EMAIL PROTECTED]
>   "   from the digest: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
Vishal Gaurav


Re: [EMAIL PROTECTED] Php not running

2007-10-29 Thread Ken Robinson
On 10/29/07, Vishal Gaurav <[EMAIL PROTECTED]> wrote:
> Hello,
> Now i am able to use this test script. 
> but not
> 
> if i remove space in this line  then aple to
> see thisisphpline.
> But If i donot remove the space nothing is displayed by browser,
> How can i fix it.

How are you invoking your script, i.e. what are you typing in the
browsers address box?

It needs to be http://localhost/path/to/your/script.php

Ken

-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [EMAIL PROTECTED] Php not running

2007-10-29 Thread Vishal Gaurav
Hello,
Now i am able to use this test script. 
but not

if i remove space in this line  then aple to
see thisisphpline.
But If i donot remove the space nothing is displayed by browser,
How can i fix it.

Thanks,
Vishal
[EMAIL PROTECTED]
[EMAIL PROTECTED]


On 10/29/07, Dragon <[EMAIL PROTECTED]> wrote:
>
> Vishal Gaurav wrote:
> >Hi,
> >Thanks for your suggestion. Yes i am save the file as .php . I am
> >able to get info to use this script in php file 
> >and i was also attached the phpinfo out put file in this mail.When i
> >was trying to run this script then browser gives internal server
> >error(500) in title bar.And nothing is displayed in browser. I am
> >successfully install Apache on my machine. And when i try to run
> >http://localhost/ browser displayed its works!
> message.
> >
>  End original message. -
>
> There are only two ways to troubleshoot this, either examine the
> Apache error log or enable error reporting in PHP. Enabling error
> reporting is done in PHP's configuration file. It is disabled by
> default because it is a security risk. If you choose to enable it, be
> sure to turn it off when you get the problem resolved.
>
> Unless this turns out to be an Apache specific configuration issue,
> you may find better assistance on a PHP support forum.
>
> Dragon
>
> ~~~
> Venimus, Saltavimus, Bibimus (et naribus canium capti sumus)
> ~~~
>
>
> -
> The official User-To-User support forum of the Apache HTTP Server Project.
> See http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: [EMAIL PROTECTED]
>   "   from the digest: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
Vishal Gaurav


Re: [EMAIL PROTECTED] Php not running

2007-10-29 Thread Dragon

Vishal Gaurav wrote:

Hi,
Thanks for your suggestion. Yes i am save the file as .php . I am 
able to get info to use this script in php file  
and i was also attached the phpinfo out put file in this mail.When i 
was trying to run this script then browser gives internal server 
error(500) in title bar.And nothing is displayed in browser. I am 
successfully install Apache on my machine. And when i try to run 
http://localhost/ browser displayed its works! message.



 End original message. -

There are only two ways to troubleshoot this, either examine the 
Apache error log or enable error reporting in PHP. Enabling error 
reporting is done in PHP's configuration file. It is disabled by 
default because it is a security risk. If you choose to enable it, be 
sure to turn it off when you get the problem resolved.


Unless this turns out to be an Apache specific configuration issue, 
you may find better assistance on a PHP support forum.


Dragon

~~~
 Venimus, Saltavimus, Bibimus (et naribus canium capti sumus)
~~~


-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
  "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [EMAIL PROTECTED] Php not running

2007-10-29 Thread Vishal Gaurav
Hi,
Thanks for your suggestion. Yes i am save the file as .php . I am able to
get info to use this script in php file  and i was also
attached the phpinfo out put file in this mail.When i was trying to run this
script then browser gives internal server error(500) in title
bar.Andnothing is displayed in browser. I am successfully install
Apache on my
machine. And when i try to run http://localhost/ browser displayed its
works! message.


Thanks,
Vishal
[EMAIL PROTECTED]
[EMAIL PROTECTED]



On 10/29/07, Luis Moreira <[EMAIL PROTECTED]> wrote:
>
>  This syntax works fine.
>
>
>
> When you say you are "not able" what do you mean?
>
> What is the output?
>
> Have you checked your APACHE log files?
>
>
>
> Are you sure you saved the file as .PHP ?
>
>
>
>
>
> *Luis Moreira*
> *Analista*
> *E. S. Informática*
> *Gestão de Sistemas, Qualidade e Produção**
> **Comunicação de Dados e Segurança**
> *Rua Fraternidade Operária 5
> 2799-501 Carnaxide
> Tel: +351 21 416 82 88
> Fax: +351 21 416 80 92
> Email : [EMAIL PROTECTED]
> URL: http://www.esi.pt
>
>
>  --
>
> *From:* Vishal Gaurav [mailto:[EMAIL PROTECTED]
> *Sent:* segunda-feira, 29 de Outubro de 2007 13:08
> *To:* users@httpd.apache.org
> *Subject:* Re: [EMAIL PROTECTED] Php not running
>
>
>
> Hi,
>
> Yes i am save that file as a .php extension.And i am able to view result
> of 
>
>
>
> Thanks,
>
> Vishal
>
> [EMAIL PROTECTED]
>
> [EMAIL PROTECTED]
>
>
>
> On 10/29/07, *Lester Caine* <[EMAIL PROTECTED]> wrote:
>
> Vishal Gaurav wrote:
> > Hello,
> > I am able to view local host http://localhost/ and able to view php
> > installtion details by use this command on php file
> >  .
>
> > But i am not able to use any other php script on my local machine. for
> like
> > 
> > 
> > PHP Test
> > 
> > 
> > This is an HTML line
> > 
> >  > echo "This is a PHP line";
> > phpinfo();
> > ?>
> > 
>
> Are you saving that as a script.php file?
> script.html will not get processed as php
>
> --
> Lester Caine - G8HFL
> -
> Contact - http://home.lsces.co.uk/lsces/wiki/?page=contact
> L.S.Caine Electronic Services - http://home.lsces.co.uk
> MEDW - http://home.lsces.co.uk/ModelEngineersDigitalWorkshop/
> Firebird - http://www.firebirdsql.org/index.php
>
> -
> The official User-To-User support forum of the Apache HTTP Server Project.
> See http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: [EMAIL PROTECTED]
>   "   from the digest: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
>
> --
> Vishal Gaurav
>



-- 
Vishal Gaurav


RE: [EMAIL PROTECTED] Php not running

2007-10-29 Thread Luis Moreira
This syntax works fine.

 

When you say you are “not able” what do you mean?

What is the output?

Have you checked your APACHE log files?

 

Are you sure you saved the file as .PHP ?

 

 

Luis Moreira 
Analista 
E. S. Informática 
Gestão de Sistemas, Qualidade e Produção
Comunicação de Dados e Segurança
Rua Fraternidade Operária 5 
2799-501 Carnaxide 
Tel: +351 21 416 82 88 
Fax: +351 21 416 80 92 
Email :  <mailto:[EMAIL PROTECTED]> [EMAIL PROTECTED] 
URL:  <http://www.esi.pt/> http://www.esi.pt 

 

  _  

From: Vishal Gaurav [mailto:[EMAIL PROTECTED] 
Sent: segunda-feira, 29 de Outubro de 2007 13:08
To: users@httpd.apache.org
Subject: Re: [EMAIL PROTECTED] Php not running

 

Hi,

Yes i am save that file as a .php extension.And i am able to view result of


 

Thanks,

Vishal

[EMAIL PROTECTED]

[EMAIL PROTECTED]

 

On 10/29/07, Lester Caine <[EMAIL PROTECTED]> wrote: 

Vishal Gaurav wrote:
> Hello,
> I am able to view local host http://localhost/ and able to view php
> installtion details by use this command on php file
>  .

> But i am not able to use any other php script on my local machine. for
like
>  
> 
> PHP Test
> 
> 
> This is an HTML line
> 
>  echo "This is a PHP line"; 
> phpinfo();
> ?>
> 

Are you saving that as a script.php file?
script.html will not get processed as php

--
Lester Caine - G8HFL
- 
Contact - http://home.lsces.co.uk/lsces/wiki/?page=contact
L.S.Caine Electronic Services - http://home.lsces.co.uk 
MEDW - http://home.lsces.co.uk/ModelEngineersDigitalWorkshop/
Firebird - http://www.firebirdsql.org/index.php 

-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html>
http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
  "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-- 
Vishal Gaurav 



Re: [EMAIL PROTECTED] Php not running

2007-10-29 Thread Vishal Gaurav
Hi,
Yes i am save that file as a .php extension.And i am able to view result of


Thanks,
Vishal
[EMAIL PROTECTED]
[EMAIL PROTECTED]


On 10/29/07, Lester Caine <[EMAIL PROTECTED]> wrote:
>
> Vishal Gaurav wrote:
> > Hello,
> > I am able to view local host http://localhost/ and able to view php
> > installtion details by use this command on php file
> >  .
>
> > But i am not able to use any other php script on my local machine. for
> like
> > 
> > 
> > PHP Test
> > 
> > 
> > This is an HTML line
> > 
> >  > echo "This is a PHP line";
> > phpinfo();
> > ?>
> > 
>
> Are you saving that as a script.php file?
> script.html will not get processed as php
>
> --
> Lester Caine - G8HFL
> -
> Contact - http://home.lsces.co.uk/lsces/wiki/?page=contact
> L.S.Caine Electronic Services - http://home.lsces.co.uk
> MEDW - http://home.lsces.co.uk/ModelEngineersDigitalWorkshop/
> Firebird - http://www.firebirdsql.org/index.php
>
> -
> The official User-To-User support forum of the Apache HTTP Server Project.
> See http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: [EMAIL PROTECTED]
>   "   from the digest: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
Vishal Gaurav


Re: [EMAIL PROTECTED] Php not running

2007-10-29 Thread Lester Caine

Vishal Gaurav wrote:

Hello,
I am able to view local host http://localhost/ and able to view php 
installtion details by use this command on php file

 .



But i am not able to use any other php script on my local machine. for like


PHP Test


This is an HTML line





Are you saving that as a script.php file?
script.html will not get processed as php

--
Lester Caine - G8HFL
-
Contact - http://home.lsces.co.uk/lsces/wiki/?page=contact
L.S.Caine Electronic Services - http://home.lsces.co.uk
MEDW - http://home.lsces.co.uk/ModelEngineersDigitalWorkshop/
Firebird - http://www.firebirdsql.org/index.php

-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
  "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]