php-install Digest 6 Mar 2002 08:28:23 -0000 Issue 731
Topics (messages 6259 through 6270):
Re: Postgres 7.2 Support w php 4.12
6259 by: Rasmus Lerdorf
6268 by: Yasuo Ohgaki
install on AIX
6260 by: Shawn
Stupid question
6261 by: Nicholas Mercier
6263 by: Hunter, Ray
6264 by: Grant Johnson
php4apache-eapi.dll / Apache 1.3.22 / ModSSL
6262 by: Eric Roussille
Re: PHP install when apache already installed
6265 by: Shawn
problems with installing PHP
6266 by: sg.ganschow.net
PHP 4.1.2 source corrupt?
6267 by: Tse Wai Kan
lxmltok and sablotron
6269 by: Fil Sapienza
aix oracle apache configure
6270 by: Heiko-B Schmidt
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 ---
Have a look at ext/pgsql/config.m4. It tells you that when you use
--with-pgsql PHP will look in these top-level dirs:
/usr, /usr/local and /usr/local/pgsql
And under these top-level dirs it checks for include files in:
include
include/pgsql
include/postgres
include/postgresql
and library files in
lib
lib/pgsql
lib/postgres
lib/postgresql
If you really do have the ehader files in /usr/local/pgsql/include and the
library files in /usr/local/pgsql/lib and you do a rm config.cache;
./configure --with-pgsql it really should work.
Hrm.. Actually, those dirs were for 4.2. Just checked 4.1.2. We only do
the include checks in 4.1.2 from the same dirs and assume the library is
in the corresponding dir. The effect should be the same. Make sure that
you have the libpq-fe.h in one of these dirs.
-Rasmus
On Tue, 5 Mar 2002, Steve Farmer wrote:
> Hi all,
>
> Going quietly insane here...
>
> Trying to install with postgres
>
> 1) Downloaded and compiled postgres-7.2, all went smoothly, db is running
>
> 2) Compiled php 4.12, "Checking for Postgres support = NO" !!!
>
> 3) added /usr/local/pgsql/lib into ld.so.conf and ran ldconfig.
>
> 4) Tried "with-pgsql=/usr/local/pgsql" - no joy
>
> 5) Tried "with=pgsql=/usr/local/src/postgresql-7.2" - no joy
>
> 6) added symbolic links from /usr/local/pgsql/lib/libpq.so.2.2 to
> /usr/local/lib/libpg.so.2.2 (2.1 & 2) as suggested on php site
>
> Still no go !!!
>
> Any help greatly appreciated
>
> Regards
> Steve
>
>
>
>
> --
> -------------------------------------------------
> "Minds are like parachutes, they work best when open"
> Support free speech; visit http://www.efa.org.au/
>
> Heads Together Systems Pty Ltd http://www.hts.com.au
> Email: [EMAIL PROTECTED] Tel: 612 9982 6767 Fax: 612 9981 3081
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
--- End Message ---
--- Begin Message ---
Steve Farmer wrote:
> Hi all,
>
> Going quietly insane here...
>
> Trying to install with postgres
>
> 1) Downloaded and compiled postgres-7.2, all went smoothly, db is running
>
> 2) Compiled php 4.12, "Checking for Postgres support = NO" !!!
>
> 3) added /usr/local/pgsql/lib into ld.so.conf and ran ldconfig.
>
> 4) Tried "with-pgsql=/usr/local/pgsql" - no joy
>
> 5) Tried "with=pgsql=/usr/local/src/postgresql-7.2" - no joy
>
> 6) added symbolic links from /usr/local/pgsql/lib/libpq.so.2.2 to
> /usr/local/lib/libpg.so.2.2 (2.1 & 2) as suggested on php site
>
> Still no go !!!
>
> Any help greatly appreciated
make install-header (or make install-all-header? I forgot exact
target name) is missing?
--
Yasuo Ohgaki
--- End Message ---
--- Begin Message ---
When I run ./configure, I get this error:
configure: error: can not find sources in . or ..
Ive tried it with arguements like
./configure --with-mysql and get the same error. Any ideas
Im installing it on AIX 4.3.3
--- End Message ---
--- Begin Message ---
Okay I've read through the FAQ and bug reports and the like.
However I've been running into a problem I can't figure out.
After installing php to my Apache Server phpinfo() works find.
However when I try <? include(test.txt) ?> I get the following error.
Warning: Failed opening 'test2.txt' for inclusion (include_path='C:\program
files\apache group\apache\htdocs\') in c:\program files\apache
group\apache\htdocs\test.php on line 3
I have absolutely no clue how to address this issue.
I am running Win2k
I have IIS turned off and apache is working fine.
Any help at all?
Nicholas D. Mercier
SUNY Potsdam
315-267-7593
--- End Message ---
--- Begin Message ---
test.txt needs to be the in the include directory...include_path='C:\program
files\apache group\apache\htdocs\'
Some test.txt is here: C:\program files\apache group\apache\htdocs\test.txt
Ray Hunter
Firmware Engineer
ENTERASYS NETWORKS
-----Original Message-----
From: Nicholas Mercier [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 05, 2002 12:25 PM
To: [EMAIL PROTECTED]
Subject: [PHP-INST] Stupid question
Okay I've read through the FAQ and bug reports and the like.
However I've been running into a problem I can't figure out. After
installing php to my Apache Server phpinfo() works find. However when I try
<? include(test.txt) ?> I get the following error.
Warning: Failed opening 'test2.txt' for inclusion (include_path='C:\program
files\apache group\apache\htdocs\') in c:\program files\apache
group\apache\htdocs\test.php on line 3
I have absolutely no clue how to address this issue.
I am running Win2k
I have IIS turned off and apache is working fine.
Any help at all?
Nicholas D. Mercier
SUNY Potsdam
315-267-7593
--- End Message ---
--- Begin Message ---
It can't find the file test.txt Is it in that dir that you said it is in?
Also, remember that Apache makes things case sensitive, which you may
not be used to in Windows. In fact unless you specifically tell it to
do differently, Windows Explorer shows all upper case names as all lower
case.
Nicholas Mercier wrote:
> Okay I've read through the FAQ and bug reports and the like.
>
> However I've been running into a problem I can't figure out.
> After installing php to my Apache Server phpinfo() works find.
> However when I try <? include(test.txt) ?> I get the following error.
> Warning: Failed opening 'test2.txt' for inclusion
> (include_path='C:\program files\apache group\apache\htdocs\') in
> c:\program files\apache group\apache\htdocs\test.php on line 3
>
> I have absolutely no clue how to address this issue.
>
> I am running Win2k
> I have IIS turned off and apache is working fine.
>
> Any help at all?
> Nicholas D. Mercier
>
> SUNY Potsdam
> 315-267-7593
>
--- End Message ---
--- Begin Message ---
Hello,
My system is WinNT 4.
I try to run Apache 1.3.22 + modSSL + PHP 4.1.1 (from php4Win).
I use php4apache-eapi.dll but I still have the warning message :
"[warn] Loaded DSO php4apache-eapi.dll uses plain Apache 1.3 API, this
module might crash under EAPI! (please recompile it with -DEAPI
)"
Has anybody experienced that kind of problem ?
Thanks for help
--- End Message ---
--- Begin Message ---
I get this error after running this:
./configure --with-mysql --with-apxs=/nim_svr/u01/oracle/product/7.1.7/Apach
e/Apache/bin/abxs
configure: error: can not find source in . or ..
I get that error no matter what the configure options are. I tried it with
out options too. Any ideas?
"T Churchward" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Shaun
>
> If apache is already installed that's okay. The important thing is to
> carefully read the information in the 'INSTALL' file where you unpacked
> PHP - particularly the bit about 'DSO' and testing whether your
installation
> of the web server supports this. If all is okay then you can start your
> build (of PHP) from step number 9 below. BTW the notes comment on using
> mysql as well so have a look at that while you're at it...
>
> good luck
>
>
> Tom Churchward
> Red Logic
> Oracle Support Specialists
>
> Tel: +44 (0) 161 831 9860
> Fax: +44 (0) 161 831 9713
> E-mail: [EMAIL PROTECTED]
> Web: www.redlogic.co.uk
>
>
> -----Original Message-----
> From: Shawn [mailto:[EMAIL PROTECTED]]
> Sent: 28 February 2002 20:20
> To: [EMAIL PROTECTED]
> Subject: [PHP-INST] php install when apache already installed
>
>
> I need to have PHP installed on a AIX 4.3.3 machine that already has
apache
> installed 1.3.20 I believe. the instructions for PHP's website for
> installing as a module seem to assume that you are installing apache at
the
> same time. Do I have to re-compile and install apache to run PHP as a
> module? Here are the instructions I have. If I dont have to re-compile
> apache how do these instructions change?
>
> 1. gunzip apache_xxx.tar.gz
> 2. tar -xvf apache_xxx.tar
> 3. gunzip php-xxx.tar.gz
> 4. tar -xvf php-xxx.tar
> 5. cd apache_xxx
> 6. ./configure --prefix=/www --enable-module=so
> 7. make
> 8. make install
> 9. cd ../php-xxx
> 10. ./configure --with-mysql --with-apxs=/www/bin/apxs
> 11. make
> 12. make install
>
> If you decide to change your configure options after installation
> you only need to repeat the last three steps. You only need to
> restart apache for the new module to take effect. A recompile of
> Apache is not needed.
>
> 11. cp php.ini-dist /usr/local/lib/php.ini
>
> You can edit your .ini file to set PHP options. If
> you prefer this file in another location, use
> --with-config-file-path=/path in step 8.
>
> 12. Edit your httpd.conf or srm.conf file and check that these lines are
> present and not commented out:
>
> AddType application/x-httpd-php .php
>
> LoadModule php4_module libexec/libphp4.so
>
> You can choose any extension you wish here. .php is simply the one
> we suggest. You can even include .html, and .php3 can be added for
> backwards compatibility.
>
> The path on the right hand side of the LoadModule statement must point
> to the path of the PHP module on your system. The above statement is
> correct for the steps shown above.
>
>
> 13. Use your normal procedure for starting the Apache server. (You must
> stop and restart the server, not just cause the server to reload by
> use a HUP or USR1 signal.)
>
>
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--- End Message ---
--- Begin Message ---
Hi,
i've got a problem with compiling PHP 4.1.2 and i don't find any
mistake.
I hope you cold help me!
greetz
Sebastian Ganschow
debug.log:
CONFIGURE: './configure' '--with-apxs=/usr/sbin/apxs'
'--with-adabas=/usr/lib/adabas/aad/v1200'
'--with-pdflib=/usr/src/pdflib-4.0.2' '--enable-shared-pdflib'
'--with-ldap' '--with-ftp' '--enable-safe-mode' '--with-mysql=/usr/'
'--with-gd' '--with-db' '--with-gdbm' '--with-dbm' '--with-ndbm'
CC: gcc
CFLAGS: -g -O2
CPPFLAGS: -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
CXX:
CXXFLAGS:
INCLUDES: -I/usr/include/apache -I$(top_builddir)/Zend
-I/usr//include/mysql -I/usr/lib/adabas/aad/v1200/incl
LDFLAGS: -Wl,-rpath,/usr//lib -L/usr//lib
-Wl,-rpath,/usr/lib/adabas/aad/v1200/lib
-L/usr/lib/adabas/aad/v1200/lib
-Wl,-rpath,/usr/src/php-4.1.2/ext/odbc -L/usr/src/php-4.1.2/ext/odbc
LIBS: -lodbc_adabas -lsqlrte -lsqlptc -lmysqlclient -lldap
-llber -lgd -lgdbm -lcrypt -lresolv -lm -ldl -lnsl -lresolv -lcrypt
DLIBS:
SAPI: apache
PHP_RPATHS: /usr//lib /usr/lib/adabas/aad/v1200/lib
/usr/src/php-4.1.2/ext/odbc
uname -a: Linux saba 2.4.10-4GB #1 Tue Sep 25 12:33:54 GMT 2001
i686 unknown
gcc -o conftest -g -O2 -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 -Wl,-rpath,/usr//lib -L/usr//lib
-Wl,-rpath,/usr/lib/adabas/aad/v1200/lib
-L/usr/lib/adabas/aad/v1200/lib
-Wl,-rpath,/usr/src/php-4.1.2/ext/odbc -L/usr/src/php-4.1.2/ext/odbc
conftest.c -lodbc_adabas -lsqlrte -lsqlptc -lmysqlclient -lldap
-llber -lgd -lgdbm -lcrypt -lresolv -lm -ldl -lnsl -lresolv -lcrypt
1>&5
/usr/i486-suse-linux/bin/ld: cannot find -lgd
collect2: ld returned 1 exit status
----------------------------
Sebastian Ganschow
mailto:[EMAIL PROTECTED]
http://board.ganschow.net
--- End Message ---
--- Begin Message ---
I'm having problems installing the PHP 4.1.2 source from php.net on my SuSe
Linux box.
When trying to gunzip the gz tar file, I get an unexpected end of file. Has
the gzip format changed or is the source possibly corrupt?
cksum php-4.1.2.tar.gz
680015074 386626 php-4.1.2.tar.gz
I have had no problems with installing older versions of PHP.
Regards,
Tse-Wai Kan.
RSL COM Deutschland GmbH.
Tel : +49 (0)611 9888820
Fax : +49 (0)611 9888821 / +49 (0)611 9888878
GSM : +49 (0)172 9420888 / +44 (0)705 0028870
E-mail : [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
--- End Message ---
--- Begin Message ---
Greetings. I installed libiconv, js-1 rpms, and sablot0.82 on RHLinux 7.2.
I successfully configured PHP 4.1.2. When I tried MAKE, I got an error 1
message and then another message saying it cannot find -lxmltok. I did a
find / -name lxmltok on my system and it is not anywhere. However, xmltok
exists under my old version of PHP 4.0.6.
Is the lxmltok file supposed to be included with PHP? Expat? or Sablotron?
And does anyone have a suggestion as to how to fix this problem?
Thank you.
Filipp Sapienza
------------------------------------------------------------------------
Archives and info: http://www.gingerall.org/charlie/ga/xml/m_ml.xml
Mailing list maintained by Ginger Alliance
--- End Message ---
--- Begin Message ---
Hello,
probably anybody else had this problem before
and can help me.
My config is php 3.0.18 aix 4.2.1 oracle 7.3.4 apache 1.3.23
$ORACLE_HOME is set.
If I start to run ./configure --with-apache=../$APACHE_DIR \
--with-oracle=$ORACLE_HOME \
it comes up with the following error:
checking whether to include POSIX support... yes
checking whether to include GNU recode support... no
checking whether to enable dmalloc support... no
checking for __dn_skipname in -lbind... (cached) no
creating ./config.status
creating Makefile
sed: Function s%@ORACLE_SHLIBS@%-lclient -lsqlnet -lncr -lsqlnet -lclient -lcommon
-lgeneric -lsqlnet -lncr -lsqlnet -lclient -lcommon -lgeneric -lepc
-lnlsrtl3 -lc3v6 -lcore3 -lnlsrtl3 -lcore3 -lnlsrtl3 -lm -lld -lm cannot
be parsed.
creating build-defs.h
sed: Function s%@ORACLE_SHLIBS@%-lclient -lsqlnet -lncr -lsqlnet -lclient -lcommon
-lgeneric -lsqlnet -lncr -lsqlnet -lclient -lcommon -lgeneric -lepc
-lnlsrtl3 -lc3v6 -lcore3 -lnlsrtl3 -lcore3 -lnlsrtl3 -lm -lld -lm cannot
be parsed.
creating stamp-h
sed: Function s%@ORACLE_SHLIBS@%-lclient -lsqlnet -lncr -lsqlnet -lclient -lcommon
-lgeneric -lsqlnet -lncr -lsqlnet -lclient -lcommon -lgeneric -lepc
-lnlsrtl3 -lc3v6 -lcore3 -lnlsrtl3 -lcore3 -lnlsrtl3 -lm -lld -lm cannot
be parsed.
creating libphp3.module
sed: Function s%@ORACLE_SHLIBS@%-lclient -lsqlnet -lncr -lsqlnet -lclient -lcommon
-lgeneric -lsqlnet -lncr -lsqlnet -lclient -lcommon -lgeneric -lepc
-lnlsrtl3 -lc3v6 -lcore3 -lnlsrtl3 -lcore3 -lnlsrtl3 -lm -lld -lm cannot
be parsed.
creating extra/gd/bdf2gdfont
sed: Function s%@ORACLE_SHLIBS@%-lclient -lsqlnet -lncr -lsqlnet -lclient -lcommon
-lgeneric -lsqlnet -lncr -lsqlnet -lclient -lcommon -lgeneric -lepc
-lnlsrtl3 -lc3v6 -lcore3 -lnlsrtl3 -lcore3 -lnlsrtl3 -lm -lld -lm cannot
be parsed.
creating regex/Makefile
sed: Function s%@ORACLE_SHLIBS@%-lclient -lsqlnet -lncr -lsqlnet -lclient -lcommon
-lgeneric -lsqlnet -lncr -lsqlnet -lclient -lcommon -lgeneric -lepc
-lnlsrtl3 -lc3v6 -lcore3 -lnlsrtl3 -lcore3 -lnlsrtl3 -lm -lld -lm cannot
be parsed.
creating pcrelib/Makefile
sed: Function s%@ORACLE_SHLIBS@%-lclient -lsqlnet -lncr -lsqlnet -lclient -lcommon
-lgeneric -lsqlnet -lncr -lsqlnet -lclient -lcommon -lgeneric -lepc
-lnlsrtl3 -lc3v6 -lcore3 -lnlsrtl3 -lcore3 -lnlsrtl3 -lm -lld -lm cannot
be parsed.
creating dbase/Makefile
sed: Function s%@ORACLE_SHLIBS@%-lclient -lsqlnet -lncr -lsqlnet -lclient -lcommon
-lgeneric -lsqlnet -lncr -lsqlnet -lclient -lcommon -lgeneric -lepc
-lnlsrtl3 -lc3v6 -lcore3 -lnlsrtl3 -lcore3 -lnlsrtl3 -lm -lld -lm cannot
be parsed.
creating config.h
Any ideas (links, suggestions)?
regards
Heiko Schmidt
Tel: 069-910-35881
Email: [EMAIL PROTECTED]
--
Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn
Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben,
informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das
unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet.
This e-mail may contain confidential and/or privileged information. If you are not the
intended recipient (or have received this e-mail in error) please notify the sender
immediately and destroy this e-mail. Any unauthorized copying, disclosure or
distribution of the material in this e-mail is strictly forbidden.
--- End Message ---