cancel
Showing results for 
Search instead for 
Did you mean: 

browser crash

Former Member
0 Kudos

hi all

i'm using phpeclipse

when i run a code using web browser, browser crashes by giving error

"Referenced memory could not be read"

Plzz help me out

thanks

abhinav, with regards

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

hi

php version : 5.2.1

Former Member
0 Kudos

OK my version is old but still - very strange - I guess I better upgrade anyway

Former Member
0 Kudos

hi Craig

i don't think echo has anything to with this problem

anyway when you do---- echo phpinfo(), a 1 will be echoed at the end of the page

which is return value of phpinfo

bye

abhinav

Former Member
0 Kudos

what PHP version are you running? mine is giving me the full output

Former Member
0 Kudos

hello anton

os: Win XP

browser tried: ie 6.0, mozilla firefox 5.0,

web server: apache 2.0

i am trying to run this script

<?php

phpinfo();

?>

bye

abhinav, with regards

Former Member
0 Kudos

well,

doesn't seem to be browser specific then (btw, firefox 5.0 is pretty cool ) ).

I'd try to eliminate causes step by step:

1. commandline -> change to the script's directory and run path_to_php/php.exe scriptname -> should output a lot of HTML;

2. put the script in apache's document root, configure apache to use PHP, start apache, goto the browser and call http://localhost/(alias)/scriptname -> should show you some info on your PHP installation

3. goto PHPeclipse, configure PHP as interpreter, run the script -> should output a lot of HTML

4. configure PHPeclipse to call http://localhost/(alias)/scriptname as Run Action

just my 2 cents,

anton

Former Member
0 Kudos

should it not be


<?php
echo phpinfo();
?>

gregorw
Active Contributor
0 Kudos

Hi Craig,

no:

<?php
phpinfo();
?>

is correct.

Regards

Gregor

Former Member
0 Kudos

mine just crashed when I did that - but with "echo" it worked.

Former Member
0 Kudos

hi,

how about giving us enough information to have a look at your problem, i.e. OS, browser type and version, webserver type and version any specialities of the script you try to run...

otherwise I think you won't get a useful answer since this is a common windows problem occuring due to a trilion of issues...

regards, anton