Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 03-21-2010, 03:11 PM   #1
Registered: Feb 2010
Location: ua
Distribution: Debian
Posts: 35

Rep: Reputation: 16
Something wrong with Apache or php

Something go wrong with php and Apache, at first, the $GLOBALS array is looking like this
    [GLOBALS] => Array
    [_POST] => Array

    [_GET] => Array

    [_COOKIE] => Array

    [_FILES] => Array

Where is $GLOBALS[SERVER] ? And php debugging messages are no more printed in browser? When error occur I get 500 error message in headers and nothing more. I would like to have errors printed in browser again
Before, I installed Mysql and PHP-gd from Debian repository, could it be the problem?
I'm using apache/2.2.9(linux) PHP/5.3.2-1 with Suhosin-Patch according to Header Spy
Old 04-02-2010, 03:34 AM   #2
LQ Newbie
Registered: Dec 2007
Location: UK
Distribution: Slackware 12.1
Posts: 12

Rep: Reputation: 1
I thought the $GLOBALS variable/ array/ whatever was deprecated in PHP 5.x? To activate error reporting you can use
Hope that helps.
Old 04-02-2010, 06:58 AM   #3
Registered: Feb 2010
Location: ua
Distribution: Debian
Posts: 35

Original Poster
Rep: Reputation: 16
the reason was in display_errors var.
Everything good now. Anyway, tanks


errors, php5 apache

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
php/shell script to install mysql,apache and php automatically stranger_6_7 Linux - General 2 08-11-2009 02:07 AM
Please help with Apache Web Server / Apache Tomcat / PHP / Java / PHP-Java Bridge jpmad4it Linux - Server 2 01-05-2009 06:07 AM
Centos 5.2 running Apache 2 and PHP 4 cannot display info.php codenjanod Linux - Server 2 08-19-2008 02:00 AM
installed php and apache yet my php pages dont load ?? jessica_lilly Linux - Software 1 11-13-2007 01:57 AM
php apache or php cgi - php learner rblampain Linux - Security 3 12-17-2004 11:10 PM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 08:04 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration