Re: Re: Php installation
| From: | David Robley | Date: | Sun, 31 Aug 2008 02:17:11 +0000 |
| Subject: | Re: Re: Php installation | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-279121@lists.php.net to get a copy of this message | ||
On Sat, 30 Aug 2008, It flance wrote:
> Hi,
>
> Apache was already installed in my computer. Anyway now i can run php
> scripts without any problem. The problem is just that if a script
> contains database statements like connection to the database server,
> those statements are ignored while run in the browser but they are
> procesed if run from terminal. So i guess this is a configuration
> problem but i have no idea how to fix it.
>
> Thanks
>
> --- On Sat, 8/30/08, David Robley <robleyd@aapt.net.au> wrote:
> > From: David Robley <robleyd@aapt.net.au>
> > Subject: [PHP] Re: Php installation
> > To: php-general@lists.php.net
> > Date: Saturday, August 30, 2008, 7:03 AM
> >
> > It flance wrote:
> > > Hi all,
> > >
> > > I'm using Fedora 8. I installed php, mysql and
> >
> > apache. Now i can run a
> >
> > > script connecting to a database from terminal but not
> >
> > from browser.
> >
> > > Any suggestion?
> >
> > Have you configured apache to process php scripts?
> >
> > See item 14 at
> > http://php.net/manual/en/install.unix.apache2.php
I apologise; I misread your question as not being able to use php through
apache.
I wonder if your php is configured to log errors to a file, rather than
displaying them on the screen when you connect via apache? Check your
apache log files and see if there is something in there that is related.
Cheers
--
David Robley
"Yes, I have read Gulliver's Travels," said Tom swiftly.
Today is Pungenday, the 24th day of Bureaucracy in the YOLD 3174.