php-install Digest 21 Feb 2003 06:40:44 -0000 Issue 1256

Topics (messages 10113 through 10134):

Re: Need libzzip-0.so.10  for php-4.3.1-rbt.rh8.1.i386.rpm Install]
        10113 by: Mitch Pirtle

Re: php 4.3 + bundled gd2 + freetype 2.1.3
        10114 by: Felix Natter

Re: --with-mysql= compile error?
        10115 by: Felix Natter
        10116 by: Felix Natter

Adding Curl to PHP
        10117 by: sardeep choudhary

can't gmake with postgres support
        10118 by: Petre Scheie

Upgrading PHP
        10119 by: Horacio Casatti
        10120 by: Nick Gianakas
        10121 by: Justin Williams

unable to load dynamic library
        10122 by: Leonard Rutkowski

Re: what is the difference between intall as cgi and module
        10123 by: Steve Cayford

Install Question
        10124 by: Robert J. Hanson

php gives Segmentation fault on installation...
        10125 by: Moroni Norin
        10128 by: Brian C. Hill

PHP 4.3.1 Install problems..
        10126 by: Dave

PHP 4.1.1 on Apache 1.22 as CGI
        10127 by: Daniel Pomrehn

Re: fail to compile php 4.3.0
        10129 by: James Sigler
        10130 by: Jeffrey_N_Dyke.Keane.com
        10134 by: Brian C. Hill

PHP filtering in Apache / mod_dav
        10131 by: Lou Picciano

Neither way installs it ....
        10132 by: Cl. Yuri Huitron Alvarado

The specified module could not be found.
        10133 by: N3tX

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 ---
Argh!  Dadgum graphical MUAs!  That's it, I'm going back to PINE.

(resending to list)

-----Forwarded Message-----

From: Mitch Pirtle <[EMAIL PROTECTED]>
To: Pete Mackie <[EMAIL PROTECTED]>
Subject: Re: Need libzzip-0.so.10  for php-4.3.1-rbt.rh8.1.i386.rpm Install
Date: 20 Feb 2003 10:51:29 +0100

On Wed, 2003-02-19 at 21:46, Pete Mackie wrote:
> I downloaded "php-4.3.1-rbt.rh8.1.i386.rpm" from
> http://www.aucs.org/rpmcenter/ only to learn the PHP install requires
> "libzzip-0.so.10" to be pre-installed on Red Hat Linux.
> 
> Can you tell me where to find this library? Is by chance it something
> new to
> RH 8.1 Linux?

http://rpmfind.net says it is part of some wierd zziplib package, which
is not included in any version of RH that I know of...  It looks like it
was built for the RH8.1 beta 3 (called 'phoebe').  I do not see this
package (zziplib) in phoebe *or* rawhide, so it is definitely a non-standard
requirement.

As an FYI, all the packages from rpmcenter that have "rbt" in them mean
that they were contributed from rabbito.org (which seem to focus on
apache 1.3).

If you are using apache 1.3 and still want to use this rpm on RH8, then
go get the srpm instead:

http://www.aucs.org/rpmcenter/details/php-4.3.1-for-apache-1.3.x/php-4.3.1-rbt.rh8.1.src.rpm.html

Drop that baby in /usr/src/redhat/SRPMS.  Then, as root, do:

rpmbuild --rebuild /usr/src/redhat/SRPMS/php-4.3.1-rbt.rh8.1.src.rpm

.. and watch the pretty text scroll by for a while...

When you are done, you will have built your own rpms and put them here:

/usr/src/redhat/RPMS/i386

These will hopefully be built without that weird zziplib requirement. 
Actually, this is the best way to do it, as all the client libraries
will match exactly to your system.  This is how I can use php while
having custom-versions of mysql or postgresql, for example.

If the rpmbuild fails, see if you can respond to the requirements
(should tell you what you need).  If it is too much trouble, then there
are probably too many updates to phoebe to make it work on RH8.

As I am using apache2, I'm gonna wait for the standard php-4.3.1 SRPM
(also from rpmcenter, just probably later this week hopefully).

HTH,

-- Mitch

Attachment: signature.asc
Description: This is a digitally signed message part

--- End Message ---
--- Begin Message ---
[EMAIL PROTECTED] (Felix Natter) writes:

> hi,
> 
> I get these errors when trying to compile php 4.3.0 with the
> included gd and freetype 2.1.3 (I also tried 2.0.2 and 2.1.2):
> 
> /bin/sh libtool --silent --mode=compile gcc -I/root/php-4.3.0/ext/gd/libgd 
>-DHAVE_LIBPNG -DHAVE_LIBFREETYPE -Iext/gd/ -I/root/php-4.3.0/ext/gd/ -DPHP_ATOM_INC 
>-I/root/php-4.3.0/include -I/root/php-4.3.0/main -I/root/php-4.3.0 
>-I/root/php-4.3.0/Zend -I/usr//include -I/usr/include/freetype2 -I/usr/include/mysql 
>-I/root/php-4.3.0/ext/xml/expat  -DEAPI_MM -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 
>-DHARD_SERVER_LIMIT=2048 -DDYNAMIC_MODULE_LIMIT=128 -DLINUX=22 -DMOD_SSL=208104 
>-DEAPI -DUSE_EXPAT -I/root/php-4.3.0/TSRM  -g -O2  -prefer-pic -c 
>/root/php-4.3.0/ext/gd/libgd/gdft.c -o ext/gd/libgd/gdft.lo 
> In file included from /root/php-4.3.0/ext/gd/libgd/gdft.c:50:
> /usr/include/freetype2/freetype/ftglyph.h:86: parse error before `FT_Library'

I found the problem.
FYI: I had a freetype 1.3 rpm lying around and I had to remove this
(or rename /usr/include/freetype to /usr/include/_freetype while
compiling php)

but now I'm having this problem:

[...]
-lmysqlclient -lfreetype -lpng -lz -lz -lcrypt -lresolv -lm -ldl -lnsl -lcrypt  -o 
sapi/cli/php
ext/mysql/php_mysql.lo: In function `zif_mysql_client_encoding':
/root/PHP4_3/php-4.3.1/ext/mysql/php_mysql.c:1077: undefined reference to 
`mysql_character_set_name'
ext/mysql/php_mysql.lo: In function `zif_mysql_real_escape_string':
/root/PHP4_3/php-4.3.1/ext/mysql/php_mysql.c:1671: undefined reference to 
`mysql_real_escape_string'
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1

-- 
Felix Natter
--- End Message ---
--- Begin Message ---
[EMAIL PROTECTED] (Stephen) writes:

> Hrmmmm. This lets php compile but apache still breaks with similar errors.
> Anyone else having this prob?

Yes, I've got this problem, too. Didn't find a solution yet, sorry.

-- 
Felix Natter
--- End Message ---
--- Begin Message ---
[EMAIL PROTECTED] (Stephen) writes:

> Hrmmmm. This lets php compile but apache still breaks with similar errors.
> Anyone else having this prob?
> 
> 
> Stephen
> 
> Quoting Stephen <[EMAIL PROTECTED]>:
> 
> > Ummm, duh!
> > To prevent this error use --disable-cli with ./configure
> > 
> > 
> > Regards,
> > Stephen
> > 
> > 
> > Quoting Stephen <[EMAIL PROTECTED]>:
> > 
> > > PHP 4.3.0
> > > Linux 2.2.21
> > > --with-mysql=/usr/local/mysql seems to be generating this compile
> > > error:
> > > 
> > > 
> > > ext/mysql/php_mysql.o: In function `zif_mysql_client_encoding':
> > > /usr/src/php-4.3.0/ext/mysql/php_mysql.c:1077: undefined reference to
> > 
> > > `mysql_character_set_name'
> > > ext/mysql/php_mysql.o: In function `zif_mysql_real_escape_string':
> > > /usr/src/php-4.3.0/ext/mysql/php_mysql.c:1671: undefined reference to
> > 
> > > `mysql_real_escape_string'
> > > collect2: ld returned 1 exit status
> > > make: *** [sapi/cli/php] Error 1

from http://bugs.php.net/bug.php?id=21327&edit=1 :

[2 Jan 2:45am CST] [EMAIL PROTECTED]

Please do not submit the same bug more than once. An existing
bug report already describes this very problem. Even if you feel
that your issue is somewhat different, the resolution is likely
to be the same. Because of this, we hope you add your comments
to the existing bug instead.

Thank you for your interest in PHP.

Please update your MySQL 3.22 (which isn't supported anymore).

If you can't find a good reason for, read MySQL AB Announcement about
security and vulnerability in versions < 3.23.54a

-- 
Felix Natter
--- End Message ---
--- Begin Message ---
Hello All,

I already have php-4.0.4pl1-9 installed.
It did not have curl. So i installed curl-7.10.3-1

The curl help page at
http://www.php.net/manual/en/ref.curl.php
mentions about libcurl.a file. But there is no such
file after installing curl. Neither there is any
easy.h and curl.h. There are: libcurl.so,
libcurl.so.2, libcurl.so.2.0.2

Can I add the curl support without reinstalling PHP?
I added "extension=libcurl.so" line to php.ini, but i
guess thats not the way. please help.

thanx in advance.
-Sardeep.



________________________________________________________________________
Missed your favourite TV serial last night? Try the new, Yahoo! TV.
       visit http://in.tv.yahoo.com
--- End Message ---
--- Begin Message --- I'm trying to install php 4.3.0 on an HP-UX box where we already have postgres running. Running 'configure --with-postgres=/pgsql --with-apxs=/usr/local/apache/bin/apxs' seems to run fine, but when I run gmake I get the following:

--snip--

/bin/sh libtool --silent --mode=compile gcc -Iext/pgsql/ -I/users/pscheie/php-4.3.0/ext/pgsql/ -DPHP_ATOM_INC -I/users/pscheie/php-4.3.0/include -I/users/pscheie/php-4.3.0/main -I/users/pscheie/php-4.3.0 -I/users/pscheie/php-4.3.0/Zend -I/pgsql/include -I/users/pscheie/php-4.3.0/ext/xml/expat -DHPUX11 -DUSE_HSREGEX -I/users/pscheie/php-4.3.0/TSRM -g -O2 -prefer-pic -c /users/pscheie/php-4.3.0/ext/pgsql/pgsql.c -o ext/pgsql/pgsql.lo
In file included from /users/pscheie/php-4.3.0/ext/pgsql/pgsql.c:38:
/users/pscheie/php-4.3.0/ext/pgsql/php_pgsql.h:46:28: libpq/libpq-fs.h: No such file or directory
/users/pscheie/php-4.3.0/ext/pgsql/pgsql.c: In function `zif_pg_lo_create':
/users/pscheie/php-4.3.0/ext/pgsql/pgsql.c:1715: `INV_READ' undeclared (first use in this function)
/users/pscheie/php-4.3.0/ext/pgsql/pgsql.c:1715: (Each undeclared identifier is reported only once
/users/pscheie/php-4.3.0/ext/pgsql/pgsql.c:1715: for each function it appears in.)
/users/pscheie/php-4.3.0/ext/pgsql/pgsql.c:1715: `INV_WRITE' undeclared (first use in this function)
/users/pscheie/php-4.3.0/ext/pgsql/pgsql.c: In function `zif_pg_lo_open':
/users/pscheie/php-4.3.0/ext/pgsql/pgsql.c:1857: `INV_READ' undeclared (first use in this function)
/users/pscheie/php-4.3.0/ext/pgsql/pgsql.c:1859: `INV_WRITE' undeclared (first use in this function)
/users/pscheie/php-4.3.0/ext/pgsql/pgsql.c: In function `php_pgsql_meta_data':
/users/pscheie/php-4.3.0/ext/pgsql/pgsql.c:3085: warning: passing arg 3 of `php_addslashes' from incompatible pointer type
/users/pscheie/php-4.3.0/ext/pgsql/pgsql.c: In function `build_assignment_string':
/users/pscheie/php-4.3.0/ext/pgsql/pgsql.c:4116: warning: passing arg 3 of `zend_hash_get_current_key_ex' from incompatible pointer type
/users/pscheie/php-4.3.0/ext/pgsql/pgsql.c: In function `php_pgsql_result2array':
/users/pscheie/php-4.3.0/ext/pgsql/pgsql.c:4367: warning: passing arg 3 of `php_addslashes' from incompatible pointer type
gmake: *** [ext/pgsql/pgsql.lo] Error 1

--snip--

It looks to me like the problem stems from it not being able to find libpq-fs.h but I have that file in /pgsql/include/libpq. I noticed in the Makefile that there is a 'PGSQL_SHARED_LIBADD = ' field, but twiddling with that didn't seem to make any difference. Any suggestions? TIA.

Petre Scheie

--- End Message ---
--- Begin Message ---
Hi !!!
I have a server working with Apache 1.3.19 and PHP 4.0.6 in Linux RedHat 7.2
I can access the server by Telnet only, coz I'm in Argentina and the server
is in USA...
I don't know too much about installing, or upgrading software under linux,
but I need to upgrade my PHP and cannot make any mistake in this, coz I have
a lot of sites hosted and cannot afford the costs of repair a failed
upgrade...
Someone could teach me how can i upgrade my php maintaining my current
configuration (and maybe how can I add a module like GD) ?
Thanks...

----------------------------------------------------------------------------
----
Horacio E. Casatti
Diseño y Programación
Latinmedia Internet
E-mail: [EMAIL PROTECTED]
ICQ #: 37001148
MSN : [EMAIL PROTECTED]
----------------------------------------------------------------------------
----


--- End Message ---
--- Begin Message ---
Are you using the 'default' setup from Red Hat (ie. RPMS)?  If so, I
(also using RH 7.2 ... completely modified at this point) found it
easier to rip everything out (PHP, apache, SSL, mysql, etc) and install
everything by hand (via source).  Although it took me a while (hacking
at it now and again), I learned a lot.

For a system w/ Apache, PHP, and MySQL, the installation order (more or
less; due to dependencies) is:  MySQL, PHP (w/ Apache configured, but
not built), then finally Apache.  So if you want to upgrade only PHP, it
may be difficult depending on your dependencies (do you really want to
use an outdated MySQL and Apache w/ PHP?).

You probably don't want to take this approach if uptime is an issue. 
Unless, of course, you install everything in non-default dirs (like
/usr/local)--then you can setup the new system w/out disturbing the old.

Regards,
Nick


On Thu, 2003-02-20 at 08:55, Horacio Casatti wrote:
> Hi !!!
> I have a server working with Apache 1.3.19 and PHP 4.0.6 in Linux RedHat 7.2
> I can access the server by Telnet only, coz I'm in Argentina and the server
> is in USA...
> I don't know too much about installing, or upgrading software under linux,
> but I need to upgrade my PHP and cannot make any mistake in this, coz I have
> a lot of sites hosted and cannot afford the costs of repair a failed
> upgrade...
> Someone could teach me how can i upgrade my php maintaining my current
> configuration (and maybe how can I add a module like GD) ?
> Thanks...
> 
> ----------------------------------------------------------------------------
> ----
> Horacio E. Casatti
> Diseño y Programación
> Latinmedia Internet
> E-mail: [EMAIL PROTECTED]
> ICQ #: 37001148
> MSN : [EMAIL PROTECTED]
> ----------------------------------------------------------------------------
> ----
> 
> 
--- End Message ---
--- Begin Message ---
GD is part of PHP 4.3.x.  If you can snag an RPM for RedHat (Check
RPMFind.net), that will most likely be the simplest way to upgrade your PHP.
You can do this all via command line, as well, though I am not terribly
knowledgeable about command-line RPMing, to guide you through which options
you should use...

"Horacio Casatti" <[EMAIL PROTECTED]> wrote in message
news:<[EMAIL PROTECTED]>...
> Hi !!!
> I have a server working with Apache 1.3.19 and PHP 4.0.6 in Linux RedHat
7.2
> I can access the server by Telnet only, coz I'm in Argentina and the
server
> is in USA...
> I don't know too much about installing, or upgrading software under linux,
> but I need to upgrade my PHP and cannot make any mistake in this, coz I
have
> a lot of sites hosted and cannot afford the costs of repair a failed
> upgrade...
> Someone could teach me how can i upgrade my php maintaining my current
> configuration (and maybe how can I add a module like GD) ?
> Thanks...
>
> --------------------------------------------------------------------------
--
> ----
> Horacio E. Casatti
> Diseño y Programación
> Latinmedia Internet
> E-mail: [EMAIL PROTECTED]
> ICQ #: 37001148
> MSN : [EMAIL PROTECTED]
> --------------------------------------------------------------------------
--
> ----
>
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>

--- End Message ---
--- Begin Message ---
Hi,
  I am trying to get php version 4.3.0 to work with sybase.  I am using
Apache 2.0 on Win NT 4.0, service pack 6.  I have been able to get PHP to
work with the server, but not with Sybase.  When I bring the server up, I
get this message: 

PHP Warning:  Unknown(): Unable to load dynamic library
'c:\php\extensions\php_sybase_ct.dll' - Access is denied.

I have copied all dll's to the win nt directory, and copied the
php_sybase_ct.dll to the system directory, as well.  My php.ini has:


; Directory in which the loadable extensions (modules) reside.
extension_dir = c:\php\extensions\

extension=php_sybase_ct.dll

My httpd.conf file has:
LoadModule php4_module c:/php/sapi/php4apache2.dll
AddType application/x-httpd-php .php
 
I have checked the archives at php.net and couldn't find anything similar to
this problem.  Any help would be appreciated.

Thanks,
Leonard Rutkowski
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> 

--- End Message ---
--- Begin Message --- Installing as CGI means you get a separate php interpreter (php.exe I think on windows), so you can run php programs without going through the web or needing apache or another web server. A significant downside to this is that php programs which _are_ called via the web server will be slower since a new interpreter will need to be started up to handle each request.

Installing as a module means that the php interpreter is integrated right into the webserver. Web requests are much faster since the php interpreter is already up and running and doesn't need to be restarted for each request, however you can't use it for anything but web requests.

There are also security issues to be mindful of and probably much more that I've glossed over.

You might want to read over this... http://www.php.net/manual/en/installation.php

-Steve

On Wednesday, February 19, 2003, at 06:22 PM, Rubylinda Otero wrote:

hi i just want to know what is the difference betwee installing php as cgi and as apache module...


im just curious coz i use cgi , im using win98se, apache 1.3xx and php 4.3.


pls help,,

Rubylinda F. Otero
Cathay Drug Co., Inc.


--- End Message ---
--- Begin Message ---
Has anyone used this option for compiling PHP with custom ODBC drivers.
I am trying to use a Teradata ODBC driver and have not had any luck
using iODBC.

--with-custom-odbc[=DIR]

                                 Include a user defined ODBC support.
The DIR is ODBC install base directory, which
                                 defaults to /usr/local. Make sure to
define CUSTOM_ODBC_LIBS and have some odbc.h
                                 in your include dirs. E.g., you should
define following for Sybase SQL Anywhere 5.5.00
                                 on QNX, prior to run configure script:
CPPFLAGS="-DODBC_QNX -DSQLANY_BUG"
                                 LDFLAGS=-lunix
CUSTOM_ODBC_LIBS="-ldblib -lodbc".

Any help would be greatly appreciated.

--- End Message ---
--- Begin Message --- I am trying to install php-4.3.1 on a FreeBSD 4.5-STABLE system. The configuration and compilation works just fine...
but when I run make install all hell breaks loose...
this is the result...

server# make install
Installing PHP CLI binary: /usr/local/bin/
Installing PHP SAPI module
[activating module `php4' in /usr/local/apache_1.3.27/conf/httpd.conf]
cp libs/libphp4.so /usr/local/apache_1.3.27/libexec/libphp4.so
chmod 755 /usr/local/apache_1.3.27/libexec/libphp4.so
cp /usr/local/apache_1.3.27/conf/httpd.conf /usr/local/apache_1.3.27/conf/httpd.conf.bak
cp /usr/local/apache_1.3.27/conf/httpd.conf.new /usr/local/apache_1.3.27/conf/httpd.conf
rm /usr/local/apache_1.3.27/conf/httpd.conf.new
Installing shared extensions: /usr/local/lib/php/extensions/no-debug-non-zts-20020429/
Installing PEAR environment: /usr/local/lib/php/
Segmentation fault - core dumped
*** Error code 139

Stop in /home/db/src/php-4.3.1.
*** Error code 1

Stop in /home/db/src/php-4.3.1.

I have used this configuration string

./configure --with-apxs=/usr/local/apache_1.3.27/bin/apxs --enable-ftp --with-gettext --with-xml --with-imap=/root/src/imap --with-mcal=/root/src/libmcal --with-mcrypt --with-ldap --with-db3=/usr/local/BerkeleyDB.3.2 --with-tsrm-pth --with-dom --with-openssl=/usr/local/ssl --with-zlib --enable-static --with-iconv --enable-mbstring --enable-mime-magic --with-mysql=/usr/local

so what can I do about this problem?
/Moroni

--- End Message ---
--- Begin Message ---
        Hi Moroni,

        I had this problem and worked on it for quite a while. The only
way I could get it to compile and run was to leave off the --with-libz
configure option. It 'runs' now, but I still can't squirrelmail to
work. I haven't tested php by itself to see if it really works,
though.

        I am using gcc 3.2 to compile 64-bit binaries on SunOS 5.8.
I am wondering if the gcc/64-bit combo is somehow related. I am
also building in mod_ssl and mod_frontpage, which may also be
related.

        I posted this back to this to increase this subject's
presence on the list's 'radar'. :)

Brian
======================================================================
On Thu, Feb 20, 2003 at 04:30:34PM +0100, Moroni Norin wrote:
> I am trying to install php-4.3.1 on a FreeBSD 4.5-STABLE system. The 
> configuration and compilation works just fine...
> but when I run make install all hell breaks loose...
> this is the result...
> 
> server# make install
> Installing PHP CLI binary:        /usr/local/bin/
> Installing PHP SAPI module
> [activating module `php4' in /usr/local/apache_1.3.27/conf/httpd.conf]
> cp libs/libphp4.so /usr/local/apache_1.3.27/libexec/libphp4.so
> chmod 755 /usr/local/apache_1.3.27/libexec/libphp4.so
> cp /usr/local/apache_1.3.27/conf/httpd.conf 
> /usr/local/apache_1.3.27/conf/httpd.conf.bak
> cp /usr/local/apache_1.3.27/conf/httpd.conf.new 
> /usr/local/apache_1.3.27/conf/httpd.conf
> rm /usr/local/apache_1.3.27/conf/httpd.conf.new
> Installing shared extensions: 
> /usr/local/lib/php/extensions/no-debug-non-zts-20020429/
> Installing PEAR environment:      /usr/local/lib/php/
> Segmentation fault - core dumped
> *** Error code 139
> 
> Stop in /home/db/src/php-4.3.1.
> *** Error code 1
> 
> Stop in /home/db/src/php-4.3.1.
> 
> I have used this configuration string
> 
> ./configure  --with-apxs=/usr/local/apache_1.3.27/bin/apxs --enable-ftp 
> --with-gettext --with-xml --with-imap=/root/src/imap 
> --with-mcal=/root/src/libmcal --with-mcrypt --with-ldap 
> --with-db3=/usr/local/BerkeleyDB.3.2 --with-tsrm-pth --with-dom 
> --with-openssl=/usr/local/ssl --with-zlib --enable-static --with-iconv 
> --enable-mbstring --enable-mime-magic --with-mysql=/usr/local
> 
> so what can I do about this problem?
> /Moroni
> 
> 
> -- 
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php

-- 
   _____________________________________________________________________
  / Brian C. Hill       [EMAIL PROTECTED]          http://brian.bch.net    \
  | Unix Specialist     BCH Technical Services  http://www.bch.net      |
--- End Message ---
--- Begin Message ---
Trying to get 4.3.x to compile.. 4.3.0 doesn't work either..  I can only get
4.2.3 to compile properly.    Help would be appreciated.

run configure with the following options:

./configure --with-mysql --with-xml --enable-track-vars --with-apxs=/usr/loc
al/apache/bin/apxs --enable-versioning --enable-sysvsem --enable-sysvshm --e
nable-sockets --with-gettext --with-imap --with-gd=/usr/local --with-jpeg-di
r=/usr/local --with-png-dir=/usr/local --with-zlib-dir=/usr/local

It doesn't report any errors..

run make and i get the following output:

 make
/bin/sh libtool --silent --mode=compile
gcc  -Iext/zlib/ -I/root/php-4.3.1/ext/zlib/ -DPHP_ATOM_INC -I/root/php-4.3.
1/include -I/root/php-4.3.1/main -I/root/php-4.3.1 -I/root/php-4.3.1/Zend -I
/usr/local/include -I/root/php-4.3.1/ext/xml/expat  -DLINUX=22 -DUSE_HSREGEX
 -I/root/php-4.3.1/TSRM  -g -O2  -prefer-pic -c
/root/php-4.3.1/ext/zlib/zlib.c -o ext/zlib/zlib.lo
In file included from /root/php-4.3.1/Zend/zend.h:59,
                 from /root/php-4.3.1/main/php.h:34,
                 from /root/php-4.3.1/ext/zlib/zlib.c:28:
/usr/local/include/unix.h:182: parse error before `MAILSTREAM'
/usr/local/include/unix.h:182: warning: no semicolon at end of struct or
union
/usr/local/include/unix.h:189: parse error before `}'
/usr/local/include/unix.h:189: warning: data definition has no type or
storage class
...
...




--- End Message ---
--- Begin Message ---
Hello Everybody,

I want to run PHP 4.1.1 as CGI in Apache 1.22 on Suse Linux 7.0
I have installed the Apache Server an PHP with the commands ./configure,
make and make install. But all without prarmeters.
Can somebody tell me how I must configure httpd.conf so that PHP works?
The Apache Webserver works correctly but without PHP

Thank you

Daniel Pomrehn
________________________________
[EMAIL PROTECTED]
http://www.daniel-pomrehn.de


--- End Message ---
--- Begin Message --- I am having the same issue and the sed switch has not resolved the issue. I am unable to determine why the buffer length for the command is not large enough.

Brian C. Hill wrote:
	/usr/bin/sed is busted.

	set your PATH to include /usr/xpg4/bin

	PATH=/usr/xpg4/bin:$PATH

	and start over

Brian
======================================================================
On Wed, Feb 19, 2003 at 08:58:02PM +0000, edwin lin wrote:

Using patches provided by Sun Microsystem, I upgradeed the apache, which came with Solaris 8, to 1.3.26. After successfully ran ./configure --with-mysql --with apxs=/usr/apache/bin/apxs, I ran make. Here is the error message.

make: *** [sapi/cli/php] Error 1
#Output line too long.
Output line too long.
Output line too long.
gcc: TSR: No such file or directory

I got the same error message with make install. What went wrong? Thanks,

Ed





_________________________________________________________________
Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963


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


--- End Message ---
--- Begin Message ---
i'd be curious if you are still using the old(or another bad) sed.  if you
run a 'which sed'  at the command line...do you get the install you're
looking for?  i installed a new version from sunfreeware.com and it solved
the problem immediately.

HTH
jeff


                                                                                       
                             
                    James Sigler                                                       
                             
                    <[EMAIL PROTECTED]       To:     [EMAIL PROTECTED]             
                             
                    tech.edu>            cc:                                           
                             
                                         Subject:     Re: [PHP-INST] fail to compile 
php 4.3.0                      
                    02/20/2003                                                         
                             
                    08:17 PM                                                           
                             
                                                                                       
                             
                                                                                       
                             




I am having the same issue and the sed switch has not resolved the
issue. I am unable to determine why the buffer length for the command is
not large enough.

Brian C. Hill wrote:
>    /usr/bin/sed is busted.
>
>    set your PATH to include /usr/xpg4/bin
>
>    PATH=/usr/xpg4/bin:$PATH
>
>    and start over
>
> Brian
> ======================================================================
> On Wed, Feb 19, 2003 at 08:58:02PM +0000, edwin lin wrote:
>
>>Using patches provided by Sun Microsystem, I upgradeed the apache, which
>>came with Solaris 8, to 1.3.26. After successfully ran ./configure
>>--with-mysql --with apxs=/usr/apache/bin/apxs, I ran make. Here is the
>>error message.
>>
>>make: *** [sapi/cli/php] Error 1
>>#Output line too long.
>>Output line too long.
>>Output line too long.
>>gcc: TSR: No such file or directory
>>
>>I got the same error message with make install. What went wrong? Thanks,
>>
>>Ed
>>
>>
>>
>>
>>
>>_________________________________________________________________
>>Protect your PC - get McAfee.com VirusScan Online
>>http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
>>
>>
>>--
>>PHP Install Mailing List (http://www.php.net/)
>>To unsubscribe, visit: http://www.php.net/unsub.php
>
>


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




--- End Message ---
--- Begin Message ---
        Making sure that you include /usr/xpg4/bin at the
_beginning_ of the PATH, will ensure that xpg4 sed is used,
which works.

Brian
======================================================================
On Thu, Feb 20, 2003 at 03:37:54PM -0500, [EMAIL PROTECTED] wrote:
> 
> i'd be curious if you are still using the old(or another bad) sed.  if you
> run a 'which sed'  at the command line...do you get the install you're
> looking for?  i installed a new version from sunfreeware.com and it solved
> the problem immediately.
> 
> HTH
> jeff
> 
> 
>                                                                                      
>                               
>                     James Sigler                                                     
>                               
>                     <[EMAIL PROTECTED]       To:     [EMAIL PROTECTED]           
>                               
>                     tech.edu>            cc:                                         
>                               
>                                          Subject:     Re: [PHP-INST] fail to compile 
>php 4.3.0                      
>                     02/20/2003                                                       
>                               
>                     08:17 PM                                                         
>                               
>                                                                                      
>                               
>                                                                                      
>                               
> 
> 
> 
> 
> I am having the same issue and the sed switch has not resolved the
> issue. I am unable to determine why the buffer length for the command is
> not large enough.
> 
> Brian C. Hill wrote:
> >    /usr/bin/sed is busted.
> >
> >    set your PATH to include /usr/xpg4/bin
> >
> >    PATH=/usr/xpg4/bin:$PATH
> >
> >    and start over
> >
> > Brian
> > ======================================================================
> > On Wed, Feb 19, 2003 at 08:58:02PM +0000, edwin lin wrote:
> >
> >>Using patches provided by Sun Microsystem, I upgradeed the apache, which
> >>came with Solaris 8, to 1.3.26. After successfully ran ./configure
> >>--with-mysql --with apxs=/usr/apache/bin/apxs, I ran make. Here is the
> >>error message.
> >>
> >>make: *** [sapi/cli/php] Error 1
> >>#Output line too long.
> >>Output line too long.
> >>Output line too long.
> >>gcc: TSR: No such file or directory
> >>
> >>I got the same error message with make install. What went wrong? Thanks,
> >>
> >>Ed
> >>
> >>
> >>
> >>
> >>
> >>_________________________________________________________________
> >>Protect your PC - get McAfee.com VirusScan Online
> >>http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
> >>
> >>
> >>--
> >>PHP Install Mailing List (http://www.php.net/)
> >>To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
> 
> 
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
> 
> 
> 
> 
> -- 
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php

-- 
   _____________________________________________________________________
  / Brian C. Hill       [EMAIL PROTECTED]          http://brian.bch.net    \
  | Unix Specialist     BCH Technical Services  http://www.bch.net      |
--- End Message ---
--- Begin Message ---
Dear List Friends:

A question regarding php (4.3), Apache (2.0.44) and mod_dav:

We have the above setup ­ working AOK ­ using Apache 2¹s Œfiltering¹
mechanism to handle php processing (we¹ve been talking about this elsewhere
on this list)

Commands in http.conf are:

<Files *.php>
   SetOutputFilter php
   SetInputFilter php
</Files>

DAV is ON for (a given) directory, and the DAV setup in general works well
for the range of clients we are using, except for...

The Problem:  In connecting to the site from a DAV client, any php files are
Œprocessed¹ before coming over, as would be the case in a Œnormally-browsed¹
setting.  Other files copy over directly, as would be expected.

Response from HTTP is Œ200¹ when a DAV client attempts to ŒGET¹ a .php file
- which is actually an Œeverything worked OK¹ message.

Within the DAV <Directory> context, we¹ve tried the RemoveOutputFilter php
and RemoveType php commands, with no luck.

Has anyone run into this?  Probably so simple you¹ve all seen it already...

Lou Picciano
Essex Systems
--- End Message ---
--- Begin Message ---
Hi list! 

I've been trying to install php 4.3.1 on Solaris 8, at the configure time, it 
displays :
checking for Apache 1.x module support via DSO through APXS...

Sorry, I was not able to successfully run APXS.  Possible reasons:

1.  Perl is not installed;
2.  Apache was not compiled with DSO support (--enable-module=so);
3.  'apxs' is not in your path.  Try to use --with-apxs=/path/to/apxs
The output of /usr/local/apache/bin/apxs follows
apxs:Error: Sorry, no shared object support for Apache
apxs:Error: available under your platform. Make sure
apxs:Error: the Apache module mod_so is compiled into
apxs:Error: your server binary `/usr/local/apache/bin/httpd'.
configure: error: Aborting

although apxs it's installed on /usr/local/apache/bin, and I specified :
./configure --with-apxs=/usr/local/apache/bin/apxs --with-config-file-
path=/usr/local/apache/conf

and the other way I tryied was :

./configure --with-apache=../../apache/apache_1.3.27 --enable-track-vars


it configures ok, but returns the next message on the make step :

....more lines....nd/zend_constants.lo Zend/zend_dynamic_array.lo 
Zend/zend_execute_API.lo Zend/zend_highlight.lo Zend/zend_llist.lo 
Zend/zend_opcode.lo Zend/zend_operators.lo Zend/zend_ptr_stack.lo 
Zend/zend_stack.lo Zend/zend_variables.lo Zend/zend.lo Zend/zend_API.lo 
Zend/zend_extensions.lo Zend/zend_hash.lo Zend/zend_list.lo Zend/zend_indent.lo 
Zend/zend_builtin_functions.lo Zend/zend_sprintf.lo Zend/zend_ini.lo 
Zend/zend_qsort.lo Zend/zend_multibyte.lo Zend/zend_execute.lo 
sapi/cli/php_cli.lo sapi/cli/getopt.lo main/internal_functions_cli.lo -lcrypt -
lresolv -lm -ldl -lnsl -lsocket -lgcc -lcrypt  -o sapi/cli/php
Output line too long.
Output line too long.
Output line too long.
gcc: main/php_ini: No such file or directory
make: *** [sapi/cli/php] Error 1

What can be happening ?



****************************************************************

      Yuri Huitrón Alvarado
Administrador de Servicios de Internet
 Universidad Autónoma de Coahuila

***************************************************************
La vida puede ser grandiosa con la gente indicada.
-------------------------------------------------------
El problema de saber lo que quieres es que tienes que tenerlo.
-------------------------------------------------------
Tu cuerpo esta muerto, no tu mente 
------
--- End Message ---
--- Begin Message ---
I have installed it the ISAPI module way .. but i dont know which module it
cant find ? i have test page with this string: <?php echo "<p>Hello
World</p>"; ?>
but i still get this error: "The specified module could not be found".
I have tried for like 3 days now .. and now i dont have no more clues so i
need some help ..

/N3tX


--- End Message ---

Reply via email to