php-install Digest 9 Jun 2002 10:34:06 -0000 Issue 875

Topics (messages 7261 through 7263):

Re: Hurm. Interesting problem.
        7261 by: P. Jourdan

Re: apache 2
        7262 by: Bill Angus

PHP 4.x and Apache 2.x
        7263 by: Victor Fernandes

Administrivia:

To subscribe to the digest, e-mail:
        [EMAIL PROTECTED]

To unsubscribe from the digest, e-mail:
        [EMAIL PROTECTED]

To post to the list, e-mail:
        [EMAIL PROTECTED]


----------------------------------------------------------------------
--- Begin Message ---
At 09:13 PM 6/7/2002 -0400, you wrote:
>I have a FreeBSD system, with apache 1.3.24 on it, and php4.2.1
>
>I have this in my httpd.conf:
>############## PHP 4.2.1 ###################
>AddType application/x-httpd-php .php .phtml .php3

Glenn,
I just looked at my httpd.conf file and found that the default entry is 
quite different.
I'm not sure you can bunch the .php .phtml and .php3 extensions together 
for ....../x-httpd-php. My entries are ....../x-httpd-php .php
and ....../x-httpd-php3 .php3

Could this be the source of your problem?
I tried the same index file as you and had no problem.
Hope this helps.
Phil

>AddType application/x-httpd-php-source .phps
>############################################
>
>And I have a document, index.php in my documentroot.
>
>index.php has:
>
><?php
>phpinfo();
>?>
>
>When I go to open the index.php I get "Document contains no data"
>
>I see nothing in my logs about this... it's really puzzling :(
>
>Any ideas on where I can start looking???
>
>Thanks,
>Glenn
>
>---
>Glenn E. Sieb           See us at NetSec! June 18-19
>System Administrator    Hyatt Embarcadero, San Francisco
>Lumeta Corporation      http://www.lumeta.com/Events/events.html
>+1 732 357-3514 (V)
>+1 732 564-0731 (Fax)
>
>
>--
>PHP Install Mailing List (http://www.php.net/)
>To unsubscribe, visit: http://www.php.net/unsub.php


--- End Message ---
--- Begin Message ---
Gianfranco: I have read conflicting information, but I think
apache2filer.dll may have
been renamed php4apache.dll and is in the C:\PHP\SAPI  subdirectory of the
recent php binaries distribution set. I do not believe it works with Apache2
though. The
apache2 release seems not to work with PHP at all. At least I cannot find
any way
of making the two work together anyway.  I can get PHP working with
OmniHttpd on Windows but not with the latest Apache2 Windows distribution.
So PHP is actually working -- just not with apache.

Bill Angus
http://www.psychtest.com
----- Original Message -----
From: "Gianfranco" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, June 08, 2002 7:01 AM
Subject: [PHP-INST] apache 2


> Where I could download the file apache2filter.dll??
> thank you
> gianfranco
>
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>


--- End Message ---
--- Begin Message ---
I'm trying to setup Apache and PHP (as an apache module), but I'm
having some problems configuring php on the apache configuration
file to allow different parameters for all my virtual hosts.
If I read the php documentation correctly I'm supposed to be
able to set parameters with the php_admin_value directive.
The php module refuses this directive on any location of the
apache configuration file. The error is:
bash-2.03# /etc/init.d/apachectl start
Syntax error on line 1072 of /usr/local/apache2/conf/httpd.conf:
php_admin_value not allowed here
/etc/init.d/apachectl start: httpd could not be started

The module appears to accept the php_value directive but only
for some of the available parameters.

I found some references to the same problem on the archives
by found no solution or reason for the problem.

Any help will be appreciated.

Thanks,

Victor Fernandes
--- End Message ---

Reply via email to