php-install Digest 2 Dec 2002 19:41:55 -0000 Issue 1143

Topics (messages 9284 through 9290):

Re: PHP with OCI8 (oracle option) install problem
        9284 by: From Laura

install problems - cannot find httpd.h
        9285 by: From Laura
        9289 by: John Coder

Re: OS X and Curl Issues
        9286 by: Randall Perry
        9287 by: Weston Houghton
        9288 by: Randall Perry

starting with php
        9290 by: marco penca

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 --- Thanks! that worked but it needed the following modification:
./configure --with-oci8 --enable-sigchild

Well, at least I got a successful install. Now I'll see if I can connect to a database!



From: John Coder <[EMAIL PROTECTED]>
To: From Laura <[EMAIL PROTECTED]>
CC: [EMAIL PROTECTED]
Subject: Re: [PHP-INST] PHP with OCI8 (oracle option) install problem
Date: 30 Nov 2002 21:12:21 -0500

On Sat, 2002-11-30 at 19:35, From Laura wrote:
> Hello,
>
> I am trying to install the latest version of php.  I got errors on the
> ./configure --with-oci8=/my/oracle/home/directory.  I have the following
> setup:
> Oracle 8.1.7 for linux
> Apache: 1.3.20-16
> red hat 7.2

You might try
./configure --with-oci8

drop the home directory if you're using php-4.3.0RC2
it seems it comes bundled with supporet for oci8

John Coder



--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

_________________________________________________________________
The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=features/junkmail

--- End Message ---
--- Begin Message --- Hi all, more on my install woes:

1. After attempting to install using:
./configure --with-oci8 --enable-sigchild

2. I restarted my apache web server and tested php. The page was blank.

3. Next, I tried this:
./configure --with-oci8 --enable-sigchild --with-apache=/usr/include/apache
I then get this error: unable to find httpd.h (httpd.h was definitely in that directory)

4. Searched on google finding recommendation to use source directory instead of /usr/include/apache.

5. Did "find /* -name http*" and "find /* -name apache*" and any directories that looked like fair game, I plugged into the configure statement - nothing worked same error, unable to find httpd.h. Does Red Hat rpm-style packages have source directories?

I don't know what to try next. Just venting - but I just hope once I get through the install that php is more friendly than the php-install. There is a pile of my hair on the floor beside me :-) !




From: "From Laura" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
CC: [EMAIL PROTECTED]
Subject: Re: [PHP-INST] PHP with OCI8 (oracle option) install problem
Date: Sun, 01 Dec 2002 17:05:48 -0500

Thanks! that worked but it needed the following modification:
./configure --with-oci8 --enable-sigchild

Well, at least I got a successful install. Now I'll see if I can connect to a database!



From: John Coder <[EMAIL PROTECTED]>
To: From Laura <[EMAIL PROTECTED]>
CC: [EMAIL PROTECTED]
Subject: Re: [PHP-INST] PHP with OCI8 (oracle option) install problem
Date: 30 Nov 2002 21:12:21 -0500

On Sat, 2002-11-30 at 19:35, From Laura wrote:
> Hello,
>
> I am trying to install the latest version of php. I got errors on the
> ./configure --with-oci8=/my/oracle/home/directory. I have the following
> setup:
> Oracle 8.1.7 for linux
> Apache: 1.3.20-16
> red hat 7.2

You might try
./configure --with-oci8

drop the home directory if you're using php-4.3.0RC2
it seems it comes bundled with supporet for oci8

John Coder



--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

_________________________________________________________________
The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=features/junkmail


--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

_________________________________________________________________
Add photos to your messages with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail

--- End Message ---
--- Begin Message ---
On Sun, 2002-12-01 at 19:06, From Laura wrote:
> Hi all, more on my install woes:
> 
> 1. After attempting to install using:
> ./configure --with-oci8 --enable-sigchild
> 
> 2.  I restarted my apache web server and tested php.  The page was blank.
> 
> 3.  Next, I tried this:
> ./configure --with-oci8 --enable-sigchild --with-apache=/usr/include/apache
> I then get this error:  unable to find httpd.h  (httpd.h was definitely in 
> that directory)
> 
> 4.  Searched on google finding recommendation to use source directory 
> instead of /usr/include/apache.
> 
> 5.  Did "find /* -name http*" and "find /* -name apache*" and any 
> directories that looked like fair game, I plugged into the configure 
> statement - nothing worked same error, unable to find httpd.h.  Does Red Hat 
> rpm-style packages have source directories?
> 
> I don't know what to try next.  Just venting - but I just hope once I get 
> through the install that php is more friendly than the php-install.  There 
> is a pile of my hair on the floor beside me :-)  !
> 
Search for src packages of Red Hat apache rpm. What I've done in the
past is install them in /usr/src/packages (mind you this is for SuSE not
RedHat) and then either link or copy all the headers, *.h, files where
you want them to be. 

John Coder

--- End Message ---
--- Begin Message ---
I've got curl 7.10 and am getting the same error on Mac OS 10.2.2 server.
Here's my config:

./configure --with-apxs=/usr/sbin/apxs --with-pgsql --with-xml
--with-openssl=/usr/local/ssl --with-pear --with-curl=/usr/lib/curl


Here's curl:

[systame:local/src/php-4.2.3] randy% /usr/bin/curl -V
curl 7.10 (powerpc-apple-darwin6.2) libcurl/7.10 ipv6 zlib/1.1.3


Here's the error:

checking for CURL support... yes
checking for CURL in default path... found in /usr/local
found in /usr
checking for cURL 7.9 or greater... configure: error: cURL version 7.9 or
later is required to compile php with cURL support

> 
> I'm working on getting the following install working under OS 10.2.2:
> 
> ./configure --prefix=/usr \
> --sysconfdir=/etc \
> --localstatedir=/var \
> --mandir=/usr/share/man \
> --with-apxs=/usr/sbin/apxs \
> --with-mysql \
> --with-gd=/usr/local \
> --with-png-dir=/usr/local \
> --with-zlib-dir=/usr/local \
> --with-jpg-dir=/usr/local \
> --with-freetype-dir=/usr/local \
> --enable-trans-sid \
> --enable-exif \
> --enable-ftp \
> --enable-calendar \
> --with-curl=/usr/lib \
> --with-flatfile \
> --with-ming=/Users/whoughto/src/ming-0.2a \
> --enable-sockets \
> --with-jave=/Library/Java/Home \
> --with-xml
> 
> And Curl keeps throwing me the following error, but as you can see, I
> do indeed have 7.9.8 installed. Any ideas?
> 
> checking for CURL support... yes
> checking for CURL in default path... found in /usr
> checking for cURL 7.9.8 or greater... configure: error: cURL version
> 7.9.8 or later is required to compile php with cURL support
> [user/src/php4rc2] root# curl --help
> curl 7.9.8 (powerpc-apple-darwin5.5) libcurl 7.9.8
> 
> Thanks,
> Wes
> 

-- 
Randall Perry
sysTame

Xserve Web Hosting/Co-location
Website Development/Promotion
Mac Consulting/Sales

http://www.systame.com/


--- End Message ---
--- Begin Message ---
I found two main things that were hampering my install.

1. While I thought I had updated cURL, I believe I may have only upgraded the executable itself the first time, while leaving the libraries themselves at an older version.

2. OS X install cURL with a prefix of /usr, whereas the standard cURL install uses /usr/local. /usr has a higher preference in the compiler/linker's environment path, so it continues to use the old version if you do not change the prefix of the new cURL.

The solution is just to grab the new cURL, then configure and make it. I used a configure of:
./configure --prefix=/usr --with-ssl

Then went ahead with my php install, and everything outside of phpMagick worked great, and that subject is a whole different story.

Good luck,
Wes


On Sunday, December 1, 2002, at 07:31 PM, Randall Perry wrote:

I've got curl 7.10 and am getting the same error on Mac OS 10.2.2 server.
Here's my config:

./configure --with-apxs=/usr/sbin/apxs --with-pgsql --with-xml
--with-openssl=/usr/local/ssl --with-pear --with-curl=/usr/lib/curl


Here's curl:

[systame:local/src/php-4.2.3] randy% /usr/bin/curl -V
curl 7.10 (powerpc-apple-darwin6.2) libcurl/7.10 ipv6 zlib/1.1.3


Here's the error:

checking for CURL support... yes
checking for CURL in default path... found in /usr/local
found in /usr
checking for cURL 7.9 or greater... configure: error: cURL version 7.9 or
later is required to compile php with cURL support

I'm working on getting the following install working under OS 10.2.2:

./configure --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/share/man \
--with-apxs=/usr/sbin/apxs \
--with-mysql \
--with-gd=/usr/local \
--with-png-dir=/usr/local \
--with-zlib-dir=/usr/local \
--with-jpg-dir=/usr/local \
--with-freetype-dir=/usr/local \
--enable-trans-sid \
--enable-exif \
--enable-ftp \
--enable-calendar \
--with-curl=/usr/lib \
--with-flatfile \
--with-ming=/Users/whoughto/src/ming-0.2a \
--enable-sockets \
--with-jave=/Library/Java/Home \
--with-xml

And Curl keeps throwing me the following error, but as you can see, I
do indeed have 7.9.8 installed. Any ideas?

checking for CURL support... yes
checking for CURL in default path... found in /usr
checking for cURL 7.9.8 or greater... configure: error: cURL version
7.9.8 or later is required to compile php with cURL support
[user/src/php4rc2] root# curl --help
curl 7.9.8 (powerpc-apple-darwin5.5) libcurl 7.9.8

Thanks,
Wes

--
Randall Perry
sysTame

Xserve Web Hosting/Co-location
Website Development/Promotion
Mac Consulting/Sales

http://www.systame.com/



--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



--- End Message ---
--- Begin Message ---
Got it working. First I removed every curl binary and library I could find
(had 3 sets, 1 from apple's installation, 1 from my compile, and 1 from a
Fink compile I did).

Then I configured curl to use Apple's paths, made, and installed:

- cd curl-7.10
- ./configure --prefix=/usr
- make
- sudo make install


Then, configure, make php_4.2.3:

- ./configure --with-apxs=/usr/sbin/apxs --with-pgsql --with-xml
  --with-openssl=/usr/local/ssl --with-pear --with-curl=/usr/lib


> I've got curl 7.10 and am getting the same error on Mac OS 10.2.2 server.
> Here's my config:
> 
> ./configure --with-apxs=/usr/sbin/apxs --with-pgsql --with-xml
> --with-openssl=/usr/local/ssl --with-pear --with-curl=/usr/lib/curl
> 
> 
> Here's curl:
> 
> [systame:local/src/php-4.2.3] randy% /usr/bin/curl -V
> curl 7.10 (powerpc-apple-darwin6.2) libcurl/7.10 ipv6 zlib/1.1.3
> 
> 
> Here's the error:
> 
> checking for CURL support... yes
> checking for CURL in default path... found in /usr/local
> found in /usr
> checking for cURL 7.9 or greater... configure: error: cURL version 7.9 or
> later is required to compile php with cURL support
> 

-- 
Randall Perry
sysTame

Xserve Web Hosting/Co-location
Website Development/Promotion
Mac Consulting/Sales

http://www.systame.com/


--- End Message ---
--- Begin Message --- hello, i hope you can help me, maybe is a very simple thing but i dont see it,
i set up several programs in php with mysql. every time i call them my server starts a download instead to show the html page. is this the apache, is this the php, what changes shoul i make?

thanks in advance..
marco

--- End Message ---

Reply via email to