Jump to content

heeeellpp plz -- need help on phpinfo() function!


dutchmanx

Recommended Posts

I am having problems with the phpinfo() function. Links to the site with this code do not work, typing the address in makes my system instable, but every once in a while when I type it in and I am lucky I actually get to see it. Although that was a little while ago, I havent gotten lucky in a long time. If anybody has an answer for this i would greatly appreciate it. Thanks for ur time.

 

The source code for the page is simply:

<html>

<body>

<?php

phpinfo();

?>

</body>

</html>

Link to comment
Share on other sites

You do not need the HTML tags to view the phpinfo() information, you can just have it like this:

 

[php:1:b727575417]<?php

phpinfo();

?>[/php:1:b727575417]

 

Make sure the doc is in your htdocs folder and then just open it up by having this in your address bar:

 

http://localhost/test.php

 

If the filename is different just make the adjustments as necessary, if the page does not come up make sure that your Apache installation is working:

 

http://localhost/.

 

If nothing comes up then there is a problem with your installation. If Apache 2 is becoming unstable for u, try using Apache 1.3

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.