php-install Digest 20 Dec 2001 10:07:12 -0000 Issue 610
Topics (messages 5341 through 5347):
Problem installing PHP with Pear on Sol 8
5341 by: Eric Aska
php 4.1.0 and iplanet enterprise 6.0
5342 by: Ian McNish
Re: libphp4.so: symbol sapi_module: referenced symbol not found
5343 by: Ted Cox
Re: PHP4 install with PWS4 on Win98
5344 by: Alex Shi
RH 7.2 - After Install ... No CD-ROM support
5345 by: Ray Harris \(RR\)
5346 by: Stefan Siefert
PHP session variables
5347 by: Ridvan Agar
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 ---
Greetings,
I am tussling with an installation of PHP with Pear on a Solaris 8 system. The error
occurs during the 'make install' and affects Pear specifically. When I run it as
'make install-su' the error persists. It appears that the makefile for Pear is
misconfigured. My platform, configuration script and error are below. Thanks in
advance for the assist!!!
ERROR (Partial output of 'make install')
======================================
(cd pear && /usr/ccs/bin/make install)
shtool:mkdir:Error: invalid number of arguments (at least 1 expected)
shtool:mkdir:Hint: run `/opt/install/apache/mods/php-4.0.6/build/shtool mkdir -h' or
`man shtool' for details
+----------------------------------------------------------------------+
| The installation process is incomplete. The following resources were |
| not installed: |
| |
| Self-contained Extension Support |
| PEAR: PHP Extension and Add-on Repository |
| |
| To install these components, become the superuser and execute: |
| |
| # make install-su |
+----------------------------------------------------------------------+
*** Error code 5
make: Fatal error: Command failed for target `install-data-local'
Current working directory /opt/install/apache/mods/php-4.0.6/pear
*** Error code 1
make: Fatal error: Command failed for target `install-recursive'
Current working directory /opt/install/apache/mods/php-4.0.6/pear
*** Error code 1
make: Fatal error: Command failed for target `install-pear'
======================================
PLATFORM
======================================
HARDWARE: SPARC
OS: Solaris 8
Apache: 1.3.22
PHP: 4.0.6
======================================
CONFIG SCRIPT (these are the config options I am including)
======================================
./configure --with-gnu-ld \
--with-apxs=/opt/apache/bin/apxs \
--with-pear \
--enable-sigchild \
--enable-libgcc \
--with-zlib=/usr \
--enable-bcmath \
--enable-ftp \
--with-png-dir=/usr/local \
--with-java=/usr/java \
--with-mysql=/opt/mysql \
--with-mm=/usr/local \
--enable-trans-sid \
--enable-shmop \
--enable-ucd-snmp-hack \
--enable-sockets \
--with-regex=php \
--enable-sysvsem \
--enable-sysvshm \
--enable-wddx \
--enable-yp \
--with-servlet=/home/webadmin \
--enable-inline-optimization
======================================
--- End Message ---
--- Begin Message ---
i'm having problems getting php 4.1.0 to play nice with iplanet
enterprise 6.0sp2. when ever i attempt to open a page with a php
extension my web server crashes with this error:
catastrophe (21138): Server crash detected (signal SIGSEGV)
info (21138): Crash occurred in NSAPI SAF php4_execute
info (21138): Crash occurred in function _pthread_mutex_lock from module
/usr/lib/libthread.so.1
i had no errors at compilation time. i compiled with the following
command:
env \
CC=gcc \
CXX=g++ \
CFLAGS="-O2 -mv8 -mcpu=ultrasparc -I/local/include
-I/local/include/openssl -I/local/include/ucd-snmp
-I/local/include/c-client" \
CPPFLAGS="-I/local/include" \
LDFLAGS="-L/local/lib -R/local/lib -L/local/ssl/lib -R/local/ssl/lib
-L/local/lib/c-client -R/local/lib/c-client" \
TMPDIR="/tmp" \
./configure \
--prefix=/local \
--sysconfdir=/etc \
--localstatedir=/var \
--with-config-file-path=/etc/php/ \
--with-nsapi=/var/iplanet/servers \
--with-openssl=/local \
--with-db3=/local/BerkeleyDB-3.2 \
--with-imap-ssl=/local \
--with-imap=/local \
--with-ldap=/local \
--with-zlib=/usr \
--enable-sysvshm \
--enable-sysvsem \
--enable-track-vars \
--enable-force-cgi-redirect \
--with-gettext \
--with-regex=system \
--enable-inline-optimization
removing '--enable-inline-optimization' and '-mv8 -mcpu=ultrasparc'
didn't make any difference. any ideas?
--- End Message ---
--- Begin Message ---
FYI,
I have resolved this issue, by upgrading to PHP 4.1.0.
Initially when switiching to the new version of PHP I ran into an issue
with sapi_apache.c searching for httpd.h and a number of other Apache
include headers which were not in path since I was doing the --with-apxs
install instead of the --with-apache install.
However, I went ahead and ran configure with --with-apache and pointed
it to my apache source. Ran make. Reran configure with --with-apxs and
was able to compile properly because the sapi_apache.lo had already built
using the apache headers.
I saw that question several places in the archive and hadn't seen an
answer, so there's my work around for what it's worth.
Ted
On 2001.12.19 10:08 Ted Cox wrote:
> Apache 1.3.12, PHP 4.0.6, Solaris 2.6
>
> ./configure --with-apxs=/app/.o/Apache/Apache/bin/apxs
>
> checking for Apache module support via DSO through APXS... yes
>
> Initially I run into the stub.lo error, but I found a note in the
> archives and moved the file to stub.lo.old. Problem solved. Make
> works. Make install works. I try to start apache and get:
>
> Syntax error on line 243 of
> /app/oracle9iappsrv/Apache/Apache/conf/httpd.conf:
> Cannot load /app/oracle9iappsrv/Apache/Apache/libexec/libphp4.so into
> server: ld.so.1: /app/oracle9iappsrv/Apache/Apache/bin/httpd: fatal:
> relocation error: file
> /app/oracle9iappsrv/Apache/Apache/libexec/libphp4.so: symbol
> sapi_module: referenced symbol not found
> ./apachectl startssl: httpd could not be started
>
> I've searched all through the archives and noted a number of posts about
> similar problems (uncompress, gd, etc) and all of them have been solved
> with a simple --enable-<something> but I couldn't figure out what to
> enable for the sapi_module symbol.
>
> Any help would be much appreciated.
>
> Thanks,
> Ted Cox
>
>--
> 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]
--- End Message ---
--- Begin Message ---
FYI:
The problem resolved. Just copied php4ts.dll to windows' system
folder and it works well now. This was the only thing I forgot to do.
Alex
----- Original Message -----
From: "Alex Shi" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, December 18, 2001 6:45 PM
Subject: Re: [PHP-INST] PHP4 install with PWS4 on Win98
> Now I set extension_dir point to correct path in php.ini, the
> problem changed: it shows 500 internal server error.
> But when type "php -i" from dos shell it print full screen of
> correct html code......
>
> ----- Original Message -----
> From: "Alex Shi" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, December 18, 2001 5:41 PM
> Subject: [PHP-INST] PHP4 install with PWS4 on Win98
>
>
> > Hello, folks!
> >
> > I installed PHP4 on Windows 98 with PWS4. When I try to
> > run a very simple script, I got a just one line error message
> > "One of the library files needed to run this application cannot
> > be found". The script is very simple: "<? phpinfo(); ?>", so
> > I don't think the error has anything to do with it. Anyone has
> > idea what's wrong with it? Please help me out if you know
> > this issue. Thanks in advance!
> >
> > Alex Shi
> >
> >
> >
> >
> > --
> > 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]
> >
> >
>
>
> --
> 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]
>
>
--- End Message ---
--- Begin Message ---
Hello all.
This one really has me puzzled. This is the first time this has happened to
me... all the other (prior) versions of RedHat worked fine (in this
regard).
I purchased a new motherboard (133MHz bus & RAM as well as ATA 100) that has
an enbedded/onboard VIA C3 CPU on it (ostensibly Intel compatible according
to the dude in the store), in addition to on-board video/sound/NIC.
I downloaded RH7.2 from the RH web-site so that it would work with all the
new hardware.
It booted from the CD just fine, and installed just fine. Then, after
re-boot..... when trying to mount the CD-ROM.... it says...
"/dev/cdrom is not a valid block device"
I ran GNOME to see if I could run some other programs to "troubleshoot" the
situation, and I got several messages to the effect...
"make sure that CD-ROM support is compiled into the kernel..."
... well, in order to re-configure and re-compile the kernel.... you need
to copy the source from a CD..... (which cannot happen).
Has this happened to anyone else? Is this a bug? Is there a problem with
the kernel in the RH install download from the web-site? Anyone have any
ideas as to what to do?
The hard drive is on IDE0 and the CD-ROM is on IDE1 - both jumpered as
"master".
THANKS IN ADVANCE !!!!
Ray Harris
--- End Message ---
--- Begin Message ---
Hi,
hm don't you think you're on the wrong mailing list?????? This is a PHP
Mailing list (yes indeed it is a install Mailinglist but for php relevant
issues..). If you need to recompile your kernel, get the kernel from
www.kernel.org (you don't need to copy them from cd!)
Greetings,
Stefan Siefert
-----Ursprüngliche Nachricht-----
Von: Ray Harris (RR) [mailto:[EMAIL PROTECTED]]
Gesendet: Donnerstag, 20. Dezember 2001 00:55
An: [EMAIL PROTECTED]
Betreff: [PHP-INST] RH 7.2 - After Install ... No CD-ROM support
Hello all.
This one really has me puzzled. This is the first time this has happened to
me... all the other (prior) versions of RedHat worked fine (in this
regard).
I purchased a new motherboard (133MHz bus & RAM as well as ATA 100) that has
an enbedded/onboard VIA C3 CPU on it (ostensibly Intel compatible according
to the dude in the store), in addition to on-board video/sound/NIC.
I downloaded RH7.2 from the RH web-site so that it would work with all the
new hardware.
It booted from the CD just fine, and installed just fine. Then, after
re-boot..... when trying to mount the CD-ROM.... it says...
"/dev/cdrom is not a valid block device"
I ran GNOME to see if I could run some other programs to "troubleshoot" the
situation, and I got several messages to the effect...
"make sure that CD-ROM support is compiled into the kernel..."
... well, in order to re-configure and re-compile the kernel.... you need
to copy the source from a CD..... (which cannot happen).
Has this happened to anyone else? Is this a bug? Is there a problem with
the kernel in the RH install download from the web-site? Anyone have any
ideas as to what to do?
The hard drive is on IDE0 and the CD-ROM is on IDE1 - both jumpered as
"master".
THANKS IN ADVANCE !!!!
Ray Harris
--
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]
--- End Message ---
--- Begin Message ---
Hi !
I use Mandrake 8.1, Apache 1.3.22 and PHP 4.0.6.
My session variables are registered but obviously no value will be assigned.
My session data sess_d6997604db12a0a4311a9ef792bb64c1 looks like this:
!objUser|!test|
Under windows, the session variables in session data are written without
"!" . Can you please tell me what does "!" mean and how can I solve this
problem. It' very urgent as I try to migrate a complete system from Windows
to Linux inc. clients. If I can not solve this problem the project will be
realised under windows.
Please!
Regards
Ridvan
[EMAIL PROTECTED]
--- End Message ---