php-install Digest 4 Nov 2001 21:09:50 -0000 Issue 538

Topics (messages 4841 through 4849):

Can you help me about apache connect with php ?
        4841 by: edward.ita.org.mo
        4842 by: edward.ita.org.mo
        4843 by: Boyack, Kurt
        4844 by: edward.ita.org.mo
        4846 by: Gonzalez, Lorenzo

libphp4.so can't find libmysqlclient.so
        4845 by: Gonzalez, Lorenzo
        4847 by: Pierre-Alain Joye
        4848 by: Gonzalez, Lorenzo

unistalling PHP
        4849 by: Mr Lambru

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]


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


Dear All,

My System is Red Hat Linux 6.2...
When I finished the installation ( Apache , MySQL , Php ) , then the Web

Server ( Apache ) can't be good for working ( can't auto detect php
format ) with php3 ( *.php3 ) and php4 ( *.php )...
So, can you help me to solve the problem ?

the installation packages :

apache_1.3.20.tar.gz
mysql-3.23.41.tar.gz
php-4.0.6.tar.gz

installation steps :

Apache :
./configure --prefix=/usr/local/apache \
--enable-shared=max
make
make install
/usr/local/apache/bin/apachectl start

MySQL :
groupadd mysql
useradd -g mysql mysql
./configure --with-charset=big5
make
make install
scripts/mysql_install_db
chown -R root /usr/local/share/mysql
chown -R mysql /usr/local/var
chgrp -R mysql /usr/local/share/mysql
cp /usr/local/share/mysql/mysql.server /etc/rc.d/init.d/mysql
/etc/rc.d/init.d/mysql start

php ( php + apache ) :
./configure \
--with-mysql \
--with-apxs=/usr/local/apache/bin/apxs \
--with-imap \
--enable-versioning \
--enable-track-vars
make
make install
cp php.ini-dist /usr/local/lib/php.ini

Thank for your help !

Edward.







Hello,

My System is Red Hat Linux 6.2...
When I finished the installation ( Apache , MySQL , Php ) , then the Web

Server ( Apache ) can't be good for working ( can't auto detect php
format )
with php3 ( *.php3 ) and php4 ( *.php )...
So, can you help me to solve the problem ?

the installation packages :

apache_1.3.20.tar.gz
mysql-3.23.41.tar.gz
php-4.0.6.tar.gz

installation steps :

Apache :
./configure --prefix=/usr/local/apache \
--enable-shared=max
make
make install
/usr/local/apache/bin/apachectl start

MySQL :
groupadd mysql
useradd -g mysql mysql
./configure --with-charset=big5
make
make install
scripts/mysql_install_db
chown -R root /usr/local/share/mysql
chown -R mysql /usr/local/var
chgrp -R mysql /usr/local/share/mysql
cp /usr/local/share/mysql/mysql.server /etc/rc.d/init.d/mysql
/etc/rc.d/init.d/mysql start

php ( php + apache ) :
./configure \
--with-mysql \
--with-apxs=/usr/local/apache/bin/apxs \
--with-imap \
--enable-versioning \
--enable-track-vars
make
make install
cp php.ini-dist /usr/local/lib/php.ini

Thank for your help !

Edward.








Sounds like you need to uncomment the following line in your httpd.conf:

    AddType application/x-httpd-php .php



> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, November 04, 2001 12:44 AM
> To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: [PHP-INST] Can you help me about apache connect with php ?
> 
> 
> Dear All,
> 
> My System is Red Hat Linux 6.2...
> When I finished the installation ( Apache , MySQL , Php ) , 
> then the Web
> 
> Server ( Apache ) can't be good for working ( can't auto detect php
> format ) with php3 ( *.php3 ) and php4 ( *.php )...
> So, can you help me to solve the problem ?
> 
> the installation packages :
> 
> apache_1.3.20.tar.gz
> mysql-3.23.41.tar.gz
> php-4.0.6.tar.gz
> 
> installation steps :
> 
> Apache :
> ./configure --prefix=/usr/local/apache \
> --enable-shared=max
> make
> make install
> /usr/local/apache/bin/apachectl start
> 
> MySQL :
> groupadd mysql
> useradd -g mysql mysql
> ./configure --with-charset=big5
> make
> make install
> scripts/mysql_install_db
> chown -R root /usr/local/share/mysql
> chown -R mysql /usr/local/var
> chgrp -R mysql /usr/local/share/mysql
> cp /usr/local/share/mysql/mysql.server /etc/rc.d/init.d/mysql
> /etc/rc.d/init.d/mysql start
> 
> php ( php + apache ) :
> ./configure \
> --with-mysql \
> --with-apxs=/usr/local/apache/bin/apxs \
> --with-imap \
> --enable-versioning \
> --enable-track-vars
> make
> make install
> cp php.ini-dist /usr/local/lib/php.ini
> 
> Thank for your help !
> 
> Edward.
> 
> 
> 
> 
> -- 
> 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]
> 




Kurt Boyack wrote:

> Sounds like you need to uncomment the following line in your httpd.conf:
>
>     AddType application/x-httpd-php .php

Hello to you,

Now, I have just finished the reinstall Red Hat Linux System , Apache , php
and MySQL,
But when I start the apache ( web server ) after the re-installation and
uncomment the line, these is the error :

Syntax error on line 222 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: gss_mech_krb5
/usr/local/apache/bin/apachectl start: httpd could not be started

So, can you help me ? who can help me ?
Thanks you and all !

Edward.






Edward, at a glance, I'd guess you need to load the kerberos libs.
 
do this:
shell> rpm -qa | grep krb
 
on a RH7.2 you should at least see:
krb5-libs-1.2.2-13

if you don't, try installing krb5-libs-1.2.2-13.i386.rpm (at least,
that's what it is on RH7.2)
 
Regards,
Lorenzo
 

        -----Original Message----- 
        From: [EMAIL PROTECTED] 
        Sent: Sun 11/4/2001 9:35 AM 
        To: [EMAIL PROTECTED]; [EMAIL PROTECTED]; Kurt
Boyack 
        Cc: 
        Subject: Re: [PHP-INST] Can you help me about apache connect
with php ?
        
        

        Kurt Boyack wrote:
        
        > Sounds like you need to uncomment the following line in your
httpd.conf:
        >
        >     AddType application/x-httpd-php .php
        
        Hello to you,
        
        Now, I have just finished the reinstall Red Hat Linux System ,
Apache , php
        and MySQL,
        But when I start the apache ( web server ) after the
re-installation and
        uncomment the line, these is the error :
        
        Syntax error on line 222 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: gss_mech_krb5
        /usr/local/apache/bin/apachectl start: httpd could not be
started
        
        So, can you help me ? who can help me ?
        Thanks you and all !
        
        Edward.
        
        
        
        --
        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]
        
        





Hi everyone! I promise I tried to find this problem in the list
archives/FAQ - no luck!
 
Everything (apache/mysql/php) compiles nicely, with no complaints at
all, but, when Apache tries to load libphp4.so, it complains that it
can't find libmysqlclient.so.10
 
Before you tell me to load the dev RPM(s), etc, please take a quick look
at the configuration!
 
* RedHat 7.2, kernel 2.4.13 (intel smp, compiled from source)
* php 4.0.7, src in /opt/src/php-4.0.6
* Apache 1.3.22, src in /opt/src/apache_1.3.22, binary in
/opt/bin/apache
* MySql 3.23.43, src in /opt/src/mysql-3.23.43, binary in /opt/bin/mysql
 
the /opt/bin/* dirs are NOT symlinks, and everything is compiled from
source in /opt/src/*
 
* php compile options:
./configure --with-mysql=/opt/bin/mysql
--with-apxs=/opt/bin/apache/bin/apxs
 
* error:
shell> pwd
/opt/bin/apache/bin
shell> ./apachectl configtest
Syntax error on line 236 of /opt/bin/apache/conf/httpd.conf:
Cannot load /opt/bin/apache/libexec/libphp4.so into server:
libmysqlclient.so.10: cannot open shared object file: No such file or
directory
 
* line 236 of httpd.conf
LoadModule php4_module        libexec/libphp4.so
 
* confirmed:
Apache runs without libphp
MySql runs, and local clients can connect (/opt/bin/mysql/bin/mysql -p
for example)
php loads and runs IF ./configure --without-mysql
--with-apxs=/opt/bin/apache/bin/apxs
 
* tried:
copying mysql/lib to /usr/local/mysql/lib
copying mysql/lib/libphp4.so to /opt/bin/apache/libexec
 
* don't want to:
install RedHat default mysql
install RedHat default php
install RedHat default mysql
 
Thanks everyone! I sure hope this isn't an impossible configuration,
it's how I like to setup all my systems, and this is the first one where
the client is demanding php! Now what good is php without mysql to back
it up!?
 
Thanks and Best Regards,
Lorenzo Gonzalez






> shell> ./apachectl configtest
> Syntax error on line 236 of /opt/bin/apache/conf/httpd.conf:
Huh ? did you check this line ?

> libmysqlclient.so.10: cannot open shared object file: No such file or
check if the lib is available from libpath with
ldconfig -p | grep mysql

You must see a libmysqlclient.so.10, if you dont just create a link called 
libmysqlclient.so.10 in your /usr/local/lib ( /usr/local/lib must be in your libpath 
too).

hth

pa




Oh, you are a beautiful person, thank you.  Dropped a symlink to the
mysql lib into /usr/lib and all is well - silly me!
 
Thanks again!
Lorenzo

        -----Original Message----- 
        From: Pierre-Alain Joye 
        Sent: Sun 11/4/2001 11:08 AM 
        To: [EMAIL PROTECTED] 
        Cc: 
        Subject: Re: [PHP-INST] libphp4.so can't find libmysqlclient.so
        
        



        > shell> ./apachectl configtest
        > Syntax error on line 236 of /opt/bin/apache/conf/httpd.conf:
        Huh ? did you check this line ?
        
        > libmysqlclient.so.10: cannot open shared object file: No such
file or
        check if the lib is available from libpath with
        ldconfig -p | grep mysql
        
        You must see a libmysqlclient.so.10, if you dont just create a
link called libmysqlclient.so.10 in your /usr/local/lib ( /usr/local/lib
must be in your libpath too).
        
        hth
        
        pa
        
        --
        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]
        
        





I need an help.
I have installed PHP, now I simply want to remove it but there's no way to do it!
No uninstaller, no possibility to uninstall also from windows control panel.
What should I do?

Thanks in advantage
Lamberto Ruzzati


AltaVista Free email service


Reply via email to