[ubuntu-za] LAMP vs Web server

Frank Kusel frankk at ansys.co.za
Fri Jul 9 07:46:55 BST 2010


Glad it worked out!

Regards,
Frank

On 2010/07/09 06:24 AM, Darrel wrote:
> Hi Frank, It is 06:15 in the morning and I could not wait to check those
> error logs. Well I realy must thank you because once again I have been
> amazed by Ubuntu/Linux as an OS.
>     I never realised that errors would not necessarily be visible in the
> generated page. The logs from Apache in particular were very helpful.
>     So not only did I sort out the original script but another as well.
> Thank you,
>
> Darrel Letley
>
>
> 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.
>>
>>
>>      
>
>
>    


-- 

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