php-install Digest 16 Jan 2003 15:36:14 -0000 Issue 1204
Topics (messages 9708 through 9713):
Re: PHP with 2 diffrent versions of Apache on same machine
9708 by: Bob Lockie
Re: php from command line
9709 by: Bob Lockie
PHP 4.3.0, can't get CLI to work
9710 by: Brent Meshier
sapi/apache/php.sym: file format not recognized; treating as linker script
9711 by: news.php.net
installing when no access to /usr/local
9712 by: Pradeep Tallogu
make / gmake errors on TRU64 v5.1a
9713 by: Parkin Frank - fparki
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 ---
On 01/15/03 10:18 SuratSingh Bhati spoke thusly
Hi,
I would like to use the Apache2+PHP(latest) , and Apache1.3+PHP(latest)
on same machine.
We can complie the PHP using the APXS as DSO, using diffrent
APXS for each Apache. This will create a sepereate DSO library
for each Apache.
But PHP installs some other files at /usr/local/lib/php , can we keep
commom set of such file for both the Apache version?
Someone had such exprience before?
Any other complication in by using diffrent Apache version with same PHP
version on same server?
Regards,
-Surat
I would just put Apache in different directories.
If you build PHP as a DSO then you specify where it puts the shared
library (libexec for Apache 1.3 and modules for Apache 2 but under their
directories anyways).
--
----------------------------------------
Sent from Mozilla and GNU/Linux.
Powered by an AMD processor.
--- End Message ---
--- Begin Message ---
On 01/15/03 19:51 Pradeep Tallogu spoke thusly
hi all,
i need to try out a few php scripts. do i need to have a webserver installed already to install php. or is there a way i can install php so that i can use it from the command line.
Thanks.
Pradeep.
You don't need a web server.
I think the command line version is the default, read the documentation.
--
----------------------------------------
Sent from Mozilla and GNU/Linux.
Powered by an AMD processor.
--- End Message ---
--- Begin Message ---
I get the following error from the php client:
[bmeshier@martin bmeshier]$ php
HTTP/1.0 0 X
Content-type: text/html
PHP Warning: Unknown(): Unable to load dynamic library
'/usr/lib/php/extensions/imap.so' - /usr/lib/php/extensions/imap.so:
undefined symbol: SSL_library_init in Unknown on line 0
Any ideas?
On a side note, I had to disable -with-mm, was getting a seg fault with
the client although the dso works fine.
On a Mandrake 8.1 box I configured and made using -
./configure --with-apxs --with-mysql=/usr --with-mcrypt=shared
--with-mhash=shared --enable-pic --enable-inline-optimization
--prefix=/usr --with-zlib --with-config-file-path=/etc
--enable-magic-quotes --enable-track-vars --with-exec-dir=/usr/bin
--with-regex=system --enable-trans-sid --with-dbase --with-filepro
--enable-yp --enable-ftp --with-xml=shared --with-gettext
--with-gd=shared,/tmp/gd --with-imap=shared,/tmp/imap-2002b
--with-pdflib=shared --with-snmp --with-tiff-dir=/usr
--with-jpeg-dir=/usr --with-png-dir=/usr --with-zlib-dir=/usr
--with-openssl=/usr/local/ssl --with-imap-ssl=/usr/local/ssl
--with-kerberos
--- End Message ---
--- Begin Message ---
hi,
compiling php (4.3.0) staticly with apache (1.3.27) fails during apache
configure. same configuration has been working fine with older php
releases (eg 4.2.3).
anybody able and willing to help?
thanks, lh
** A test compilation with your Makefile configuration
** failed. The below error output from the compilation
** test will give you an idea what is failing. Note that
** Apache requires an ANSI C Compiler, such as gcc.
======== Error Output for sanity check ========
cd ..; gcc -DLINUX=22 -DUSE_EXPAT -I./lib/expat-lite `./apaci` -o
helpers/dummy helpers/dummy.c -Wl,-rpath,/usr/local/ssl/lib
-Wl,-rpath,/usr/src/Node/c-client/lib -Wl,-rpath,/Node/mysql//lib/mysql
-Wl,-rpath,/opt/oracle/OraHome1/lib -Wl,-rpath,/usr/local/pgsql/lib
-rdynamic -L/usr/local/ssl/lib -L/usr/src/Node/c-client/lib
-L/Node/mysql//lib/mysql -L/opt/oracle/OraHome1/lib
-L/usr/local/pgsql/lib -Lmodules/php4 -L../modules/php4
-L../../modules/php4 -lmodphp4 -export-symbols
/usr/src/Node/php/sapi/apache/php.sym -rdynamic -L/usr/local/ssl/lib
-L/usr/src/Node/c-client/lib -L/Node/mysql//lib/mysql
-L/opt/oracle/OraHome1/lib -L/usr/local/pgsql/lib -lc-client -lpq
-lmysqlclient -lldap -llber -lcrypt -lpam -lttf -lpng -lz -ljpeg -lz
-lcrypt -lssl -lcrypto -lresolv -lm -ldl -lnsl -lcrypt -ldl -lm
-lclntsh -locijdbc8 -lm -lcrypt -ldl
/usr/i486-suse-linux/bin/ld:/usr/src/Node/php/sapi/apache/php.sym: file
format not recognized; treating as linker script
/usr/i486-suse-linux/bin/ld:/usr/src/Node/php/sapi/apache/php.sym:2:
parse error
collect2: ld returned 1 exit status
make: *** [dummy] Error 1
============= End of Error Report =============
--- End Message ---
--- Begin Message ---
hi,
i want to install php without a webserver to use it from command line. Iam working in
a unix environment and I dont hav access to /usr/local. should there be any specific
options i must use with ./configure other than setting the prefix to the desired
directory ?
Thanks.
Pradeep.
---------------------------------
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now
--- End Message ---
--- Begin Message ---
System: DS20 2x CPU 1Gb
OS: TRU64 v5.1a PK2
PHP v4.3.0
Using combinations of the following...
Compaq C V6.4-014
Compaq make version 3.13-14
gcc version 3.0.4
GNU Make version 3.79
I get the following make / gmake error...
gcc -Imain/ -I/home/fparki/php-4.3.0/main/ -DPHP_ATOM_INC
-I/home/fparki/php-4.3.0/include -I/home/fparki/php-4.3.0/main
-I/home/fparki/php-4.3.0 -I/home/fparki/php-4.3.0/Zend
-I/home/fparki/php-4.3.0/ext/xml/expat -I/home/fparki/php-4.3.0/TSRM -g
-O2 -c /home/fparki/php-4.3.0/main/streams.c -o main/streams.o && echo >
main/streams.lo
/home/fparki/php-4.3.0/main/streams.c: In function `_php_stream_stat':
/home/fparki/php-4.3.0/main/streams.c:677: structure has no member named
`_F64_stat'
/home/fparki/php-4.3.0/main/streams.c: In function `php_stdiop_cast':
/home/fparki/php-4.3.0/main/streams.c:1512: warning: cast to pointer from
integer of different size
gmake: *** [main/streams.lo] Error 1
Can anyone help?
Also, I hope to compile this with apache and mysql options. Any gotchas?
Thanks
Frank
**********************************************************************
The information contained in this communication is
confidential, is intended only for the use of the recipient
named above, and may be legally privileged.
If the reader of this message is not the intended
recipient, you are hereby notified that any dissemination,
distribution, or copying of this communication is strictly
prohibited.
If you have received this communication in error,
please re-send this communication to the sender and
delete the original message or any copy of it from your
computer system. Thank You.
--- End Message ---