php-install Digest 21 Feb 2002 13:19:04 -0000 Issue 711
Topics (messages 6093 through 6100):
Bizarre problem.
6093 by: Andres Plaza R.
Re: one more 'can't do this':
6094 by: Ryan Snow
Thanks, Im running now!
6095 by: Ryan Snow
Apache2 and PHP CVS
6096 by: Austin Gonyou
Problems installing PHP on HPUX
6097 by: Hector Jose Montalvo Herrera
Problem with php and apache in HPUX
6098 by: Hector Jose Montalvo Herrera
Re: Mysql tables creation error for 3.0
6099 by: jose.iteso.mx
Re: [PHP] Bizarre problem.
6100 by: Ford, Mike [LSS]
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 ---
Hi everybody!
Some days ago, I asked about a problem making "configure" in PHP
4.1.1. When I try to configure PHP + Oracle:
./configure --with-mysql --with-apxs=/usr/local/apache/bin/apxs
--with-openssl=/usr/local/ssl --with-zlib=/usr --with-curl=/usr/local
--with-oci8=/usr/local/oracle/8.0.5 --with-gd
this message appears:
| *** ATTENTION *** |
| |
| Something is likely to be messed up here, because the configure |
| script was not able to detect a simple feature on your platform. |
| This is often caused by incorrect configuration parameters. Please |
| see the file debug.log for error messages. |
| |
and if I look the debug.log, the error is:
gcc -o conftest -g -O2 -DLINUX=22 -DMOD_SSL=208105 -DUSE_HSREGEX -DEAPI
-Wl,-rpath,/usr/local/ssl/lib -L/usr/local/ssl/lib -Wl,-rpath,/usr/local/lib
-L/usr/local/lib -Wl,-rpath,/usr/local/oracle/8.0.5/lib -L/usr/local/oracle/8.0.5/lib
conftest.c -lclntsh -lpsa -lcore4 -lnsl -lgd -lcurl -ldl -lcrypto -lssl -lcurl -lz
-lcrypt -lssl -lcrypto -lresolv -lm -ldl -lnsl -lresolv -lcrypt 1>&5
/usr/bin/ld: cannot find -lm
collect2: ld returned 1 exit status
Everything looks strange, because I know that libm is in my system
(Linux RH 7.2) and the other test (if I look config.log) that used libm
didn't have problems.
BUT, the other day I used vi to see the debug.log, and the error
appears like this:
gcc -o conftest -g -O2 -DLINUX=22 -DMOD_SSL=208105 -DUSE_HSREGEX -DEAPI
-Wl,-rpath,/usr/local/ssl/lib -L/usr/local/ssl/lib -Wl,-rpath,/usr/local/lib
-L/usr/local/lib -Wl,-rpath,/usr/local/oracle/8.0.5/lib -L/usr/local/oracle/8.0.5/lib
conftest.c -lclntsh -lpsa -lcore4 -lnlsrtl3 -lm^M -lnsl -lgd -lcurl -ldl -lcrypto
-lssl -lcurl -lz -lcrypt -lssl -lcrypto -lresolv -lm -ldl -lnsl -lresolv -lcrypt 1>&5
/usr/bin/ld: cannot find -lm^M
collect2: ld returned 1 exit status
You will notice that there is a ^M after -lm ! And, of course, ld
didn't find -lm^M . :-)
Obviously, I edited the configure file, but there's no ^M.
Now, the question: somebody had the same problem? Somebody had a
solution for this? Somebody can help me?!?!?!? :-)
Thanks in advance...
--
Andres Plaza R.
[EMAIL PROTECTED]
http://la.mafia.cl/aplaza
--- End Message ---
--- Begin Message ---
Thank you--that did the trick!
On Wed, 20 Feb 2002, Steve Cayford wrote:
> On my machine httpd is in /usr/sbin. That's not commonly listed on a
> bash path, so try /usr/sbin/httpd instead (if that's where it is).
>
> -steve
>
> On Wednesday, February 20, 2002, at 12:26 PM, Ryan Snow wrote:
>
> >
> > the command 'httpd -l' yields bash: httpd: command not found.
> >
> > any insight?
> >
> > --
> > 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 ---
Thanks to everyone that helped me--Stefan, Joel, Katie, Chris, Rasmus,
Jim, Steve, and anyone I may have forgotten. I've finished installing
php again, this time --with-mysql and it's working so now I guess I get
to start pounding code:>
Now, I am amazed with the internet again.
If ever I can answer a question of yours, you bet I will. I'll be around.
Ryan
--- End Message ---
--- Begin Message ---
I got Apache2 2.0.32 beta, compiled, installed, and happy.
I got PHP from CVS last night/this morning, around 1AM CST/US.
PHP Compiled and installed using the following configure:
configure --with-apxs2=/usr/web/bin/apxs --with-ssl --with-jpeg
--with-png
When starting apache *with* libphp4.so enabled, apache only starts a
single process, waiting for connections, but does not write to a
log-file, create a httpd.pid file, or offer any error messages.
Is there something broke in the php cvs?
With or without <FilesMatch xxx> makes no difference.
Will compile with only apxs and see.
Please advise.
--
Austin Gonyou
Systems Architect, CCNA
Coremetrics, Inc.
Phone: 512-698-7250
email: [EMAIL PROTECTED]
"It is the part of a good shepherd to shear his flock, not to skin it."
Latin Proverb
--- End Message ---
--- Begin Message ---
Hello, I have problems installing PHP 4.1.1 and a apache server 1.3.23 with chroot.
My S.O. is HPUX 11.0
I compiled apache with the module mod_so and php with the directory tree
/usr/local/apache
My chroot is /usr/www , after of compiling apache with php I make a tar of
usr/local/apache and a tar xvf in my chroot
eje. /usr/www/usr/local/apache
after run my http server with the next command:
chroot /usr/www /usr/local/apache/bin/apachectl start
and I have the follow messages
/usr/lib/dld.sl: Unresolved symbol: dlsym (code) from
/usr/local/apache/libexec/libphp4.so
/usr/lib/dld.sl: Unresolved symbol: dlerror (code) from
/usr/local/apache/libexec/libphp4.so
/usr/lib/dld.sl: Unresolved symbol: dlopen (code) from
/usr/local/apache/libexec/libphp4.so
/usr/lib/dld.sl: Unresolved symbol: dlclose (code) from
/usr/local/apache/libexec/libphp4.so
Syntax error on line 205 of /usr/local/apache/conf/httpd.conf:
Cannot load /usr/local/apache/libexec/libphp4.so into server: No such file or directory
/usr/local/apache/bin/apachectl start: httpd could not be started
I have th libexec/libphp4.so in my /usr/www/usr/local/apache/libexec.
What can I do?
In the line 205 I have
LoadModule php4_module libexec/libphp4.so
I put LoadModule php4_module /usr/www/usr/local/apache/libexec/libphp4.so
and not working too!!
Help me!
Thanks!
__________________________________
Ing. Hector Jose Montalvo Herrera
Triara Operaciones
Libramiento Santa Rosa #111 Col. Futuro Apodaca
Apodaca, Nuevo Leon.
http://www.triara.com
|unix/linux is most powerful..;-)|
--- End Message ---
--- Begin Message ---
Hello, I have problems installing PHP 4.1.1 and a apache server 1.3.23 with
chroot.
My S.O. is HPUX 11.0
I compiled apache with the module mod_so and php with the directory tree
/usr/local/apache
My chroot is /usr/www , after of compiling apache with php I make a tar of
usr/local/apache and a tar xvf in my chroot
eje. /usr/www/usr/local/apache
after run my http server with the next command:
chroot /usr/www /usr/local/apache/bin/apachectl start
and I have the follow messages
/usr/lib/dld.sl: Unresolved symbol: dlsym (code) from
/usr/local/apache/libexec/libphp4.so
/usr/lib/dld.sl: Unresolved symbol: dlerror (code) from
/usr/local/apache/libexec/libphp4.so
/usr/lib/dld.sl: Unresolved symbol: dlopen (code) from
/usr/local/apache/libexec/libphp4.so
/usr/lib/dld.sl: Unresolved symbol: dlclose (code) from
/usr/local/apache/libexec/libphp4.so
Syntax error on line 205 of /usr/local/apache/conf/httpd.conf:
Cannot load /usr/local/apache/libexec/libphp4.so into server: No such file
or directory
/usr/local/apache/bin/apachectl start: httpd could not be started
I have th libexec/libphp4.so in my /usr/www/usr/local/apache/libexec.
What can I do?
In the line 205 I have
LoadModule php4_module libexec/libphp4.so
I put LoadModule php4_module
/usr/www/usr/local/apache/libexec/libphp4.so
and not working too!!
Help me!
Thanks!
__________________________________
Ing. Hector Jose Montalvo Herrera
Triara Operaciones
Libramiento Santa Rosa #111 Col. Futuro Apodaca
Apodaca, Nuevo Leon.
http://www.triara.com
|unix/linux is most powerful..;-)|
--- End Message ---
--- Begin Message ---
Sorry about this message, I sent it to the wrong list.
Jose
--- End Message ---
--- Begin Message ---
> -----Original Message-----
> From: Andres Plaza R. [mailto:[EMAIL PROTECTED]]
> Sent: 20 February 2002 20:55
[...]
>
> BUT, the other day I used vi to see the debug.log, and the error
> appears like this:
>
> gcc -o conftest -g -O2 -DLINUX=22 -DMOD_SSL=208105
> -DUSE_HSREGEX -DEAPI -Wl,-rpath,/usr/local/ssl/lib
> -L/usr/local/ssl/lib -Wl,-rpath,/usr/local/lib
> -L/usr/local/lib -Wl,-rpath,/usr/local/oracle/8.0.5/lib
> -L/usr/local/oracle/8.0.5/lib conftest.c -lclntsh -lpsa
> -lcore4 -lnlsrtl3 -lm^M -lnsl -lgd -lcurl -ldl -lcrypto -lssl
> -lcurl -lz -lcrypt -lssl -lcrypto -lresolv -lm -ldl -lnsl
> -lresolv -lcrypt 1>&5
> /usr/bin/ld: cannot find -lm^M
> collect2: ld returned 1 exit status
>
> You will notice that there is a ^M after -lm ! And, of
> course, ld
> didn't find -lm^M . :-)
>
> Obviously, I edited the configure file, but there's no ^M.
Well, ^M is a representation of the carriage-return character -- the fact that it's
not being displayed by your editor suggests that, in fact, it *is* a carriage-return
which is being suppressed on the grounds that it's an "invisible" position-control
character.
Look for an option in your editor to display "invisible" characters, or a handy
utility that will strip out unwanted characters. (Sorry, I'm not a UNIX guru so can't
suggest anything more concrete!)
Cheers!
Mike
---------------------------------------------------------------------
Mike Ford, Electronic Information Services Adviser,
Learning Support Services, Learning & Information Services,
JG125, James Graham Building, Leeds Metropolitan University,
Beckett Park, LEEDS, LS6 3QS, United Kingdom
Email: [EMAIL PROTECTED]
Tel: +44 113 283 2600 extn 4730 Fax: +44 113 283 3211
--- End Message ---