Re: Newbie Question - do I have php installed



Rabel wrote:
On Aug 31, 2:16 pm, ELINTPimp <smsi...@xxxxxxxxx> wrote:
On Aug 31, 2:10 pm, Rabel <Ra...@xxxxxxxxxxxxxxxx> wrote:

I am a beginner to php and our database person told me that I would
have to run some commands on our linux vps before we have php
installed completely but I just did a phpinfo() test and everything
is coming up. But a ftp app that I am working on isnt showing anything
- just a white page. So I am not sure if the problem is somewhere else
or if its because php isnt installed completely. I also ran a
$_SERVER['HTTP_USER_AGENT']; script and that worked. So is there any
way for me to check to see if its completely uploaded?
Thanks,
Randy
if phpinfo() is working, then PHP is good. Your DB guy probably means
you might have to recompile PHP to get the db adapter working, but
that's a guess.

Make sure you have error reporting turned on, so you won't get a white
page if a fatal error occurs. Do this and hit refresh before going on
to my next comment:

You need to post some code for us to tell you what is wrong with it. =)

thanks pimp - Yeah I do have errors on but still nothing so I have to
go over all the stuff with the ftp developer then to make sure its set
up right. I dont even want to get you involved in that part theres to
much to go over. Thanks again.

what I don't understand is how you can write an FTP app in php? Or why you would want to, or what it would be expected to dipslay.

PHP is normally associated with a web server-side scripting system. Not FTP..

On what is the 'white screen' displayed?

If you are actually truying to get php to work on a broser something like

<php?
echo ("<HTML><HEAD></HEAD><BODY>Hello world</BODY></HTML>");
?>
saved as e.g. test.php and invoke as http://myserver/test.php should at least tell you that you have a php enabled web server..

.



Relevant Pages

  • Re: Newbie Question - do I have php installed
    ... have to run some commands on our linux vps before we have php ... But a ftp app that I am working on isnt showing anything ... or if its because php isnt installed completely. ... if phpinfo() is working, then PHP is good. ...
    (comp.lang.php)
  • Re: Newbie Question - do I have php installed
    ... or if its because php isnt installed completely. ... if phpinfo() is working, then PHP is good. ... what I don't understand is how you can write an FTP app in php? ... least tell you that you have a php enabled web server.. ...
    (comp.lang.php)
  • Re: Error reporting
    ... seems that it indeed was my mistake in configuring PHP. ... looking at the output from phpinfo(). ... later in the same file the same settings were set to Off. ... > to the fake function. ...
    (comp.lang.php)
  • PHP XSS exploit in phpinfo()
    ... PHP XSS exploit in phpinfo() by Silent Needle ... int phpinfo ... Outputs a large amount of information about the current state of PHP. ...
    (Bugtraq)
  • Re: phpinfo is not affected by html_errors
    ... about the errors php output for an invalid line... ... > force the output from phpinfo to be either plain text or HTML. ... One is executes as CGI, ...
    (comp.lang.php)