php-install Digest 4 Apr 2001 02:46:33 -0000 Issue 246
Topics (messages 2667 through 2679):
Re: PHP4 install prob with gd1.8.4 and X11
2667 by: Yasuo Ohgaki
Re: install fails
2668 by: Yasuo Ohgaki
Re: running as root??
2669 by: Yasuo Ohgaki
Re: need help with configure - NOVICE
2670 by: Johannes Janson
installing with gd and XFree86
2671 by: Mike
2677 by: Jani Taskinen
Re: solved: conftest can't open library?
2672 by: Andrew Hill
iODBC Mac OS X HOWTO
2673 by: Andrew
2674 by: Andrew Hill
Re: [PHP-DB] iODBC Mac OS X HOWTO
2675 by: Andrew Hill
Error configuring PHP for build
2676 by: Sandy Thomson
Satellite installation pb
2678 by: Chich Vincent
Re: [PHP] iODBC Mac OS X HOWTO
2679 by: Michael Stearne
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]
----------------------------------------------------------------------
> lresolv -lm -ldl -lcrypt -lnsl -lresolv -L/usr/lib//lib -ljpeg
> -L/usr/X11R6/lib//lib -lXpm -L/usr/X11R6/lib//lib -lX11 1>&5
> /usr/bin/ld: cannot find -lX11
> collect2: ld returned 1 exit status
I think your Xpm lib in /usr/X11R6/lib, not /usr/X11R6/lib/lib
> CONFIGURE: './configure' '--with-apxs=/usr/local/apache/bin/apxs'
> '--with-msql=/usr/local/Hughes/' '--with-gd' '--with-jpeg-dir=/u
> sr/lib/' '--with-xpm-dir=/usr/X11R6/lib/' '--without-mysql'
change this to
sr/lib/' '--with-xpm-dir=/usr/X11R6' '--without-mysql'
Regards,
--
Yasuo Ohgaki
"Evan Davies" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi all,
> this problem is driving me nuts. Install php on RH6.2 with Xfree86 4
> complied from source with apache server 1.3.19.
> This is the debug.log
>
> CONFIGURE: './configure' '--with-apxs=/usr/local/apache/bin/apxs'
> '--with-msql=/usr/local/Hughes/' '--with-gd' '--with-jpeg-dir=/u
> sr/lib/' '--with-xpm-dir=/usr/X11R6/lib/' '--without-mysql'
> CC: gcc
> CFLAGS: -g -O2
> CPPFLAGS: -DLINUX=22 -DUSE_HSREGEX -DUSE_EXPAT
> CXX:
> CXXFLAGS:
> INCLUDES: -I/usr/local/apache/include -I$(top_builddir)/Zend
> -I/usr/include/freetype -I/usr/local/Hughes//include
> LDFLAGS: -Wl,-rpath,/usr/lib//lib -L/usr/lib//lib
> -Wl,-rpath,/usr/X11R6/lib//lib -L/usr/X11R6/lib//lib
> -Wl,-rpath,/usr/local/Hug
> hes//lib -L/usr/local/Hughes//lib
> LIBS: -lmsql -lttf -lgd -lX11 -lXpm -ljpeg -lresolv -lm -ldl
> -lcrypt -lnsl -lresolv -L/usr/lib//lib -ljpeg -L/usr/X11R6/lib//
> lib -lXpm -L/usr/X11R6/lib//lib -lX11
> DLIBS:
> SAPI: apache
> PHP_RPATHS: /usr/lib//lib /usr/X11R6/lib//lib /usr/local/Hughes//lib
> uname -a: Linux bugger 2.2.18 #1 Fri Jan 26 12:41:03 EST 2001 i686
> unknown
>
> gcc -o conftest -g -O2 -DLINUX=22 -DUSE_HSREGEX -DUSE_EXPAT
> -Wl,-rpath,/usr/lib//lib -L/usr/lib//lib -Wl,-rpath,/usr/X11R6/lib//li
> b -L/usr/X11R6/lib//lib -Wl,-rpath,/usr/local/Hughes//lib
> -L/usr/local/Hughes//lib conftest.c -lmsql -lttf -lgd -lX11 -lXpm -ljpeg
> -
> lresolv -lm -ldl -lcrypt -lnsl -lresolv -L/usr/lib//lib -ljpeg
> -L/usr/X11R6/lib//lib -lXpm -L/usr/X11R6/lib//lib -lX11 1>&5
> /usr/bin/ld: cannot find -lX11
> collect2: ld returned 1 exit status
>
> As you can see it can't find X11 ???? . At the console I type ld -l X11
> and same thing. Any ideas on how to resolve this.
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
Missing/Not registered mscomctl.ocx seems common problems with NT.
I don't know how to fix this, but you may find hints in Annotated Manual or
BugDB.
By the way, I've used ISAPI version just a little, I suggest to use CGI with IIS
or Apache. Too many problems with ISAPI for me.
Regards,
--
Yasuo Ohgaki
""Mike Schwarz"" <[EMAIL PROTECTED]> wrote in message
9aar9d$mnt$[EMAIL PROTECTED]">news:9aar9d$mnt$[EMAIL PROTECTED]...
> i have a strange bug here, don't now where to search.
> when i install php with setup.exe on my win 2000 server, there is a error
> message:
>
> - component mscomctl.ocx or one of its dependencies not correctly
> registered, a file is missing or invalid
>
> after clicking on OK, php setup says OK, successfull installation.
> i check the isapi extension in IIS 5.0 --> nothing
> so, i did manual configuration in IIS with extension .php and the correct
> dll
>
> after running a test, every php-script is terminating with a
> http error 500 - internal server error
> and in the system-event-protocol i have an error 10004:
>
> EventID 10004 Source DCOM DCOM got error
> "Logon failure: unknown user name or bad password. " and was unable to logon
> \IWAM_TEK1 in order to run the server:
> {3D14228D-FBE1-11D0-995D-00C04FD919C1}
>
> same happens with an installation of IHTML or other script-server dll....
>
> who can help?
>
> mike
>
> C-TEK Computer
> Bergstrasse 36
> CH-5430 Wettingen
> phone & fax 056 426 04 01
>
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
I don't think you are running your apache as root.
Form your phpinfo()
User/Group nobody(65534)/65534
So you are ok.
--
Yasuo Ohgaki
""Duke"" <[EMAIL PROTECTED]> wrote in message
000d01c0bbe7$dbca94a0$[EMAIL PROTECTED]">news:000d01c0bbe7$dbca94a0$[EMAIL PROTECTED]...
> When I check phpinfo(INFO_ENVIRONMENT), I get all kinds of stuff about my
> root user's environment. I installed the apache php4 module, and my apache
> server is configured to run under user and group "nobody". My buddie's
> machine only puts out 2 rows on the "Environment" table, nothing about root.
> If you want to take a look, go to
> http://rocketbox.dhs.org/~kidlinux/info.php, and select INFO_ENVIRONMENT.
> I'd like php to not be running as root!
>
> Thanks,
> -- Duke.
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
Hi,
I had the same problem on my Suse linux.
Since I'm not nuch of a *nix user it took
me some time. I think lex is some C++
compiler-thing (very technical expression isn't it ?:) ).
check the distributed CD for a programm called lex,
install it and have another go. Furthermore it's like
my preposter said "--with" not "-with".
good luck
""bigbrthr3"" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
9aabtn$cqv$[EMAIL PROTECTED]">news:9aabtn$cqv$[EMAIL PROTECTED]...
> Hi everyone,
> I am new to using LINUX and need to install PHP. I "inherited" a system
> with Redhat 6.2 and Apache. I've never installed any software packages
> until now and after following the PHP manual's instructions I attempted to
> run configure:
>
> ./configure -with-pgsql=/opt/pgsql-7.02 -with-apache=/opt/apache
>
> which gives the following error
> checking lex output file root... ./configure: lex: command not found
> configure: error: cannot find output from lex; giving up
>
> I need some help to be pointed in the right direction.
>
> Thanks in advance,
> Chris
>
>
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
I have been trying to install php with support for gd truetype (freetype) so that i
can use typo3 - below is the error generated from the configure script. I am running
redhat 7.0 with apache 1.3.19 and php4.0.4 I have installed XFree86 from binaries...
What am i doing wrong????
=-----------------------------------------------------------------------------------------------------------
CONFIGURE: './configure' '--with-gd=/usr' '--with-ttf=/usr' '--with-mysql' '-
-with-apxs' '--enable-track-vars' '--with-jpeg-dir=/usr' '--with-xpm-dir=/usr'
'--with-gd-lib' '--enable-gd-native-ttf' '--prefix=/etc/httpd/' '--x-includes=/
usr/X11R6/include' '--x-libraries=/usr/X11R6/lib'
CC: gcc
CFLAGS: -g -O2
CPPFLAGS: -DLINUX=2 -DMOD_SSL=207101 -DEAPI -DUSE_EXPAT
CXX:
CXXFLAGS:
INCLUDES: -I/usr/include/apache -I$(top_builddir)/Zend -I/usr/src/php-4.0.4
pl1/ext/mysql/libmysql
LDFLAGS:
LIBS: -lgd -lX11 -lXpm -ljpeg -lresolv -lm -ldl -lcrypt -lnsl -lresolv -
L/usr/lib -ljpeg -L/usr/lib -lXpm -L/usr/lib -lX11
DLIBS:
SAPI: apache
PHP_RPATHS:
uname -a: Linux ns.blueroot.net 2.2.16-22 #1 Tue Aug 22 16:49:06 EDT 2000 i68
6 unknown
gcc -o conftest -g -O2 -DLINUX=2 -DMOD_SSL=207101 -DEAPI -DUSE_EXPAT conftest
.c -lgd -lX11 -lXpm -ljpeg -lresolv -lm -ldl -lcrypt -lnsl -lresolv -L/usr/lib
-ljpeg -L/usr/lib -lXpm -L/usr/lib -lX11 1>&5
/usr/bin/ld: cannot find -lX11
collect2: ld returned 1 exit status
On Tue, 3 Apr 2001, Mike wrote:
>What am i doing wrong????
Change the --with-xpm-dir=/usr to --with-xpm-dir=/usr/X11R6 and
it should work.
Remember to delete config.cache before configure!
--Jani
>
>=-----------------------------------------------------------------------------------------------------------
>
>CONFIGURE: './configure' '--with-gd=/usr' '--with-ttf=/usr' '--with-mysql' '-
>-with-apxs' '--enable-track-vars' '--with-jpeg-dir=/usr' '--with-xpm-dir=/usr'
>'--with-gd-lib' '--enable-gd-native-ttf' '--prefix=/etc/httpd/' '--x-includes=/
>usr/X11R6/include' '--x-libraries=/usr/X11R6/lib'
>CC: gcc
>CFLAGS: -g -O2
>CPPFLAGS: -DLINUX=2 -DMOD_SSL=207101 -DEAPI -DUSE_EXPAT
>CXX:
>CXXFLAGS:
>INCLUDES: -I/usr/include/apache -I$(top_builddir)/Zend -I/usr/src/php-4.0.4
>pl1/ext/mysql/libmysql
>LDFLAGS:
>LIBS: -lgd -lX11 -lXpm -ljpeg -lresolv -lm -ldl -lcrypt -lnsl -lresolv -
>L/usr/lib -ljpeg -L/usr/lib -lXpm -L/usr/lib -lX11
>DLIBS:
>SAPI: apache
>PHP_RPATHS:
>uname -a: Linux ns.blueroot.net 2.2.16-22 #1 Tue Aug 22 16:49:06 EDT 2000 i68
>6 unknown
>
>gcc -o conftest -g -O2 -DLINUX=2 -DMOD_SSL=207101 -DEAPI -DUSE_EXPAT conftest
>.c -lgd -lX11 -lXpm -ljpeg -lresolv -lm -ldl -lcrypt -lnsl -lresolv -L/usr/lib
> -ljpeg -L/usr/lib -lXpm -L/usr/lib -lX11 1>&5
>/usr/bin/ld: cannot find -lX11
>collect2: ld returned 1 exit status
>
Mac OS X uses DYLD_LIBRARY_PATH instead of LD_LIBRARY_PATH.
When dynamically linking libraries into PHP/Apache, it helps if that is set
to point to your lib directory.
Best regards,
Andrew
Hi all,
In the past couple of weeks, many people have asked me about compiling PHP /
Apache under Mac OS X, so I've updated my iODBC HOWTO specifically for Mac
OS X.
This walks through the process of enabling ODBC support in PHP, so your Mac
OS X PHP applications can pull data from any relational database. I'll be
uploading it to the www.iodbc.org site, but if anyone would like to comment
on the initial draft, it's attached to the post.
Any and all feedback is welcome - tell me anything is not clear!
Best regards,
Andrew
--------------------------------------
Andrew Hill - OpenLink Software
Director Technology Evangelism
eBusiness Infrastructure Technology
http://www.openlinksw.com
Hi all,
In the past couple of weeks, many people have asked me about compiling PHP /
Apache under Mac OS X, so I've updated my iODBC HOWTO specifically for Mac
OS X.
This walks through the process of enabling ODBC support in PHP, so your Mac
OS X PHP applications can pull data from any relational database. I'll be
uploading it to the www.iodbc.org site, but if anyone would like to comment
on the initial draft, it's attached to the post.
Any and all feedback is welcome - tell me anything is not clear!
Best regards,
Andrew
--------------------------------------
Andrew Hill - OpenLink Software
Director Technology Evangelism
eBusiness Infrastructure Technology
http://www.openlinksw.com
Okay, so no attachments to the lists :)
Here is the HOWTO:
http://www.iodbc.org/osxphp_iodbc.htm
Best regards,
Andrew
--------------------------------------
Andrew Hill - OpenLink Software
Director Technology Evangelism
eBusiness Infrastructure Technology
http://www.openlinksw.com
office:781.273.0900 x 27
mobile:781.608.4217
>
>
> Hi all,
>
> In the past couple of weeks, many people have asked me about
> compiling PHP /
> Apache under Mac OS X, so I've updated my iODBC HOWTO specifically for Mac
> OS X.
>
> This walks through the process of enabling ODBC support in PHP,
> so your Mac
> OS X PHP applications can pull data from any relational database. I'll be
> uploading it to the www.iodbc.org site, but if anyone would like
> to comment
> on the initial draft, it's attached to the post.
>
> Any and all feedback is welcome - tell me anything is not clear!
Hi
I am trying to install PHP on a Red Hat Linux system and get an error which
seems to complain about not finding the mySql client software. both mySql
and Apache are installed and working correctly. Can anyone help point me in
the right direction with this. I have attached the debug.log file
Regards
Sandy
Tel: +44-(0)1423-755308
Fax: +44-(0)1423-755309
Email: [EMAIL PROTECTED]
Hi,
I try to install the Satellite lib for PHP using Apache on a redHat 7.0
with orbit 0.5.3-2 pre-install. But it doesn t want to work. Could
someone help me ?
Here is what i ve done:
for PHP:
./configure --with-apache=../apache_1.3.14 --enable-satellite
make
make install
after that i editing the php.ini and add:
extension=satellite.so
then for apache:
after editing libphp4.module as it is explain in the REAME file of
satellite i type this:
./configure --prefix=/www/apache
--activate-module=src/modules/php4/libphp4.a
make
make install
i kill my httpd process nd start it again.
Here is the error when i get my php file
Fatal error: Cannot instantiate non-existent class: orbitobject in
....../index.php on line 12
The PHP looks to run well but perhaps i forget to include a
configuration file. Is there any ?
Thanks for your help
V.Chich
Thanks a lot, this will be a big help.
Michael
On Tuesday, April 3, 2001, at 02:58 PM, Andrew wrote:
> Hi all,
>
> In the past couple of weeks, many people have asked me about compiling
> PHP /
> Apache under Mac OS X, so I've updated my iODBC HOWTO specifically for
> Mac
> OS X.
>
> This walks through the process of enabling ODBC support in PHP, so your
> Mac
> OS X PHP applications can pull data from any relational database. I'll
> be
> uploading it to the www.iodbc.org site, but if anyone would like to
> comment
> on the initial draft, it's attached to the post.
>
> Any and all feedback is welcome - tell me anything is not clear!
>
> Best regards,
> Andrew
> --------------------------------------
> Andrew Hill - OpenLink Software
> Director Technology Evangelism
> eBusiness Infrastructure Technology
> http://www.openlinksw.com
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]