[ubuntu-za] LAMP vs Web server

Darrel darrel at celebrationsfs.co.za
Thu Jul 8 16:47:01 BST 2010


Thanks Frank easy enough to check.

Have a good evening.



On Thu, 2010-07-08 at 17:43 +0200, Frank Kusel wrote:
> Check in /var/log/apache2/error.log and in /var/log/mysql.err.
> 
> The errors would not necessarily be visible in the generated page.
> 
> I'm going home, so I can only help you again tomorrow :-(
> 
> Good luck till then.
> 
> Regards,
> Frank
> 
> On 2010/07/08 05:32 PM, Darrel wrote:
> > Ok Frank I am not sure how to check these files,there is also no
> > indication of any errors occuring at all,it just looks as if the php
> > code is not being parsed.
> >
> > On Thu, 2010-07-08 at 16:01 +0200, Frank Kusel wrote:
> >    
> >> Also check your apache and database log files.
> >>
> >> Errors logged there, often indicate quite clearly what the problem is...
> >>
> >> Regards,
> >> Frank
> >>
> >> On 2010/07/08 11:37 AM, Darrel wrote:
> >>      
> >>> Hi All,
> >>> I am not sure whether I should be asking for advice regarding a small
> >>> php script that queries a mysql database on the Ubuntu lists forum but
> >>> here goes :
> >>>
> >>> Attached is the script written using very basic php commands.
> >>> When I run this script on my LAMP server (using 10.04) it works
> >>> fine,however when I load it onto a web server(running Apache) it only
> >>> produces the background colour and headers.It does not show the actual
> >>> data from the db.
> >>>
> >>> I realise that version s of the different components comprising the LAMP
> >>> server may differ but surely using basic php it should not make a
> >>> difference?
> >>>
> >>> Running a different script on the Web server produces the data but I
> >>> don't like the format compared to my "faulty" script.
> >>>
> >>> Darrel Letley
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>        
> >>
> >> -- 
> >>
> >> Frank Kusel
> >> IT Manager
> >>
> >>
> >>
> >>      
> >
> >
> >    
> 
> 
> -- 
> 
> Frank Kusel
> IT Manager
> 
> Phone: +27 12 424 8537
> Mobile: +27 82 824 3524
> 
> ------------------------------------------------------------------------
> ANSYS Logo 	ANSYS Limited
> ansys.co.za <http://www.ansys.co.za> Reg. No. 1987/001222/06
> 
> Phone: +27 12 346 3141 Fax: +27 12 346 3720
> 170 Outeniqua Avenue, Waterkloof Park, Pretoria
> P.O.Box 95361, Waterkloof, 0145, South Africa
> 
> This message (and attachments) is subject to restrictions and a 
> disclaimer. Please refer to ansys.co.za 
> <http://www.ansys.co.za/?page_id=136> or e-mail 
> <mailto:geninfo at ansys.co.za> for full details.
> 
> 





More information about the ubuntu-za mailing list