php-install Digest 5 Feb 2003 14:38:47 -0000 Issue 1234

Topics (messages 9946 through 9950):

RedHat and RPM installation trouble
        9946 by: Christian Løverås

Problem php 4.3.0
        9947 by: Julieta Soto/Mexico/IBM

unique install, having problem
        9948 by: Benjamin Tomhave

Re: php files not being parsed -
        9949 by: Terry L. Ensley

PHP 4.3.0 on SuSE 8.1
        9950 by: Joaquim Homrighausen

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 ---
Hello!

My system (a mountain bike magazine) has been running without problems
for 2 years, but after I fiddled a little with IMP (and removed it), PHP
stopped working. I suspect the installation of IMP (with an RPM) did
"something", but I have no idea what.

I have removed PHP by using RPM, and my plan was to re-install PHP (by
using RPM), but all I get is this:

--------------
$ rpm -ivh php-4.1.2-7.2.6.i386.rpm
error: failed dependencies:
        libcurl.so.1   is needed by php-4.1.2-7.2.6
        libdb-3.2.so   is needed by php-4.1.2-7.2.6
        libltdl.so.3   is needed by php-4.1.2-7.2.6
        libpspell.so.4   is needed by php-4.1.2-7.2.6
---------------

I am not sure which PHP version I ran before deinstalling, but I get the
same when I try with an older RPM:

---------------
rpm -ivh php-4.0.6-7.i386.rpm
error: failed dependencies:
        libcurl.so.1   is needed by php-4.0.6-7
        libdb-3.2.so   is needed by php-4.0.6-7
        libltdl.so.3   is needed by php-4.0.6-7
        libpspell.so.4   is needed by php-4.0.6-7
----------------

I have looked around for packages providing these, but it is getting
more and more complicated with dependencies in all directions, and I
need HELP! :-}

This, for instance didn't help much:
-----------------
$ rpm -q --whatprovides libcurl
no package provides libcurl
-----------------

And since I leave for two weeks of vacation in 7 hours and nobody else
knows anything about Linux, it would be extremely helpful if someone
knew what to do.

System details:
- RedHat 7.2 upgraded to kernel 2.2.22-7.0.2smp
  (I run "up2date -u" every night)
- apache-1.3.27-1.7.1 (from RPM)
- All of these:
  openssl095a-0.9.5a-18
  openssh-3.1p1-6
  openssh-clients-3.1p1-6
  openssh-server-3.1p1-6
  openssl-0.9.6-13
  openssh-3.1p1-5
  openssh-3.1p1-6
  openssl-0.9.6b-28
  openssh-clients-3.1p1-6
  openssl096-0.9.6-13

ANY help appreciated - THANKS!

-- 
-- 
Christian

--- End Message ---
--- Begin Message ---



Hello:

I have a problem to install php 4.3.0
I have an AIX 4.3.3 system and Apache 2.0.43

The problem is after to run :

./configure --with-apxs2=/usr/local/apache2/bin/apxs

The error and warning are:

shtool:echo:Warning: unable to determine terminal sequence for bold mode
shtool:echo:Warning: unable to determine terminal sequence for bold mode
configure: warning: You will need bison if you want to regenerate the PHP
parser
s.
configure: warning: You will need flex 2.5.4 or later if you want to
regenerate
Zend/PHP lexical parsers.
configure: warning: You will need bison if you want to regenerate the Zend
parse
r.

./config.status[1706]: 6: bad file unit number
./config.status[1707]: 6: bad file unit number

After that I can't run make  and make install because I have  a lot of
errors.

I don't have installed mysql.


Thanks!!!

Julieta Soto Sánchez
IT/ Specialist  RS/6000
Strategic Outsourcing
IBM de México
Tel. (5) 2705794, Skytel PIN: 5662653
e-mail: [EMAIL PROTECTED]

--- End Message ---
--- Begin Message ---
Greetings,

I have a legacy site that has yet to migrated from 4.0.x to 4.3.x era code.
Ergo, I need to install PHP 4.0.6 on RedHat 8.0.  I'm configuring with the
following options:
        ./configure --prefix=/usr --with-mysql=/usr --with-apxs=/usr/sbin/apxs
This seems to work ok (well, ok, I get a warning about apxs, but I "fixed"
the script to make the error go away and this did not resolve the compile
error).

When I compile, I end up with the following (this is just the last few
lines).  I'm not exactly sure what the error really is that's causing the
compile to fail.  I do not see any other errors prior to this.  Was hoping
someone else might have experienced the same issue.  Regardless, hoping to
find a solution asap.  Anybody have any ideas?

make[3]: Leaving directory `/root/php-4.0.6/ext/xml'
make[2]: Leaving directory `/root/php-4.0.6/ext/xml'
make[1]: Leaving directory `/root/php-4.0.6/ext'
Making all in sapi
make[1]: Entering directory `/root/php-4.0.6/sapi'
Making all in apache
make[2]: Entering directory `/root/php-4.0.6/sapi/apache'
make[3]: Entering directory `/root/php-4.0.6/sapi/apache'
/bin/sh /root/php-4.0.6/libtool --silent --mode=compile
gcc  -I. -I/root/php-4.0.6/sapi/apache -I/root/php-4.0.6/main -I/root/php-4.
0.6 -I/usr/include/httpd -I/root/php-4.0.6/Zend -I/usr/include/mysql -I/root
/php-4.0.6/ext/xml/expat/xmltok -I/root/php-4.0.6/ext/xml/expat/xmlparse -I/
root/php-4.0.6/TSRM  -DSUPPORT_UTF8 -DXML_BYTE_ORDER=12 -g -O2  -c
sapi_apache.c
sapi_apache.c: In function `apache_php_module_main':
sapi_apache.c:80: `NOT_FOUND' undeclared (first use in this function)
sapi_apache.c:80: (Each undeclared identifier is reported only once
sapi_apache.c:80: for each function it appears in.)
make[3]: *** [sapi_apache.lo] Error 1
make[3]: Leaving directory `/root/php-4.0.6/sapi/apache'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/php-4.0.6/sapi/apache'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/php-4.0.6/sapi'
make: *** [all-recursive] Error 1


Thank you,

-ben

--------------------------------------------
Benjamin Tomhave, Senior Systems Engineer
[EMAIL PROTECTED]
Sofast Communications      www.sofast.net

--- End Message ---
--- Begin Message ---
I got it to run - I hate to admit this but I was trying to load the file
like an html file.  I did not know that I was to load it differently.

I used  - http://127.0.0.1:8080/test.php

I could not get - http://localhost/test.php  to work.

You can tell I am  rank beginner.  Any thoughts on why the localhost method
doesn't work.?

Thanks,

 Terry


--- End Message ---
--- Begin Message ---
What's this.. (I mean, I know what it is, but why does it happen)?


zypher:/opt/php-4.3.0 # make install

Installing PHP CLI binary:        /usr/local/bin/
Installing PHP SAPI module
[activating module `php4' in /usr/local/apache/conf/httpd.conf]
cp libs/libphp4.so /usr/local/apache/libexec/libphp4.so
chmod 755 /usr/local/apache/libexec/libphp4.so
cp /usr/local/apache/conf/httpd.conf /usr/local/apache/conf/httpd.conf.bak
cp /usr/local/apache/conf/httpd.conf.new /usr/local/apache/conf/httpd.conf
rm /usr/local/apache/conf/httpd.conf.new
Installing shared extensions:     
/usr/local/lib/php/extensions/no-debug-non-zts-20020429/
Installing PEAR environment:      /usr/local/lib/php/
make[1]: *** [install-pear-installer] Segmentation fault
make: *** [install-pear] Error 2

zypher:/opt/php-4.3.0 #



-Joaquim

___
WebbPlatsen i Sverige AB :: Box 827 :: S-10136 Stockholm, Sweden
Phone +46 8 54555470 :: Fax +46 8 54555479 :: www.webbplatsen.se

--- End Message ---

Reply via email to