php-install Digest 20 Nov 2001 10:59:32 -0000 Issue 564

Topics (messages 5031 through 5037):

Re: Cannot Find MySQL Header Files
        5031 by: Rasmus Lerdorf
        5032 by: Gabriel Richards

How to configure PHP to use several php.ini under IIS?
        5033 by: Igor Petrov

CGI and Apache install!
        5034 by: David Tandberg-Johansen
        5036 by: Chris Allen

Re: IIS - CGI or ISAPI
        5035 by: Phil Driscoll

Re: Install php4.0.6 with Oracle9i in Linux  Redhat7.2 (Kernel   2.4.9-13)
        5037 by: Jaeck Stephan

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 ---
What are you using?  If the header files are under 
/usr/local/include/mysql and the library files under /usr/local/lib/mysql 
then you should use --with-mysql=/usr/local

-Rasmus

On Mon, 19 Nov 2001, Gabriel Richards wrote:

> I installed MySQL via the RPMs. I installed MySQL, as well as the server,
> client and develop RPMs.
> 
> The PHP RPM doesn't seem to set everything up right, so I've been trying to
> build it from source, but keep getting "Cannot find header files under
> [where I think the header files are]." So, where are the MySQL files its
> looking for?
> 
> Thank you if you can help!
> 
> Gabe
> 
> -----
> Ender Technology
> Websites, Database Applications, Hosting
> (310) 516-7411
> [EMAIL PROTECTED]
> http://www.endertechnology.com/
> 
> 
> 
> 

--- End Message ---
--- Begin Message ---
I don't know what I'm using, nothing is installed under /usr/local, whatever
the RPM does by default is what I'm using.

Oh.....wait!!!! /usr worked!!!! Thank you so much!

Gabe

-----Original Message-----
From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]]
Sent: Monday, November 19, 2001 1:36 PM
To: Gabriel Richards
Cc: PHP Install
Subject: Re: [PHP-INST] Cannot Find MySQL Header Files


What are you using?  If the header files are under
/usr/local/include/mysql and the library files under /usr/local/lib/mysql
then you should use --with-mysql=/usr/local

-Rasmus

On Mon, 19 Nov 2001, Gabriel Richards wrote:

> I installed MySQL via the RPMs. I installed MySQL, as well as the server,
> client and develop RPMs.
>
> The PHP RPM doesn't seem to set everything up right, so I've been trying
to
> build it from source, but keep getting "Cannot find header files under
> [where I think the header files are]." So, where are the MySQL files its
> looking for?
>
> Thank you if you can help!
>
> Gabe
>
> -----
> Ender Technology
> Websites, Database Applications, Hosting
> (310) 516-7411
> [EMAIL PROTECTED]
> http://www.endertechnology.com/
>
>
>
>



--- End Message ---
--- Begin Message ---
Guys. Please help. That's a very important thing.
Command-line parameters are ignored when using PHP as a CGI-module.
What is the problem?


--- End Message ---
--- Begin Message ---
Hello!

I am working on a RH 6.2 box and i try to install and configure PHP 4.0.6 as
CGI and as and Apache module.
I have all the PHP files in /usr/local/install/php-4.0.6
There I try to configure as follows:
#FOR CGI
./configure \
--prefix=/usr/bin \
--with-exec-dir=/usr/bin/php/bin \
--with-mysql=/usr/local
make
make install

#This work ok until i do..

#FOR APACHE
./configure \
--prefix=/usr/local \
--with-apxs=/usr/sbin/apxs \
--with-config-file-path=/etc/httpd/conf \
#AND OTHER CONFIGURATIONS
--with-mysql=/usr/local
make
make install

WHy and how can I do it?

David



--- End Message ---
--- Begin Message ---
david,

If you find out let me know I am trying to do the same thing.

--

"David Tandberg-Johansen" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hello!
>
> I am working on a RH 6.2 box and i try to install and configure PHP 4.0.6
as
> CGI and as and Apache module.
> I have all the PHP files in /usr/local/install/php-4.0.6
> There I try to configure as follows:
> #FOR CGI
> ./configure \
> --prefix=/usr/bin \
> --with-exec-dir=/usr/bin/php/bin \
> --with-mysql=/usr/local
> make
> make install
>
> #This work ok until i do..
>
> #FOR APACHE
> ./configure \
> --prefix=/usr/local \
> --with-apxs=/usr/sbin/apxs \
> --with-config-file-path=/etc/httpd/conf \
> #AND OTHER CONFIGURATIONS
> --with-mysql=/usr/local
> make
> make install
>
> WHy and how can I do it?
>
> David
>
>
>


--- End Message ---
--- Begin Message ---
On Monday 19 November 2001 11:14 am, Lennart Pedersen wrote:
> Hi all.
>
> I'd like to install PHP for IIS5. Should I use the CGI or ISAPI method.
> Whats the difference besides speed.

CGI will work reliably, ISAPI will probably not.
CGI will not have access to the http authentication headers, ISAPI will.

Cheers
-- 
Phil Driscoll
--- End Message ---
--- Begin Message ---
Hello Kexiao,

normally PHP 4.0.6 should work with Oracle 9i (as it works on my Suse 7.2).
Try to use the lib directory of Oracle installation as Oracle_home directory
in the
configure-script (--with-oci8=/path/to/oracle/lib) I did it this way and it
works.

The .so and libs of 9i are the same as 8i just the names have changed, buit
therefore you
used the patch-script 

HTH

Stephan

-----Original Message-----
From: Kexiao Liao [mailto:[EMAIL PROTECTED]]
Sent: Monday, November 19, 2001 3:06 AM
To: Thies C. Arntzen
Cc: Jaeck Stephan; [EMAIL PROTECTED]
Subject: Re: [PHP-INST] Install php4.0.6 with Oracle9i in Linux
Redhat7.2(Kernel 2.4.9-13)


Hi,
    It seems that php4.0.6 cann't support oracle9i on Linux redhat7.2. After
insall/compile php4.0.6 successfully with oracle9i on Linux redhat7.2. The
php
can't communiate with Oracle9i Server. However if we reinstall/recompile
php4.0.6
with oracle8.1.7 on Linux redhat 7.0. The php can talk with Oracle9i Server
without any problems. I wonder if current php OCIlogon function need to be
updated
in order make php 4.0.6 compatible with oracle9i.

Kexiao
--- End Message ---

Reply via email to