[ciapug] Apache 2.x and PHP 5 on Windows
Carl Olsen
carl-olsen at mchsi.com
Fri Mar 9 16:27:22 CST 2007
Ah, that is good to know. I installed Apache after installing Zend Studio,
so that option would not have been a choice for me at that time.
Thank you!
-----Original Message-----
From: ciapug-bounces at cialug.org [mailto:ciapug-bounces at cialug.org] On Behalf
Of Tony Bibbs
Sent: Friday, March 09, 2007 4:10 PM
To: ciapug at cialug.org
Subject: Re: [ciapug] Apache 2.x and PHP 5 on Windows
I'm not sure how to do it after the fact. I know during the
installation process you are given the option of using a preinstalled
Apache/PHP combination or the versions Zend Studio bundles in.
--Tony
Carl Olsen wrote:
> Is there a way to configure Zend Studio to use the same versions of Apache
> and PHP I installed?
>
> Carl
>
> -----Original Message-----
> From: ciapug-bounces at cialug.org [mailto:ciapug-bounces at cialug.org] On
Behalf
> Of Tony Bibbs
> Sent: Friday, March 09, 2007 3:23 PM
> To: ciapug at cialug.org
> Subject: Re: [ciapug] Apache 2.x and PHP 5 on Windows
>
> Just a note but I *NEVER* use the PHP nor Apache that comes with Zend
> Studio. It's bad enough they hijack the php.ini regardless.
>
> --Tony
>
> carl-olsen at mchsi.com wrote:
>> Yes, I did try that and it says it's using the same php.ini file I'm
> editing.
>> Configuration File (php.ini) Path C:\WINDOWS\php.ini
>>
>> The strange thing is that I also have Zend Studio and it has its own
built
> in Apache web server and that one displays the errors just fine.
>> -------------- Original message ----------------------
>> From: David Champion <dchampion at visionary.com>
>>> Are you sure it's reading your php.ini?
>>>
>>> Try doing a phpinfo() and check to see if it has the correct path to
>>> your .ini file, and that it reflects your settings.
>>>
>>> -dc
>>>
>>> carl-olsen at mchsi.com wrote:
>>>> Oops. I added the function, but forgot to call it. That actually
> worked and
>>> now I'm getting the error messages.
>>>> Thanks Mike!
>>>>
>>>> Carl
>>>>
>>>> -------------- Original message ----------------------
>>>> From: Mike Parks <mparks at captainjack.com>
>>>>> I have error_reporting off in the php.ini but have a function written
>>>>>
>>>>> function showError($param = E_ALL) {
>>>>> ini_set('display_errors',1);
>>>>> error_reporting($param);
>>>>> }
>>>>>
>>>>> Then I call this when I am troubleshooting
>>>>> I can change $param to what I want
>>>>> showError(E_ALL & ~E_NOTICE);
>>>>> with E_ALL being the default
>>>>>
>>>>> Mike
>>>>>
>>>>> ciapug-request at cialug.org wrote:
>>>>>> Send ciapug mailing list submissions to
>>>>>> ciapug at cialug.org
>>>>>>
>>>>>> To subscribe or unsubscribe via the World Wide Web, visit
>>>>>> http://cialug.org/mailman/listinfo/ciapug
>>>>>> or, via email, send a message with subject or body 'help' to
>>>>>> ciapug-request at cialug.org
>>>>>>
>>>>>> You can reach the person managing the list at
>>>>>> ciapug-owner at cialug.org
>>>>>>
>>>>>> When replying, please edit your Subject line so it is more specific
>>>>>> than "Re: Contents of ciapug digest..."
>>>>>>
>>>>>>
>>>>>> Today's Topics:
>>>>>>
>>>>>> 1. Apache 2.x and PHP 5 on Windows (carl-olsen at mchsi.com)
>>>>>> 2. Re: Apache 2.x and PHP 5 on Windows (David Champion)
>>>>>> 3. Re: Apache 2.x and PHP 5 on Windows (Tony Bibbs)
>>>>>>
>>>>>>
>>>>>>
----------------------------------------------------------------------
>>>>>>
>>>>>> Message: 1
>>>>>> Date: Thu, 08 Mar 2007 17:02:23 +0000
>>>>>> From: carl-olsen at mchsi.com
>>>>>> Subject: [ciapug] Apache 2.x and PHP 5 on Windows
>>>>>> To: ciapug at cialug.org
>>>>>> Message-ID:
>>>>>>
>
<030820071702.2451.45F0419F000A6C7A00000993219791280203010CD2079C080C03BF020
> A9C0
>>>>> 401D3049D0E0C at mchsi.com>
>>>>>>
>>>>>>
>>>>>> I'm not getting any error messages when I deliberately introduce
> errors into
>>>>> my PHP code. I have the php.ini file set to show all errors and
> notices and
>>> the
>>>>> httpd.conf file is set to the location of the php.ini file. I'm
> running
>>> Apache
>>>>> 2.2.x on Windows XP and PHP 5.1.x (Apache/2.2.3 (Win32) PHP/5.1.4).
> Can
>>> anyone
>>>>> tell me why it will not display the errors?
>>>>>> Carl Olsen
>>>>>> Drake University
>>>>>>
>>>>>>
>>>>>> ------------------------------
>>>>>>
>>>>>> Message: 2
>>>>>> Date: Thu, 08 Mar 2007 11:14:29 -0600
>>>>>> From: David Champion <dchampion at visionary.com>
>>>>>> Subject: Re: [ciapug] Apache 2.x and PHP 5 on Windows
>>>>>> To: ciapug at cialug.org
>>>>>> Message-ID: <45F04475.7040508 at visionary.com>
>>>>>> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>>>>>>
>>>>>> carl-olsen at mchsi.com wrote:
>>>>>>
>>>>>>> I'm not getting any error messages when I deliberately introduce
> errors
>>> into
>>>>> my PHP code. I have the php.ini file set to show all errors and
> notices and
>>> the
>>>>> httpd.conf file is set to the location of the php.ini file. I'm
> running
>>> Apache
>>>>> 2.2.x on Windows XP and PHP 5.1.x (Apache/2.2.3 (Win32) PHP/5.1.4).
> Can
>>> anyone
>>>>> tell me why it will not display the errors?
>>>>>>> Carl Olsen
>>>>>>> Drake University
>>>>>>>
>>>>>> What's your php.ini setting? On a development environment you
probably
> want:
>>>>>> error_reporting = E_ALL & ~E_NOTICE
>>>>>>
>>>>>> -dc
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> ------------------------------
>>>>>>
>>>>>> Message: 3
>>>>>> Date: Thu, 08 Mar 2007 11:44:49 -0600
>>>>>> From: Tony Bibbs <tony at tonybibbs.com>
>>>>>> Subject: Re: [ciapug] Apache 2.x and PHP 5 on Windows
>>>>>> To: ciapug at cialug.org
>>>>>> Message-ID: <45F04B91.2040601 at tonybibbs.com>
>>>>>> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>>>>>>
>>>>>> There are a few settings you need:
>>>>>>
>>>>>> error_reporting = E_ALL (and possibly ~E_NOTICE, if you don't want
> them)
>>>>>> display_errors = On
>>>>>>
>>>>>> and the one most people forget:
>>>>>>
>>>>>> log_errors = On
>>>>>>
>>>>>> --Tony
>>>>>>
>>>>>> David Champion wrote:
>>>>>>
>>>>>>> What's your php.ini setting? On a development environment you
> probably
>>>>>>> want:
>>>>>>>
>>>>>>> error_reporting = E_ALL & ~E_NOTICE
>>>>>>>
>>>>>>> -dc
>>>>>>>
>>>>>> ------------------------------
>>>>>>
>>>>>> _______________________________________________
>>>>>> ciapug mailing list
>>>>>> ciapug at cialug.org
>>>>>> http://cialug.org/mailman/listinfo/ciapug
>>>>>>
>>>>>>
>>>>>> End of ciapug Digest, Vol 22, Issue 1
>>>>>> *************************************
>>>>>>
>>>>>>
>>>>> --
>>>>> <><><><><><><><><><><><><><><><><>
>>>>> Mike Parks
>>>>> Captain Jack Communications
>>>>> WebSite Development and Hosting
>>>>> www.captainjack.com
>>>>> Phone: 515-964-8500
>>>>> Fax: 515-964-4685
>>>>>
>>>>
>>>>
>>>>
------------------------------------------------------------------------
>>>>
>>>> Subject:
>>>> Re: Re: [ciapug] Apache 2.x and PHP 5 on Windows
>>>> From:
>>>> Mike Parks <mparks at captainjack.com>
>>>> Date:
>>>> Thu, 8 Mar 2007 18:52:45 +0000
>>>> To:
>>>> ciapug at cialug.org
>>>>
>>>> To:
>>>> ciapug at cialug.org
>>>>
>>>>
>>>> I have error_reporting off in the php.ini but have a function written
>>>>
>>>> function showError($param = E_ALL) {
>>>> ini_set('display_errors',1);
>>>> error_reporting($param);
>>>> }
>>>>
>>>> Then I call this when I am troubleshooting
>>>> I can change $param to what I want
>>>> showError(E_ALL & ~E_NOTICE);
>>>> with E_ALL being the default
>>>>
>>>> Mike
>>>>
>>>> ciapug-request at cialug.org wrote:
>>>>> Send ciapug mailing list submissions to
>>>>> ciapug at cialug.org
>>>>>
>>>>> To subscribe or unsubscribe via the World Wide Web, visit
>>>>> http://cialug.org/mailman/listinfo/ciapug
>>>>> or, via email, send a message with subject or body 'help' to
>>>>> ciapug-request at cialug.org
>>>>>
>>>>> You can reach the person managing the list at
>>>>> ciapug-owner at cialug.org
>>>>>
>>>>> When replying, please edit your Subject line so it is more specific
>>>>> than "Re: Contents of ciapug digest..."
>>>>>
>>>>>
>>>>> Today's Topics:
>>>>>
>>>>> 1. Apache 2.x and PHP 5 on Windows (carl-olsen at mchsi.com)
>>>>> 2. Re: Apache 2.x and PHP 5 on Windows (David Champion)
>>>>> 3. Re: Apache 2.x and PHP 5 on Windows (Tony Bibbs)
>>>>>
>>>>>
>>>>> ----------------------------------------------------------------------
>>>>>
>>>>> Message: 1
>>>>> Date: Thu, 08 Mar 2007 17:02:23 +0000
>>>>> From: carl-olsen at mchsi.com
>>>>> Subject: [ciapug] Apache 2.x and PHP 5 on Windows
>>>>> To: ciapug at cialug.org
>>>>> Message-ID:
>>>>>
>
<030820071702.2451.45F0419F000A6C7A00000993219791280203010CD2079C080C03BF020
> A9C0
>>> 401D3049D0E0C at mchsi.com>
>>>>>
>>>>>
>>>>> I'm not getting any error messages when I deliberately introduce
>>>>> errors into my PHP code. I have the php.ini file set to show all
>>>>> errors and notices and the httpd.conf file is set to the location of
>>>>> the php.ini file. I'm running Apache 2.2.x on Windows XP and PHP
>>>>> 5.1.x (Apache/2.2.3 (Win32) PHP/5.1.4). Can anyone tell me why it
>>>>> will not display the errors?
>>>>>
>>>>> Carl Olsen
>>>>> Drake University
>>>>>
>>>>>
>>>>> ------------------------------
>>>>>
>>>>> Message: 2
>>>>> Date: Thu, 08 Mar 2007 11:14:29 -0600
>>>>> From: David Champion <dchampion at visionary.com>
>>>>> Subject: Re: [ciapug] Apache 2.x and PHP 5 on Windows
>>>>> To: ciapug at cialug.org
>>>>> Message-ID: <45F04475.7040508 at visionary.com>
>>>>> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>>>>>
>>>>> carl-olsen at mchsi.com wrote:
>>>>>
>>>>>> I'm not getting any error messages when I deliberately introduce
>>>>>> errors into my PHP code. I have the php.ini file set to show all
>>>>>> errors and notices and the httpd.conf file is set to the location of
>>>>>> the php.ini file. I'm running Apache 2.2.x on Windows XP and PHP
>>>>>> 5.1.x (Apache/2.2.3 (Win32) PHP/5.1.4). Can anyone tell me why it
>>>>>> will not display the errors?
>>>>>>
>>>>>> Carl Olsen
>>>>>> Drake University
>>>>>>
>>>>> What's your php.ini setting? On a development environment you probably
>>>>> want:
>>>>>
>>>>> error_reporting = E_ALL & ~E_NOTICE
>>>>>
>>>>> -dc
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> ------------------------------
>>>>>
>>>>> Message: 3
>>>>> Date: Thu, 08 Mar 2007 11:44:49 -0600
>>>>> From: Tony Bibbs <tony at tonybibbs.com>
>>>>> Subject: Re: [ciapug] Apache 2.x and PHP 5 on Windows
>>>>> To: ciapug at cialug.org
>>>>> Message-ID: <45F04B91.2040601 at tonybibbs.com>
>>>>> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>>>>>
>>>>> There are a few settings you need:
>>>>>
>>>>> error_reporting = E_ALL (and possibly ~E_NOTICE, if you don't want
> them)
>>>>> display_errors = On
>>>>>
>>>>> and the one most people forget:
>>>>>
>>>>> log_errors = On
>>>>>
>>>>> --Tony
>>>>>
>>>>> David Champion wrote:
>>>>>
>>>>>> What's your php.ini setting? On a development environment you
>>>>>> probably want:
>>>>>>
>>>>>> error_reporting = E_ALL & ~E_NOTICE
>>>>>>
>>>>>> -dc
>>>>>>
>>>>>
>>>>> ------------------------------
>>>>>
>>>>> _______________________________________________
>>>>> ciapug mailing list
>>>>> ciapug at cialug.org
>>>>> http://cialug.org/mailman/listinfo/ciapug
>>>>>
>>>>>
>>>>> End of ciapug Digest, Vol 22, Issue 1
>>>>> *************************************
>>>>>
>>>>>
>>>>
>>>>
------------------------------------------------------------------------
>>>>
>>>> _______________________________________________
>>>> ciapug mailing list
>>>> ciapug at cialug.org
>>>> http://cialug.org/mailman/listinfo/ciapug
>>>>
>>>>
>>>>
------------------------------------------------------------------------
>>>>
>>>> _______________________________________________
>>>> ciapug mailing list
>>>> ciapug at cialug.org
>>>> http://cialug.org/mailman/listinfo/ciapug
>>> _______________________________________________
>>> ciapug mailing list
>>> ciapug at cialug.org
>>> http://cialug.org/mailman/listinfo/ciapug
>>
>> _______________________________________________
>> ciapug mailing list
>> ciapug at cialug.org
>> http://cialug.org/mailman/listinfo/ciapug
> _______________________________________________
> ciapug mailing list
> ciapug at cialug.org
> http://cialug.org/mailman/listinfo/ciapug
>
> _______________________________________________
> ciapug mailing list
> ciapug at cialug.org
> http://cialug.org/mailman/listinfo/ciapug
_______________________________________________
ciapug mailing list
ciapug at cialug.org
http://cialug.org/mailman/listinfo/ciapug
More information about the ciapug
mailing list