php-install Digest 28 Aug 2002 17:15:38 -0000 Issue 997

Topics (messages 8234 through 8242):

Newbie Suse Php Apache MySQL Death
        8234 by: Sean M. Mayhew

Installation problem
        8235 by: Hassan Abolhassani
        8236 by: Hassan Abolhassani

Re: win xp, apache 2.40, and php4.2.2
        8237 by: Timothy Sawyers

W2K/PHP4.2.2 yet another problem
        8238 by: Peska Robert

use curl.so with php4.1.0 and apache1.3.22 and curl7.9.8
        8239 by: steker
        8241 by: Jim Thome

Problems with PHP 4.2.2 and *IMAP*
        8240 by: Ryan Faricy

Apache doesn't seem to send scripts to the interpreter
        8242 by: Thomas Deschamps

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 ---
Im very new to linux so I decided to begin my journey with what is touted as
one of the most user friendly distros Suse 8.0. After finding my way around
the GUI I started making my way through the Shells. However I've run from
one problem to the next.

1. After following every tutorial I could find on getting Apache installed I
found that one of the most popular commands "Make" and "Make Install" was
not even installed with my original distro I had to pull it off one of the
cds. (I found that perl and my gcc or c compiler was similar) I found this
on accident when I was looking for a basic binary to install.

2. After that I ran into some apxs error.

3. Finally get localhost to display the Apache installed page and try to
install Php with any number of directory errors and the like including the
apxs error.

4. Skip the crap apache install that I cant even tell whats working with the
exception of the localhost page. Try installing MySql which seems to be
going okay until I try to get into mysqladmin and get a constant error that
the service basically is not running.

I've gone through every single help file in the tar.gz's in each app (which
is basically a mirror of whats on the site) Is this a problem with my
distrobution can anybody send me somewhere (other than the standard
apache,php,mysql home pages) I'm pulling my hair out here and am about 2
command lines from dumping linux from the partition and sticking to windows
for life. I know and understand the performance possibilities with linux but
just getting 3 simple products to work is about more than I can take.
Help!!!!!

Thanks In advance
[EMAIL PROTECTED]


--- End Message ---
--- Begin Message ---
OS: LINUX Redhat 7.x
php version: 4.2.2

I am trying to build php using:
./configure --enable-xslt --with-expat --with-xslt-sablot --with-mysql 
--with-apxs=/usr/local/apache/bin/apxs

Configure is successful but when i try to make following errors appaears:

/bin/sh /home/habolhas/php-4.2.2/libtool --silent --mode=link gcc  -I. -I/home/h
abolhas/php-4.2.2/ -I/home/habolhas/php-4.2.2/main -I/home/habolhas/php-4.2.2 -I
/usr/local/apache/include -I/home/habolhas/php-4.2.2/Zend -I/home/habolhas/php-4
.2.2/ext/mysql/libmysql -I/home/habolhas/php-4.2.2/ext/xml/expat -I/usr/local/in
clude  -DLINUX=22 -DNO_DBM_REWRITEMAP -DUSE_HSREGEX -DUSE_EXPAT -I/home/habolhas
/php-4.2.2/TSRM -g -O2 -prefer-pic   -o libphp4.la -rpath /home/habolhas/php-4.2
.2/libs -avoid-version -L/usr/local/lib  -R /usr/local/lib stub.lo  Zend/libZend
.la sapi/apache/libsapi.la main/libmain.la regex/libregex.la /home/habolhas/php-
4.2.2/ext/ctype/libctype.la /home/habolhas/php-4.2.2/ext/mysql/libmysql.la /home
/habolhas/php-4.2.2/ext/pcre/libpcre.la /home/habolhas/php-4.2.2/ext/posix/libpo
six.la /home/habolhas/php-4.2.2/ext/session/libsession.la /home/habolhas/php-4.2
.2/ext/standard/libstandard.la /home/habolhas/php-4.2.2/ext/xml/libxml.la /home/
habolhas/php-4.2.2/ext/xslt/libxslt.la TSRM/libtsrm.la -lsablot -lexpat -lcrypt
-lresolv -lm -ldl -lnsl -lresolv -lcrypt -ldl
/home/habolhas/php-4.2.2/ext/xslt/.libs/libxslt.al(sablot.lo): In function `zm_s
tartup_xslt':
/home/habolhas/php-4.2.2/ext/xslt/sablot.c:153: multiple definition of `SXPF_DIS
POSE_NAMES'
main/.libs/libmain.al(internal_functions.lo):/home/habolhas/php-4.2.2/main/inter
nal_functions.c:59: first defined here
/home/habolhas/php-4.2.2/ext/xslt/.libs/libxslt.al(sablot.lo): In function `zm_s
tartup_xslt':
/home/habolhas/php-4.2.2/ext/xslt/sablot.c:153: multiple definition of `SXPF_DIS
POSE_VALUES'
main/.libs/libmain.al(internal_functions.lo):/home/habolhas/php-4.2.2/main/inter
nal_functions.c:59: first defined here
/home/habolhas/php-4.2.2/ext/xslt/.libs/libxslt.al(sablot.lo): In function `zm_s
tartup_xslt':
/home/habolhas/php-4.2.2/ext/xslt/sablot.c:153: multiple definition of `SXPF_SUP
PORTS_UNPARSED_ENTITIES'
main/.libs/libmain.al(internal_functions.lo):/home/habolhas/php-4.2.2/main/inter
nal_functions.c:59: first defined here
collect2: ld returned 1 exit status
make[1]: *** [libphp4.la] Error 1
make[1]: Leaving directory `/home/habolhas/php-4.2.2'
make: *** [all-recursive] Error 1

Can anybody help me to resolve this.

Thanks
--- End Message ---
--- Begin Message ---
OS: LINUX Redhat 7.x
php version: 4.2.2

I am trying to build php using:
./configure --enable-xslt --with-expat --with-xslt-sablot --with-mysql 
--with-apxs=/usr/local/apache/bin/apxs

Configure is successful but when i try to make following errors appaears:

/bin/sh /home/habolhas/php-4.2.2/libtool --silent --mode=link gcc  -I. -I/home/h
abolhas/php-4.2.2/ -I/home/habolhas/php-4.2.2/main -I/home/habolhas/php-4.2.2 -I
/usr/local/apache/include -I/home/habolhas/php-4.2.2/Zend -I/home/habolhas/php-4
.2.2/ext/mysql/libmysql -I/home/habolhas/php-4.2.2/ext/xml/expat -I/usr/local/in
clude  -DLINUX=22 -DNO_DBM_REWRITEMAP -DUSE_HSREGEX -DUSE_EXPAT -I/home/habolhas
/php-4.2.2/TSRM -g -O2 -prefer-pic   -o libphp4.la -rpath /home/habolhas/php-4.2
.2/libs -avoid-version -L/usr/local/lib  -R /usr/local/lib stub.lo  Zend/libZend
.la sapi/apache/libsapi.la main/libmain.la regex/libregex.la /home/habolhas/php-
4.2.2/ext/ctype/libctype.la /home/habolhas/php-4.2.2/ext/mysql/libmysql.la /home
/habolhas/php-4.2.2/ext/pcre/libpcre.la /home/habolhas/php-4.2.2/ext/posix/libpo
six.la /home/habolhas/php-4.2.2/ext/session/libsession.la /home/habolhas/php-4.2
.2/ext/standard/libstandard.la /home/habolhas/php-4.2.2/ext/xml/libxml.la /home/
habolhas/php-4.2.2/ext/xslt/libxslt.la TSRM/libtsrm.la -lsablot -lexpat -lcrypt
-lresolv -lm -ldl -lnsl -lresolv -lcrypt -ldl
/home/habolhas/php-4.2.2/ext/xslt/.libs/libxslt.al(sablot.lo): In function `zm_s
tartup_xslt':
/home/habolhas/php-4.2.2/ext/xslt/sablot.c:153: multiple definition of `SXPF_DIS
POSE_NAMES'
main/.libs/libmain.al(internal_functions.lo):/home/habolhas/php-4.2.2/main/inter
nal_functions.c:59: first defined here
/home/habolhas/php-4.2.2/ext/xslt/.libs/libxslt.al(sablot.lo): In function `zm_s
tartup_xslt':
/home/habolhas/php-4.2.2/ext/xslt/sablot.c:153: multiple definition of `SXPF_DIS
POSE_VALUES'
main/.libs/libmain.al(internal_functions.lo):/home/habolhas/php-4.2.2/main/inter
nal_functions.c:59: first defined here
/home/habolhas/php-4.2.2/ext/xslt/.libs/libxslt.al(sablot.lo): In function `zm_s
tartup_xslt':
/home/habolhas/php-4.2.2/ext/xslt/sablot.c:153: multiple definition of `SXPF_SUP
PORTS_UNPARSED_ENTITIES'
main/.libs/libmain.al(internal_functions.lo):/home/habolhas/php-4.2.2/main/inter
nal_functions.c:59: first defined here
collect2: ld returned 1 exit status
make[1]: *** [libphp4.la] Error 1
make[1]: Leaving directory `/home/habolhas/php-4.2.2'
make: *** [all-recursive] Error 1

Can anybody help me to resolve this.

Thanks
--- End Message ---
--- Begin Message ---
Ok I took your advice and got the latest stable version.4.2.3.dev it will
run in apache 2.40. That version seems to be slower and just a bit more
fussy then older versions.

A few general questions for any one that knows.

    Who is snap.php.net? is it the windows side of php.net?
    How early in development is php4.2.3dev?
    Why is there no web interface to snaps.php.net?

thanks for the help.
know running apache 2.40, php4.2.3dev, winxp, @ http://timrus.no-ip.com.

"Arch" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> This seems to be a recurring problem. Going to http://snaps.php.net/win32
> and downloading the most recent stable version
> (php4-win32-STABLE-latest.zip) will provide the necessary php4apache2.dll
> file.
>
> I haven't tried apache 2.0.40 with php4.2.2, but had the same problem with
> 2.0.39 and 4.2.1. Replacing the sapi module with the one from the latest
> stable version took care of it.
>
>
>
>


--- End Message ---
--- Begin Message ---
I get alwayas the error message:
Use of undefined constant left - assumed 'xxx' in yy.php

seems like variables are not handled well....

Iīm sure there is something to configure in php.ini, but I donīt have any
idea what to do.

mfg
Robert Peska

System-Assistant
mailto:[EMAIL PROTECTED]
Tel: +43 1 53 170/143

Der Standard Verlagsges.m.b.H
Herrengasse 19-21
1010 Wien


--- End Message ---
--- Begin Message ---
When I restart apache this is the message:

Stopping httpd:                                            [  OK  ]
Starting httpd: PHP Warning:  Unable to load dynamic library
'/usr/lib/php4/curl.so' - /usr/lib/php4/curl.so: cannot open shared object
file: No such file or directory in Unknown on line 0
                                                           [  OK  ]


Help me please ?

Saluti Stefano




--- End Message ---
--- Begin Message ---
Check the permissions on '/usr/lib/php4/curl.so' .

>>> "steker" <[EMAIL PROTECTED]> 08/28/02 03:13AM >>>
When I restart apache this is the message:

Stopping httpd:                                            [  OK  ]
Starting httpd: PHP Warning:  Unable to load dynamic library
'/usr/lib/php4/curl.so' - /usr/lib/php4/curl.so: cannot open shared object
file: No such file or directory in Unknown on line 0
                                                           [  OK  ]


Help me please ?

Saluti Stefano





-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php 


--- End Message ---
--- Begin Message ---
Yes. Another poor soul who is having problems with PHP and installing the
IMAP library. I've installed Apache 1.3.26, PHP 4.2.2 and MySQL and they all
work just fine together. But I want IMAP as well, because I want my webmail
app to work.

I compiled PHP like so:
$    ./configure --with-apache=[valid path to apache
source] --with-imap --with-kerberos
and there were no errors to speak of.

It created many of these files in my php-source-directory/ext/imap:
config.m4  imap.dsp              libimap.la  Makefile     php_imap.c
php_imap.lo  setup.stub
CREDITS    IMAP_Win32_HOWTO.txt  libs.mk     Makefile.in  php_imap.h
php_imap.o

The only file that is missing from my entire system - I have looked - is
php_imap.so. Oh sure, php_imap.LO is here, but no php_imap.so. And so Apache
barfs but keeps going when I go and start it:

[root@ns apache_1.3.26]# /etc/rc.d/init.d/apache start
PHP Warning:  Unable to load dynamic library '/usr/local/lib/php_imap.so' -
/usr/local/lib/php_imap.so: No such file or directory

Of course, I know it isn't in /usr/local/lib but it isn't anywhere on my
system. How do I get this gosh darn php_imap.so file??

I would graciously appreciate a reply by email because these are such active
groups. Thank you.

Ryan Faricy


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

After looking an the archives, FAQ, etc... I am coming to you to find an
answer:

My browser displays the context of the php files instead of anything
else.
I cannot obtain the server to send them to the php interpreter.
My configuration is:

-> RedHat 7.2, including php-4.0.6-15, and apache-1.3.22-2

I did NOT install any of these programs, I just took them as they were
part of the linux distribution
I looked into httpd.conf and found

<IfDefine HAVE_PERL>
LoadModule perl_module        modules/libperl.so
</IfDefine>
<IfDefine HAVE_PHP>
LoadModule php_module         modules/mod_php.so
</IfDefine>
<IfDefine HAVE_PHP3>
LoadModule php3_module        modules/libphp3.so
</IfDefine>
<IfDefine HAVE_PHP4>
LoadModule php4_module        modules/libphp4.so
</IfDefine>

....

<IfDefine HAVE_PERL>
AddModule mod_perl.c
</IfDefine>
<IfDefine HAVE_PHP>
AddModule mod_php.c
</IfDefine>
<IfDefine HAVE_PHP3>
AddModule mod_php3.c
</IfDefine>
<IfDefine HAVE_PHP4>
AddModule mod_php4.c
</IfDefine>

...

IfModule mod_php4.c>
  AddType application/x-httpd-php .php4 .php3 .phtml .php
  AddType application/x-httpd-php-source .phps
</IfModule>

# The following is for PHP3:
<IfModule mod_php3.c>
  AddType application/x-httpd-php3 .php3
  AddType application/x-httpd-php3-source .phps
</IfModule>

# The following is for PHP/FI (PHP2):
<IfModule mod_php.c>
  AddType application/x-httpd-php .phtml
</IfModule>

-------------------------------------------------------------

Anyway, the browser displays the content of the php script. ANd I did
not find how to check if HAVE_PHP macro is working
Is there anything I can do to prevent this?

Thomas ([EMAIL PROTECTED])

--- End Message ---

Reply via email to