PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Autres forums > Forum Programmation & Conception > comp.lang.php > Problems upgrading PHP install
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
Problems upgrading PHP install

Réponse
 
LinkBack Outils de la discussion
Vieux 25/04/2008, 17h36   #1
mechphisto@gmail.com
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Problems upgrading PHP install

I'm working on a friend's box, Fedora Core 6. It has PHP 5.1.6.
I need to install mcrypt into it, and the only way I can find to do it
is from source then recompile PHP. So I did all that, and got the
latest PHP, 5.2.5.
The ./configure finally went through OK. Make and make install. Then I
restarted Apache...
but the phpinfo() shows no change. It's still using 5.1.6.

When I run "php -v" from command line I get a huge error I'll include
below.
What did I miss in the installation? Any ideas where I should look for
an answer?
Thanks!
-L

[root@ip-72-167-14-5 php-5.2.5]# php -v
PHP Warning: PHP Startup: bcmath: Unable to initialize module
Module compiled with module API=20050922, debug=0, thread-safety=0
PHP compiled with module API=20060613, debug=0, thread-safety=0
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: dba: Unable to initialize module
Module compiled with module API=20050922, debug=0, thread-safety=0
PHP compiled with module API=20060613, debug=0, thread-safety=0
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: dom: Unable to initialize module
Module compiled with module API=20050922, debug=0, thread-safety=0
PHP compiled with module API=20060613, debug=0, thread-safety=0
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: gd: Unable to initialize module
Module compiled with module API=20050922, debug=0, thread-safety=0
PHP compiled with module API=20060613, debug=0, thread-safety=0
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: imap: Unable to initialize module
Module compiled with module API=20050922, debug=0, thread-safety=0
PHP compiled with module API=20060613, debug=0, thread-safety=0
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: ldap: Unable to initialize module
Module compiled with module API=20050922, debug=0, thread-safety=0
PHP compiled with module API=20060613, debug=0, thread-safety=0
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: mbstring: Unable to initialize module
Module compiled with module API=20050922, debug=0, thread-safety=0
PHP compiled with module API=20060613, debug=0, thread-safety=0
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: mysql: Unable to initialize module
Module compiled with module API=20050922, debug=0, thread-safety=0
PHP compiled with module API=20060613, debug=0, thread-safety=0
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: mysqli: Unable to initialize module
Module compiled with module API=20050922, debug=0, thread-safety=0
PHP compiled with module API=20060613, debug=0, thread-safety=0
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: ncurses: Unable to initialize module
Module compiled with module API=20050922, debug=0, thread-safety=0
PHP compiled with module API=20060613, debug=0, thread-safety=0
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: odbc: Unable to initialize module
Module compiled with module API=20050922, debug=0, thread-safety=0
PHP compiled with module API=20060613, debug=0, thread-safety=0
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: PDO: Unable to initialize module
Module compiled with module API=20050922, debug=0, thread-safety=0
PHP compiled with module API=20060613, debug=0, thread-safety=0
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: pdo_mysql: Unable to initialize module
Module compiled with module API=20050922, debug=0, thread-safety=0
PHP compiled with module API=20060613, debug=0, thread-safety=0
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: PDO_ODBC: Unable to initialize module
Module compiled with module API=20050922, debug=0, thread-safety=0
PHP compiled with module API=20060613, debug=0, thread-safety=0
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: pdo_pgsql: Unable to initialize module
Module compiled with module API=20050922, debug=0, thread-safety=0
PHP compiled with module API=20060613, debug=0, thread-safety=0
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: pdo_sqlite: Unable to initialize module
Module compiled with module API=20050922, debug=0, thread-safety=0
PHP compiled with module API=20060613, debug=0, thread-safety=0
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: pgsql: Unable to initialize module
Module compiled with module API=20050922, debug=0, thread-safety=0
PHP compiled with module API=20060613, debug=0, thread-safety=0
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: snmp: Unable to initialize module
Module compiled with module API=20050922, debug=0, thread-safety=0
PHP compiled with module API=20060613, debug=0, thread-safety=0
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: soap: Unable to initialize module
Module compiled with module API=20050922, debug=0, thread-safety=0
PHP compiled with module API=20060613, debug=0, thread-safety=0
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: xmlreader: Unable to initialize module
Module compiled with module API=20050922, debug=0, thread-safety=0
PHP compiled with module API=20060613, debug=0, thread-safety=0
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: xmlrpc: Unable to initialize module
Module compiled with module API=20050922, debug=0, thread-safety=0
PHP compiled with module API=20060613, debug=0, thread-safety=0
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: xmlwriter: Unable to initialize module
Module compiled with module API=20050922, debug=0, thread-safety=0
PHP compiled with module API=20060613, debug=0, thread-safety=0
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/
php/modules/xsl.so' - /usr/lib/php/modules/xsl.so: undefined symbol:
dom_node_class_entry in Unknown on line 0
PHP 5.2.5 (cli) (built: Apr 25 2008 09:26:51)
Copyright (c) 1997-2007 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
  Réponse avec citation
Vieux 25/04/2008, 18h12   #2
Jerry Stuckle
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Problems upgrading PHP install

mechphisto@gmail.com wrote:
> I'm working on a friend's box, Fedora Core 6. It has PHP 5.1.6.
> I need to install mcrypt into it, and the only way I can find to do it
> is from source then recompile PHP. So I did all that, and got the
> latest PHP, 5.2.5.
> The ./configure finally went through OK. Make and make install. Then I
> restarted Apache...
> but the phpinfo() shows no change. It's still using 5.1.6.
>
> When I run "php -v" from command line I get a huge error I'll include
> below.
> What did I miss in the installation? Any ideas where I should look for
> an answer?
> Thanks!
> -L
>
> [root@ip-72-167-14-5 php-5.2.5]# php -v
> PHP Warning: PHP Startup: bcmath: Unable to initialize module
> Module compiled with module API=20050922, debug=0, thread-safety=0
> PHP compiled with module API=20060613, debug=0, thread-safety=0
> These options need to match
> in Unknown on line 0
> PHP Warning: PHP Startup: dba: Unable to initialize module
> Module compiled with module API=20050922, debug=0, thread-safety=0
> PHP compiled with module API=20060613, debug=0, thread-safety=0
> These options need to match
> in Unknown on line 0
> PHP Warning: PHP Startup: dom: Unable to initialize module
> Module compiled with module API=20050922, debug=0, thread-safety=0
> PHP compiled with module API=20060613, debug=0, thread-safety=0
> These options need to match
> in Unknown on line 0
> PHP Warning: PHP Startup: gd: Unable to initialize module
> Module compiled with module API=20050922, debug=0, thread-safety=0
> PHP compiled with module API=20060613, debug=0, thread-safety=0
> These options need to match
> in Unknown on line 0
> PHP Warning: PHP Startup: imap: Unable to initialize module
> Module compiled with module API=20050922, debug=0, thread-safety=0
> PHP compiled with module API=20060613, debug=0, thread-safety=0
> These options need to match
> in Unknown on line 0
> PHP Warning: PHP Startup: ldap: Unable to initialize module
> Module compiled with module API=20050922, debug=0, thread-safety=0
> PHP compiled with module API=20060613, debug=0, thread-safety=0
> These options need to match
> in Unknown on line 0
> PHP Warning: PHP Startup: mbstring: Unable to initialize module
> Module compiled with module API=20050922, debug=0, thread-safety=0
> PHP compiled with module API=20060613, debug=0, thread-safety=0
> These options need to match
> in Unknown on line 0
> PHP Warning: PHP Startup: mysql: Unable to initialize module
> Module compiled with module API=20050922, debug=0, thread-safety=0
> PHP compiled with module API=20060613, debug=0, thread-safety=0
> These options need to match
> in Unknown on line 0
> PHP Warning: PHP Startup: mysqli: Unable to initialize module
> Module compiled with module API=20050922, debug=0, thread-safety=0
> PHP compiled with module API=20060613, debug=0, thread-safety=0
> These options need to match
> in Unknown on line 0
> PHP Warning: PHP Startup: ncurses: Unable to initialize module
> Module compiled with module API=20050922, debug=0, thread-safety=0
> PHP compiled with module API=20060613, debug=0, thread-safety=0
> These options need to match
> in Unknown on line 0
> PHP Warning: PHP Startup: odbc: Unable to initialize module
> Module compiled with module API=20050922, debug=0, thread-safety=0
> PHP compiled with module API=20060613, debug=0, thread-safety=0
> These options need to match
> in Unknown on line 0
> PHP Warning: PHP Startup: PDO: Unable to initialize module
> Module compiled with module API=20050922, debug=0, thread-safety=0
> PHP compiled with module API=20060613, debug=0, thread-safety=0
> These options need to match
> in Unknown on line 0
> PHP Warning: PHP Startup: pdo_mysql: Unable to initialize module
> Module compiled with module API=20050922, debug=0, thread-safety=0
> PHP compiled with module API=20060613, debug=0, thread-safety=0
> These options need to match
> in Unknown on line 0
> PHP Warning: PHP Startup: PDO_ODBC: Unable to initialize module
> Module compiled with module API=20050922, debug=0, thread-safety=0
> PHP compiled with module API=20060613, debug=0, thread-safety=0
> These options need to match
> in Unknown on line 0
> PHP Warning: PHP Startup: pdo_pgsql: Unable to initialize module
> Module compiled with module API=20050922, debug=0, thread-safety=0
> PHP compiled with module API=20060613, debug=0, thread-safety=0
> These options need to match
> in Unknown on line 0
> PHP Warning: PHP Startup: pdo_sqlite: Unable to initialize module
> Module compiled with module API=20050922, debug=0, thread-safety=0
> PHP compiled with module API=20060613, debug=0, thread-safety=0
> These options need to match
> in Unknown on line 0
> PHP Warning: PHP Startup: pgsql: Unable to initialize module
> Module compiled with module API=20050922, debug=0, thread-safety=0
> PHP compiled with module API=20060613, debug=0, thread-safety=0
> These options need to match
> in Unknown on line 0
> PHP Warning: PHP Startup: snmp: Unable to initialize module
> Module compiled with module API=20050922, debug=0, thread-safety=0
> PHP compiled with module API=20060613, debug=0, thread-safety=0
> These options need to match
> in Unknown on line 0
> PHP Warning: PHP Startup: soap: Unable to initialize module
> Module compiled with module API=20050922, debug=0, thread-safety=0
> PHP compiled with module API=20060613, debug=0, thread-safety=0
> These options need to match
> in Unknown on line 0
> PHP Warning: PHP Startup: xmlreader: Unable to initialize module
> Module compiled with module API=20050922, debug=0, thread-safety=0
> PHP compiled with module API=20060613, debug=0, thread-safety=0
> These options need to match
> in Unknown on line 0
> PHP Warning: PHP Startup: xmlrpc: Unable to initialize module
> Module compiled with module API=20050922, debug=0, thread-safety=0
> PHP compiled with module API=20060613, debug=0, thread-safety=0
> These options need to match
> in Unknown on line 0
> PHP Warning: PHP Startup: xmlwriter: Unable to initialize module
> Module compiled with module API=20050922, debug=0, thread-safety=0
> PHP compiled with module API=20060613, debug=0, thread-safety=0
> These options need to match
> in Unknown on line 0
> PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/
> php/modules/xsl.so' - /usr/lib/php/modules/xsl.so: undefined symbol:
> dom_node_class_entry in Unknown on line 0
> PHP 5.2.5 (cli) (built: Apr 25 2008 09:26:51)
> Copyright (c) 1997-2007 The PHP Group
> Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
>


You didn't recompile those modules when you recompiled PHP.

Everything needs to be at the same level.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

  Réponse avec citation
Vieux 25/04/2008, 18h18   #3
mechphisto@gmail.com
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Problems upgrading PHP install

On Apr 25, 12:12 pm, Jerry Stuckle <jstuck...@attglobal.net> wrote:
> mechphi...@gmail.com wrote:
> > I'm working on a friend's box, Fedora Core 6. It has PHP 5.1.6.
> > I need to install mcrypt into it, and the only way I can find to do it
> > is from source then recompile PHP. So I did all that, and got the
> > latest PHP, 5.2.5.
> > The ./configure finally went through OK. Make and make install. Then I
> > restarted Apache...
> > but the phpinfo() shows no change. It's still using 5.1.6.

>
> > When I run "php -v" from command line I get a huge error I'll include
> > below.
> > What did I miss in the installation? Any ideas where I should look for
> > an answer?
> > Thanks!
> > -L

>
> > [root@ip-72-167-14-5 php-5.2.5]# php -v
> > PHP Warning: PHP Startup: bcmath: Unable to initialize module
> > Module compiled with module API=20050922, debug=0, thread-safety=0
> > PHP compiled with module API=20060613, debug=0, thread-safety=0
> > These options need to match
> > in Unknown on line 0
> > PHP Warning: PHP Startup: dba: Unable to initialize module
> > Module compiled with module API=20050922, debug=0, thread-safety=0
> > PHP compiled with module API=20060613, debug=0, thread-safety=0
> > These options need to match
> > in Unknown on line 0
> > PHP Warning: PHP Startup: dom: Unable to initialize module
> > Module compiled with module API=20050922, debug=0, thread-safety=0
> > PHP compiled with module API=20060613, debug=0, thread-safety=0
> > These options need to match
> > in Unknown on line 0
> > PHP Warning: PHP Startup: gd: Unable to initialize module
> > Module compiled with module API=20050922, debug=0, thread-safety=0
> > PHP compiled with module API=20060613, debug=0, thread-safety=0
> > These options need to match
> > in Unknown on line 0
> > PHP Warning: PHP Startup: imap: Unable to initialize module
> > Module compiled with module API=20050922, debug=0, thread-safety=0
> > PHP compiled with module API=20060613, debug=0, thread-safety=0
> > These options need to match
> > in Unknown on line 0
> > PHP Warning: PHP Startup: ldap: Unable to initialize module
> > Module compiled with module API=20050922, debug=0, thread-safety=0
> > PHP compiled with module API=20060613, debug=0, thread-safety=0
> > These options need to match
> > in Unknown on line 0
> > PHP Warning: PHP Startup: mbstring: Unable to initialize module
> > Module compiled with module API=20050922, debug=0, thread-safety=0
> > PHP compiled with module API=20060613, debug=0, thread-safety=0
> > These options need to match
> > in Unknown on line 0
> > PHP Warning: PHP Startup: mysql: Unable to initialize module
> > Module compiled with module API=20050922, debug=0, thread-safety=0
> > PHP compiled with module API=20060613, debug=0, thread-safety=0
> > These options need to match
> > in Unknown on line 0
> > PHP Warning: PHP Startup: mysqli: Unable to initialize module
> > Module compiled with module API=20050922, debug=0, thread-safety=0
> > PHP compiled with module API=20060613, debug=0, thread-safety=0
> > These options need to match
> > in Unknown on line 0
> > PHP Warning: PHP Startup: ncurses: Unable to initialize module
> > Module compiled with module API=20050922, debug=0, thread-safety=0
> > PHP compiled with module API=20060613, debug=0, thread-safety=0
> > These options need to match
> > in Unknown on line 0
> > PHP Warning: PHP Startup: odbc: Unable to initialize module
> > Module compiled with module API=20050922, debug=0, thread-safety=0
> > PHP compiled with module API=20060613, debug=0, thread-safety=0
> > These options need to match
> > in Unknown on line 0
> > PHP Warning: PHP Startup: PDO: Unable to initialize module
> > Module compiled with module API=20050922, debug=0, thread-safety=0
> > PHP compiled with module API=20060613, debug=0, thread-safety=0
> > These options need to match
> > in Unknown on line 0
> > PHP Warning: PHP Startup: pdo_mysql: Unable to initialize module
> > Module compiled with module API=20050922, debug=0, thread-safety=0
> > PHP compiled with module API=20060613, debug=0, thread-safety=0
> > These options need to match
> > in Unknown on line 0
> > PHP Warning: PHP Startup: PDO_ODBC: Unable to initialize module
> > Module compiled with module API=20050922, debug=0, thread-safety=0
> > PHP compiled with module API=20060613, debug=0, thread-safety=0
> > These options need to match
> > in Unknown on line 0
> > PHP Warning: PHP Startup: pdo_pgsql: Unable to initialize module
> > Module compiled with module API=20050922, debug=0, thread-safety=0
> > PHP compiled with module API=20060613, debug=0, thread-safety=0
> > These options need to match
> > in Unknown on line 0
> > PHP Warning: PHP Startup: pdo_sqlite: Unable to initialize module
> > Module compiled with module API=20050922, debug=0, thread-safety=0
> > PHP compiled with module API=20060613, debug=0, thread-safety=0
> > These options need to match
> > in Unknown on line 0
> > PHP Warning: PHP Startup: pgsql: Unable to initialize module
> > Module compiled with module API=20050922, debug=0, thread-safety=0
> > PHP compiled with module API=20060613, debug=0, thread-safety=0
> > These options need to match
> > in Unknown on line 0
> > PHP Warning: PHP Startup: snmp: Unable to initialize module
> > Module compiled with module API=20050922, debug=0, thread-safety=0
> > PHP compiled with module API=20060613, debug=0, thread-safety=0
> > These options need to match
> > in Unknown on line 0
> > PHP Warning: PHP Startup: soap: Unable to initialize module
> > Module compiled with module API=20050922, debug=0, thread-safety=0
> > PHP compiled with module API=20060613, debug=0, thread-safety=0
> > These options need to match
> > in Unknown on line 0
> > PHP Warning: PHP Startup: xmlreader: Unable to initialize module
> > Module compiled with module API=20050922, debug=0, thread-safety=0
> > PHP compiled with module API=20060613, debug=0, thread-safety=0
> > These options need to match
> > in Unknown on line 0
> > PHP Warning: PHP Startup: xmlrpc: Unable to initialize module
> > Module compiled with module API=20050922, debug=0, thread-safety=0
> > PHP compiled with module API=20060613, debug=0, thread-safety=0
> > These options need to match
> > in Unknown on line 0
> > PHP Warning: PHP Startup: xmlwriter: Unable to initialize module
> > Module compiled with module API=20050922, debug=0, thread-safety=0
> > PHP compiled with module API=20060613, debug=0, thread-safety=0
> > These options need to match
> > in Unknown on line 0
> > PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/
> > php/modules/xsl.so' - /usr/lib/php/modules/xsl.so: undefined symbol:
> > dom_node_class_entry in Unknown on line 0
> > PHP 5.2.5 (cli) (built: Apr 25 2008 09:26:51)
> > Copyright (c) 1997-2007 The PHP Group
> > Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies

>
> You didn't recompile those modules when you recompiled PHP.
>
> Everything needs to be at the same level.
>


::blink blink::
You're kidding me.
Every one of those packages will need to be recompiled??! Seriously?
OK, that's asinine. I can't believe there's not a better way. I've
encountered a lot of hard issues regarding installations on Linux--but
this is the first one that seems ridiculous.
That's seriously the only way?
I have to download the source packages for each of those apps
mentioned, re configure/make them? That just doesn't seem right.
  Réponse avec citation
Vieux 25/04/2008, 18h48   #4
Jerry Stuckle
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Problems upgrading PHP install

mechphisto@gmail.com wrote:
> On Apr 25, 12:12 pm, Jerry Stuckle <jstuck...@attglobal.net> wrote:
>> mechphi...@gmail.com wrote:
>>> I'm working on a friend's box, Fedora Core 6. It has PHP 5.1.6.
>>> I need to install mcrypt into it, and the only way I can find to do it
>>> is from source then recompile PHP. So I did all that, and got the
>>> latest PHP, 5.2.5.
>>> The ./configure finally went through OK. Make and make install. Then I
>>> restarted Apache...
>>> but the phpinfo() shows no change. It's still using 5.1.6.
>>> When I run "php -v" from command line I get a huge error I'll include
>>> below.
>>> What did I miss in the installation? Any ideas where I should look for
>>> an answer?
>>> Thanks!
>>> -L
>>> [root@ip-72-167-14-5 php-5.2.5]# php -v
>>> PHP Warning: PHP Startup: bcmath: Unable to initialize module
>>> Module compiled with module API=20050922, debug=0, thread-safety=0
>>> PHP compiled with module API=20060613, debug=0, thread-safety=0
>>> These options need to match
>>> in Unknown on line 0
>>> PHP Warning: PHP Startup: dba: Unable to initialize module
>>> Module compiled with module API=20050922, debug=0, thread-safety=0
>>> PHP compiled with module API=20060613, debug=0, thread-safety=0
>>> These options need to match
>>> in Unknown on line 0
>>> PHP Warning: PHP Startup: dom: Unable to initialize module
>>> Module compiled with module API=20050922, debug=0, thread-safety=0
>>> PHP compiled with module API=20060613, debug=0, thread-safety=0
>>> These options need to match
>>> in Unknown on line 0
>>> PHP Warning: PHP Startup: gd: Unable to initialize module
>>> Module compiled with module API=20050922, debug=0, thread-safety=0
>>> PHP compiled with module API=20060613, debug=0, thread-safety=0
>>> These options need to match
>>> in Unknown on line 0
>>> PHP Warning: PHP Startup: imap: Unable to initialize module
>>> Module compiled with module API=20050922, debug=0, thread-safety=0
>>> PHP compiled with module API=20060613, debug=0, thread-safety=0
>>> These options need to match
>>> in Unknown on line 0
>>> PHP Warning: PHP Startup: ldap: Unable to initialize module
>>> Module compiled with module API=20050922, debug=0, thread-safety=0
>>> PHP compiled with module API=20060613, debug=0, thread-safety=0
>>> These options need to match
>>> in Unknown on line 0
>>> PHP Warning: PHP Startup: mbstring: Unable to initialize module
>>> Module compiled with module API=20050922, debug=0, thread-safety=0
>>> PHP compiled with module API=20060613, debug=0, thread-safety=0
>>> These options need to match
>>> in Unknown on line 0
>>> PHP Warning: PHP Startup: mysql: Unable to initialize module
>>> Module compiled with module API=20050922, debug=0, thread-safety=0
>>> PHP compiled with module API=20060613, debug=0, thread-safety=0
>>> These options need to match
>>> in Unknown on line 0
>>> PHP Warning: PHP Startup: mysqli: Unable to initialize module
>>> Module compiled with module API=20050922, debug=0, thread-safety=0
>>> PHP compiled with module API=20060613, debug=0, thread-safety=0
>>> These options need to match
>>> in Unknown on line 0
>>> PHP Warning: PHP Startup: ncurses: Unable to initialize module
>>> Module compiled with module API=20050922, debug=0, thread-safety=0
>>> PHP compiled with module API=20060613, debug=0, thread-safety=0
>>> These options need to match
>>> in Unknown on line 0
>>> PHP Warning: PHP Startup: odbc: Unable to initialize module
>>> Module compiled with module API=20050922, debug=0, thread-safety=0
>>> PHP compiled with module API=20060613, debug=0, thread-safety=0
>>> These options need to match
>>> in Unknown on line 0
>>> PHP Warning: PHP Startup: PDO: Unable to initialize module
>>> Module compiled with module API=20050922, debug=0, thread-safety=0
>>> PHP compiled with module API=20060613, debug=0, thread-safety=0
>>> These options need to match
>>> in Unknown on line 0
>>> PHP Warning: PHP Startup: pdo_mysql: Unable to initialize module
>>> Module compiled with module API=20050922, debug=0, thread-safety=0
>>> PHP compiled with module API=20060613, debug=0, thread-safety=0
>>> These options need to match
>>> in Unknown on line 0
>>> PHP Warning: PHP Startup: PDO_ODBC: Unable to initialize module
>>> Module compiled with module API=20050922, debug=0, thread-safety=0
>>> PHP compiled with module API=20060613, debug=0, thread-safety=0
>>> These options need to match
>>> in Unknown on line 0
>>> PHP Warning: PHP Startup: pdo_pgsql: Unable to initialize module
>>> Module compiled with module API=20050922, debug=0, thread-safety=0
>>> PHP compiled with module API=20060613, debug=0, thread-safety=0
>>> These options need to match
>>> in Unknown on line 0
>>> PHP Warning: PHP Startup: pdo_sqlite: Unable to initialize module
>>> Module compiled with module API=20050922, debug=0, thread-safety=0
>>> PHP compiled with module API=20060613, debug=0, thread-safety=0
>>> These options need to match
>>> in Unknown on line 0
>>> PHP Warning: PHP Startup: pgsql: Unable to initialize module
>>> Module compiled with module API=20050922, debug=0, thread-safety=0
>>> PHP compiled with module API=20060613, debug=0, thread-safety=0
>>> These options need to match
>>> in Unknown on line 0
>>> PHP Warning: PHP Startup: snmp: Unable to initialize module
>>> Module compiled with module API=20050922, debug=0, thread-safety=0
>>> PHP compiled with module API=20060613, debug=0, thread-safety=0
>>> These options need to match
>>> in Unknown on line 0
>>> PHP Warning: PHP Startup: soap: Unable to initialize module
>>> Module compiled with module API=20050922, debug=0, thread-safety=0
>>> PHP compiled with module API=20060613, debug=0, thread-safety=0
>>> These options need to match
>>> in Unknown on line 0
>>> PHP Warning: PHP Startup: xmlreader: Unable to initialize module
>>> Module compiled with module API=20050922, debug=0, thread-safety=0
>>> PHP compiled with module API=20060613, debug=0, thread-safety=0
>>> These options need to match
>>> in Unknown on line 0
>>> PHP Warning: PHP Startup: xmlrpc: Unable to initialize module
>>> Module compiled with module API=20050922, debug=0, thread-safety=0
>>> PHP compiled with module API=20060613, debug=0, thread-safety=0
>>> These options need to match
>>> in Unknown on line 0
>>> PHP Warning: PHP Startup: xmlwriter: Unable to initialize module
>>> Module compiled with module API=20050922, debug=0, thread-safety=0
>>> PHP compiled with module API=20060613, debug=0, thread-safety=0
>>> These options need to match
>>> in Unknown on line 0
>>> PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/
>>> php/modules/xsl.so' - /usr/lib/php/modules/xsl.so: undefined symbol:
>>> dom_node_class_entry in Unknown on line 0
>>> PHP 5.2.5 (cli) (built: Apr 25 2008 09:26:51)
>>> Copyright (c) 1997-2007 The PHP Group
>>> Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies

>> You didn't recompile those modules when you recompiled PHP.
>>
>> Everything needs to be at the same level.
>>

>
> ::blink blink::
> You're kidding me.
> Every one of those packages will need to be recompiled??! Seriously?
> OK, that's asinine. I can't believe there's not a better way. I've
> encountered a lot of hard issues regarding installations on Linux--but
> this is the first one that seems ridiculous.
> That's seriously the only way?
> I have to download the source packages for each of those apps
> mentioned, re configure/make them? That just doesn't seem right.
>


Libraries are often times level sensitive - as in this case. If you
want to recompile PHP, you need to recompile the modules it uses, also.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

  Réponse avec citation
Vieux 25/04/2008, 23h17   #5
Álvaro G. Vicario
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Problems upgrading PHP install

*** mechphisto@gmail.com escribió/wrote (Fri, 25 Apr 2008 09:36:35 -0700
(PDT)):
> I'm working on a friend's box, Fedora Core 6. It has PHP 5.1.6.
> I need to install mcrypt into it, and the only way I can find to do it
> is from source then recompile PHP. So I did all that, and got the
> latest PHP, 5.2.5.
> The ./configure finally went through OK. Make and make install. Then I
> restarted Apache...


I may suggest you download the original Fedora 6 SRPM package for PHP.
Install it with the typical "rpm -ivh php-blah.src.rpm" and then find the
php.spec file somewhere in /usr/src/. If you edit that file properly, you
can build the source package with "rpmbuild -ba php.spec" and get a handy
php-mcrypt RPM package you can install on top of your previous
installation. I can't assist you on the exact details because I left my
notes in a previous job... but it's not too difficult.


--
-- http://alvaro.es - Álvaro G. Vicario - Burgos, Spain
-- Mi sitio sobre programación web: http://bits.demogracia.com
-- Mi web de humor en cubitos: http://www.demogracia.com
--
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 05h16.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,26320 seconds with 13 queries