php-install Digest 22 Oct 2002 10:28:36 -0000 Issue 1081

Topics (messages 8872 through 8877):

Solved: compiling Apache 2.x and PHP 4.3.x on Linux
        8872 by: Dan Anderson

Re: php 4.2.3 on appache 1.3.23 on win98se
        8873 by: Dan Anderson

Database connection error
        8874 by: Kenneth McLane

PHP install problem, engine not parsing php files
        8875 by: M. Ben Nicolas

Re: PHP and AIX
        8876 by: Dirk Kastens

Install php,apache with ldap support newbie
        8877 by: John Lazos

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 ---
I wrote up documentation on compiling and installing Apache 2.x and
PHP 4.3.x on Linux.  It is at

http://dan.drydog.com/apache2php.html

Corrections to me, questions to the newsgroup.


-- 
Dan Anderson <[EMAIL PROTECTED]>, San Diego, CA, US

--- End Message ---
--- Begin Message ---
Matthias Baumgart <[EMAIL PROTECTED]> wrote:
> today I installed php 4.2.3 new. in appache is allright, but if I
> enter localhost, this folder isn't empty there ist the file index.php,
> the monitor "file save?" cames.

You are probably missing lines in httpd.conf.
You should have something like this:

        # Add index.php to your DirectoryIndex line:
        DirectoryIndex index.html index.php

        AddType application/x-httpd-php php

Look at some pages explaining how to configure Apache, such as
the "Installation" chapter in the PHP Manual and
"Compiling and Installing" in the Apache Documentation.



-- 
Dan Anderson <[EMAIL PROTECTED]>, San Diego, CA, US

--- End Message ---
--- Begin Message --- Hi, I am trying to set up phpbb on a Winnt 4sp6a server with php4 installed. I also have MySQL 3.2.X installed on the same box. I keep getting the error that "could not connect to the database". No matter what I try. I have created a databaes named "phpbb2". I created a dsn for it called "phpbb". No matter what I enter in the host/dsn box I get the same error. I have tried just the dsn, just the host, combinations of the host/dsn using names and ip addresses. I don't know what I'm missing. Thanks for any suggestions. Ken.

--- End Message ---
--- Begin Message ---
I have attempted to compile and install PHP using the 'Static' method
described in the INSTALL file that comes  with php

php configured with:
./configure --with-mysql --with-pgsql --with-apache=/usr/local/apache/apache
_1.3.22/

php.ini was copied to:
/usr/local/lib/php.ini

I have un-commented in my httpd.conf file:
AddType application/x-httpd-php .php

apache installed in
/usr/local/apache

apache configured with
./configure --prefix=/usr/local/apache/ --activate-module=src/modules/php4/l
ibphp4.a

Apache was already installed and working with mod perl, I just went into
/usr/local/apache/apache_1.3.22  stopped the web server and ran the line
above
(and then make & make install of course)

how can I check to make sure the libphp4 module was activated properly and
that apache is using it?
I see nothing about a php module when I do a httpd -l, it gives me this
Compiled-in modules:
  http_core.c
  .
  .
  .
  mod_perl.c
suexec: disabled; invalid wrapper /usr/local/apache/bin/suexec
do I need to install mod_php?  It doesn't say anything about doing this in
the INSTALL file?

I have mod-perl working with apache (for scoop site) so I don't want to
completely wipe apache and try to  install from scratch using the 'Dynamic'
method described in the php INSTAll file

My system:
uname -a = 'Linux my.host.name  2.4.3-20mdk #1 Sun Apr 15 23:03:10 CEST 2001
i686 unknown'
apache version 1.3.22
php version 4.2.3

My problem is that every time I try to make a request for a php page from a
browser, the 'Download Dialog' box  appears in explorer and the browser
automatically downloads the php file without the server processing the php
code??...

`which php` gives me nothing?
and there is no php binary file in /usr/bin/


--- End Message ---
--- Begin Message ---
Ryan,

install the AIX toolbox rpm package and get the php package
from the IBM site:

http://www-1.ibm.com/servers/aix/products/aixos/linux/download.html

The package only contains the dynamic module.

Dirk


--- End Message ---
--- Begin Message ---
I want to onstall php with ldap support and apache. Are the following steps
ok?

tar -zxvf apache*
cd apache*
./configure --prefix=/var/www --enable module=so
make && make install

tar -zxvf php*
cd php*
./configure --with-mysql --with-ldap --with-apxs=/var/www/bin/apxs
make && make install
cp php.ini-dist /usr/local/lib/php.ini

are these steps enough for the php to support ldap?

Thanks for your time,


__________________________________
John Lazos
Koutoudis Consulting.
L. Amfitheas 70
Tel. +30 (010)  9846880

--- End Message ---

Reply via email to