php-install Digest 13 Dec 2001 08:51:06 -0000 Issue 600
Topics (messages 5284 through 5295):
Re: libphp4.so--> undefined symbol: uncompress
5284 by: Rasmus Lerdorf
5285 by: Mark R.
FOPEN issues in 4.0.6
5286 by: David Callaghan
php410, gd=shared, missing gd.so
5287 by: Jason Donald
5291 by: Yasuo Ohgaki
Re: How to compile PHP-4.1.0 or 4.0.6 with Oracle-9i ?
5288 by: Yasuo Ohgaki
Re: readline
5289 by: Yasuo Ohgaki
Re: Compile problems under Mac OS X 10.1 (Darwin)
5290 by: Yasuo Ohgaki
BLANK SCREEN EASY FIX
5292 by: Salomon Lama
BLANK SCREEN EASY FIX (edited)
5293 by: Salomon Lama
Re: Warning: mail() is not supported in this PHP build
5294 by: J.L.Gilmour.exeter.ac.uk
5295 by: Rasmus Lerdorf
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 ---
Try adding --with-zlib to your configure line.
On Wed, 12 Dec 2001, Mark R. wrote:
> Hello all,
>
> I think I may have an easy to fix problem, but I'm stumped as to what needs
> to be done. I downloaded Apache 1.3.22 and PHP 4.1.0 today. Built Apache
> with "./configure --enable-module=so --prefix=/usr/local/apache", and after
> installing Apache, built PHP with
> "./configure --with-mysql=/usr/local/mysql --with-apxs=/usr/local/apache/bin
> /apxs". I've changed httpd.conf as needed, and when I start the server I
> get:
>
> [root@gorf lib]# /usr/local/apache/bin/apachectl start
> Syntax error on line 205 of /usr/local/apache/conf/httpd.conf:
> Cannot load /usr/local/apache/libexec/libphp4.so into server:
> /usr/local/apache/libexec/libphp4.so: undefined symbol: uncompress
> /usr/local/apache/bin/apachectl start: httpd could not be started
>
> Simply because I saw it in some other postings, (not because I know what it
> does :) ), I ran:
>
> [root@gorf libexec]# ldd -r libphp4.so
> libdl.so.2 => /lib/libdl.so.2 (0x4013b000)
> libcrypt.so.1 => /lib/libcrypt.so.1 (0x4013f000)
> libresolv.so.2 => /lib/libresolv.so.2 (0x4016d000)
> libpam.so.0 => /lib/libpam.so.0 (0x4017f000)
> libm.so.6 => /lib/libm.so.6 (0x40187000)
> libnsl.so.1 => /lib/libnsl.so.1 (0x401aa000)
> libc.so.6 => /lib/libc.so.6 (0x401c1000)
> /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
> undefined symbol: uncompress (./libphp4.so)
> undefined symbol: compress (./libphp4.so)
> undefined symbol: ap_block_alarms (./libphp4.so)
> undefined symbol: ap_unblock_alarms (./libphp4.so)
> undefined symbol: ap_user_id (./libphp4.so)
> undefined symbol: ap_server_root (./libphp4.so)
> undefined symbol: ap_group_id (./libphp4.so)
>
>
> It goes on and on with the 'undefined symbol' errors. Is this something
> that's missing from /etc/ld.so.conf? I need to add another path? Or
> something more?
>
> Thanks,
> Mark
>
>
>
>
>
>
--- End Message ---
--- Begin Message ---
That fixed the error. Thank you very much : )
"Rasmus Lerdorf" <[EMAIL PROTECTED]> wrote
> Try adding --with-zlib to your configure line.
--- End Message ---
--- Begin Message ---
I use file ('http://www.target.com') to get information from a partner's web site. I
have made a site using php 4.0.3pl1 and Apache on Windows as a proof of concept to
move from ASP+ and IIS to php and Apache.
I got permission, installed SuSE 7.3 Pro which comes with 4.0.6 and now I get a
Warning: php_network_getaddresses: getaddrinfo failed: Name or service not known in
/usr/local/htdocs/UsedToWork.php message.
allow_url_fopen is set to On in php.ini and phpinfo confirms in the PHP Core
Configuration that allow_url_fopen = 1 for local and master.
What did I do wrong? TIN!
--- End Message ---
--- Begin Message ---
Hi,
Under php4.0.6 my configure/make/makeinstall created a gd.so file
(which is picked up when using <? dl("gd.so"); ?>).
Under php4.1.0 my install creates a gd.a file, and <? dl("gd.so"); ?>
doesn't work anymore.
If I compile it in as non shared, it works just fine. I am using it
as .so to keep the httpd size down and performance up as we don't use
GD very much on our server.
I use PHP4.1.0/GD2.0.1/Apache1.3.22.
Has anyone got any ideas?
Here is my configure line.
"./configure" \
"--with-apache= /usr/local/src/apache_1.3.22" \
"--prefix= /usr/local/php" \
"--with-mysql= /usr/local/mysql" \
"--with-pgsql= /usr/local/pgsql" \
"--with-gd=shared" \
"--with-freetype-dir= /usr/local/include/freetype2" \
"--with-jpeg-dir" \
"--with-png-dir" \
"--with-zlib" \
"--disable-debug" \
"--enable-sysvsem" \
"--enable-sysvshm" \
"--enable-sockets" \
"--enable-track-vars" \
"--enable-gd-native-tt" \
"$@"
TIA
Jason Donald.
--- End Message ---
--- Begin Message ---
Jason Donald wrote:
> Hi,
>
> Under php4.0.6 my configure/make/makeinstall created a gd.so file
> (which is picked up when using <? dl("gd.so"); ?>).
>
> Under php4.1.0 my install creates a gd.a file, and <? dl("gd.so"); ?>
> doesn't work anymore.
>
> If I compile it in as non shared, it works just fine. I am using it
> as .so to keep the httpd size down and performance up as we don't use
> GD very much on our server.
Most UNIX like system supports shard text segment for binary,
you don't have to worry much about memory usage for including
modules.... dl() has some known problems also (It works most for
cases, so you probably don't have to worry)
Anyway, you can try to build gd module as self contained module.
Read README.SELF-CONTAINED-EXTENSION in PHP source root to build
it as self contained module. It may work.
--
Yasuo Ohgaki
--- End Message ---
--- Begin Message ---
I reply your mail with my guess, since I saw your post other lists
which is not appropriate to post... (I don't use Oracle BTW)
I guess Oracle 9i support is not implemented yet. AFAIK I don't
know such news. It may work if it is compile with oci8, though.
Somsak Rakthai wrote:
> Dear sir,
> Now I install "Oracle-9i" running on RedHat-7.2.
>
> In php-4.1.0 and php-4.0.6 have option for Oracle-7 or 8 below.
>
> --with-oci8[=DIR] Include Oracle-oci8 support. Default DIR is
> ORACLE_HOME.
> --with-oracle[=DIR] Include Oracle-oci7 support. Default DIR is
> ORACLE_HOME.
>
> Don't have option for Oracle-9i.
> When I used command below.
> ./configure --with-apache=../apache_1.3.22 \
> --with-mysql=/usr/local/mysql \
> --with-imap=../imap-2001a \
> --with-ldap=/usr/local/openldap \
> --with-oci8=/u01/app/oracle/product/9.0.1 \
> --enable-sigchild
>
> It has error messages below.
>
> checking for Oracle-OCI8 support... yes
> checking Oracle Install-Dir... /u01/app/oracle/product/9.0.1
> checking Oracle version... configure: error: Oracle-OCI8 needed
> libraries not found
>
> I want to compile PHP with Oracle-9i.
> Please let me know more detail how to solve this problem ?
> thank you very much.
> regards,
> Somsak.
>
>
--
Yasuo Ohgaki
--- End Message ---
--- Begin Message ---
Preroman wrote:
> I've tryied to compile php 4.1.0 with option --with-readline=/usr but the
> ./configure answered me that for that needs CGI build.
> I have compiled 4.0.6 with that option and all works well.
> What it means that??
> Thanks
> Preroman
>
That mean you cannot use readline with web server SAPI.
Readline is useless unless you build CGI SAPI.
Regards,
--
Yasuo Ohgaki
--- End Message ---
--- Begin Message ---
Nicolas Ross wrote:
> I want to compile php 4.1.0 on Mac OS X 10.1, adn I get this when linking :
>
> *** Warning: This library needs some functionality provided by -lgd.
> *** I have the capability to make that library automatically link in when
> *** you link to this library. But I can only do this if you have a
> *** shared version of the library, which you do not appear to have.
>
> *** Warning: This library needs some functionality provided by -lpng.
> *** I have the capability to make that library automatically link in when
> *** you link to this library. But I can only do this if you have a
> *** shared version of the library, which you do not appear to have.
>
> *** Warning: This library needs some functionality provided by -ljpeg.
> *** I have the capability to make that library automatically link in when
> *** you link to this library. But I can only do this if you have a
> *** shared version of the library, which you do not appear to have.
>
> *** Warning: This library needs some functionality provided by -lFBCAccess.
> *** I have the capability to make that library automatically link in when
> *** you link to this library. But I can only do this if you have a
> *** shared version of the library, which you do not appear to have.
> *** The inter-library dependencies that have been dropped here will be
> *** automatically added whenever a program is linked with this library
> *** or is declared to -dlopen it.
>
> And then way too much errors to put here...
I don't use Mac OS X, so this just my guess.
I think you have shared libs that are required.
Make sure you have all *shared* libs you need.
I've never tried to build with static lib, but you can
try.
--
Yasuo Ohgaki
--- End Message ---
--- Begin Message ---
I am new to XP(NT4) and to php. And just like a lot of beginners I was
getting a blank screen when I loaded up my test page the should have
produced "Hi, I'm a PHP script! "
I double checked my and modified web server settings using the Manual
Installation Steps several times. But made no progress.
My problem was caused by the EXTENSION of my FILE. I was using *.HTML
instead of *.PHP. DUH!!
I hope this helps any other newbies or those trying to help the newbies.
Thank You
Salomon
newbie - 2nd class
--- End Message ---
--- Begin Message ---
I am new to XP(NT4) and to php. And just like a lot of beginners, I was
getting a blank screen when I loaded up my test page. The page should have
produced "Hi, I'm a PHP script! "
I double checked and modified my web server's settings using the Manual
Installation Steps several times. But made no progress.
I later discovered that my problem was caused by using the WRONG FILE
EXTENSION. My test file name should have ended with *.PHP instead of
*.HTML.
DUH!!
I hope this helps any other newbies or those trying to help the newbies.
Thank You
Salomon
newbie - 2nd class
--- End Message ---
--- Begin Message ---
>
> When you built PHP sendmail wasn't there for some reason. Rebuild it, or
> upgrade to the recently released 4.1.
No, as I said in my original mail, sendmail was installed and was
detected by the configure script.
Jayne.
--
+----+----+----+----+----+----+----+----+----+----+----+----+----+
Jayne Gilmour, BSc. MSc. Unix & Network Administrator
Department of Computer Science, University of Exeter
"Do not meddle in the affairs of sysadmins, for they
are quick to anger and have no need for subtlety"
+----+----+----+----+----+----+----+----+----+----+----+----+----+
--- End Message ---
--- Begin Message ---
Well, somehow you are confused about that, because the only way to get the
error message you got was for the HAVE_SENDMAIL or whatever the symbol was
in that version in the config.h file to not be defined and this symbol is
set by the configure script. But regardless, upgrade to 4.1. The
mechanism is different now.
-Rasmus
On Thu, 13 Dec 2001 [EMAIL PROTECTED] wrote:
> >
> > When you built PHP sendmail wasn't there for some reason. Rebuild it, or
> > upgrade to the recently released 4.1.
>
> No, as I said in my original mail, sendmail was installed and was
> detected by the configure script.
>
>
> Jayne.
>
>
--- End Message ---