Need php help after Core 3 => 4
Dan Coutu
coutu at snowy-owl.com
Thu Jul 7 11:19:00 EDT 2005
Steven W. Orr wrote:
> I have a simple phpinfo.php that still seems to work fine but I have a
> php app that now does nothing. I don't really know php so I don't know
> what to do.
>
> http://frambors.syslang.net/pscal/index.php
>
> When I run it I get a blank screen with no error in the apache logs.
>
> If I'm on my server and say
>
> php < index.php
>
> I get no output.
>
> I did log into mysql and accessed the tables fine.
>
> Any idea? :-(
>
> TIA
>
Debugging PHP can be a royal pain. Check to see if you have an error log
setup on your system.
There should be a php.ini file someplace on your system, /etc is a
common location. Read it to
see where the error log is (if it is setup at all). Then go read that
log file to see what is wrong.
If error logging is not setup then edit the php.ini file to set it up,
re-run your php script, and go
read the error log. That's the easiest way to find out what's going on.
Dan
More information about the gnhlug-discuss
mailing list