Pagina 1 di 4 1 2 3 ... ultimoultimo
Visualizzazione dei risultati da 1 a 10 su 33
  1. #1
    Utente di HTML.it
    Registrato dal
    Feb 2004
    Messaggi
    910

    [Mandrake] Ricompilare php

    SAlve a tutti!
    Ho installato php apache e mysql da urpmi, vanno tutti alla grande, ho solo un problema, quando utilizzo le socket con php mi da sempre questo errore.
    codice:
    Fatal error: Call to undefined function: socket_create()
    Ho chiesto sul forum di php, qual'era il motivo di questo errore, e mi hanno detto di ricompilare il pacchetto php con l'opzione --enable-sockets.
    ora, avendo installato tutto da urpmi, come posso fare?
    se installo da pacchetti presi dai rispettivi siti, ogni volta che esce un aggiornamento devo scaricare nuovamente i pacchetti e installarli di nuovo invece con urpmi con un --auto-select mi aggiornava tutto, devo per forza cancellare tutto ed installarlo dai pacchetti?
    grazie ragà

  2. #2
    Utente di HTML.it
    Registrato dal
    Feb 2004
    Messaggi
    910
    up
    Nessuno utilizza php con linux?

  3. #3
    te l'avevo scritto nell'altro thread
    http://freephp.html.it/articoli/view...olo.asp?id=118

    se hai problemi posta, l'avrò fatto un centinaio di volte
    debian:~$ uname -r
    2.6.18-1-686
    debian:~$

    Il quiz manager è nato!!! visitate http://shenk.altervista.org !!

  4. #4
    Utente di HTML.it
    Registrato dal
    Oct 2002
    Messaggi
    2,894

    Nessuno utilizza php con linux?

  5. #5
    Utente di HTML.it
    Registrato dal
    Feb 2004
    Messaggi
    910
    Originariamente inviato da Shenk87
    te l'avevo scritto nell'altro thread
    http://freephp.html.it/articoli/view...olo.asp?id=118

    se hai problemi posta, l'avrò fatto un centinaio di volte
    Non lo voglio installare dai pacchetti, perchè poi se devo aggiornare? come faccio?
    cancello tutto, e ricompilo tutto
    grazie

  6. #6
    http://it2.php.net/configure

    non è che devi attivare le funzioni sui socket via configure?

  7. #7
    Utente di HTML.it
    Registrato dal
    Feb 2004
    Messaggi
    910
    Originariamente inviato da osvi
    http://it2.php.net/configure

    non è che devi attivare le funzioni sui socket via configure?
    Si è proprio quello, però ho un dubbio...
    Se installo dai pacchetti seguendo anche la guida postata da
    Shenk87 come faccio ad aggiornare tutto una volta che escono aggiornamenti?Devo disinstallare tutto?
    Grazie ancora per le delucidazioni..

  8. #8
    uhm vai un secondo in rpmdrake "installa software"
    fai una ricerca per php

    esce php-mysql, php-xml, ecc
    guarda se c'è qualcosa legato ai socket

  9. #9
    Utente di HTML.it
    Registrato dal
    Feb 2004
    Messaggi
    910
    Originariamente inviato da osvi
    uhm vai un secondo in rpmdrake "installa software"
    fai una ricerca per php

    esce php-mysql, php-xml, ecc
    guarda se c'è qualcosa legato ai socket
    Per non sapere ne leggere e ne scrivere installo tutti i pacchetti che mi elenca...Perchè non ho trovato nessuna descrizione relativa ai sockets, speriamo bene, instanto con rpmdrake posso disinstallarli se non mi servono...
    :rollo:

  10. #10
    Utente di HTML.it
    Registrato dal
    Feb 2004
    Messaggi
    910
    Stò provando la guida, mi da errore quando installao mysql
    quando do questo comando
    codice:
    ./configure --prefix=/usr/local/mysql-3.23.32-pc-bsdi4.2-i386
    ecco tutto l'errore che ricevo, ecco perchè non ero mai andato avanti con questa guida, perchè mi ricordo di essermi fermato a questo punto:
    Ecco l'errore:


    codice:
    NOTE: This is a MySQL binary distribution. It's ready to run, you don't
    need to configure it!
    
    To help you a bit, I am now going to create the needed MySQL databases
    and start the MySQL server for you.  If you run into any trouble, please
    consult the MySQL manual, that you can find in the Docs directory.
    
    ./scripts/mysql_install_db: line 73: ./bin/my_print_defaults: No such file or directory
    WARNING: The host '192.168.0.100' could not be looked up with resolveip.
    This probably means that your libc libraries are not 100 % compatible
    with this binary MySQL version. The MySQL deamon, mysqld, should work
    normally with the exception that host name resolving will not work.
    This means that you should use IP addresses instead of hostnames
    when specifying MySQL privileges !
    Preparing db table
    Preparing host table
    Preparing user table
    Preparing func table
    Preparing tables_priv table
    Preparing columns_priv table
    Installing all prepared tables
    ./scripts/mysql_install_db: line 285: ./bin/mysqld: No such file or directory
    Installation of grant tables failed!
    
    Examine the logs in ./data for more information.
    You can also try to start the mysqld demon with:
    ./bin/mysqld --skip-grant &
    You can use the command line tool
    ./bin/mysql to connect to the mysql
    database and look at the grant tables:
    
    shell> ./bin/mysql -u root mysql
    mysql> show tables
    
    Try 'mysqld --help' if you have problems with paths. Using --log
    gives you a log in ./data that may be helpful.
    
    The latest information about MySQL is available on the web at
    http://www.mysql.com
    Please consult the MySQL manual section: 'Problems running mysql_install_db',
    and the manual section that describes problems on your OS.
    Another information source is the MySQL email archive.
    Please check all of the above before mailing us!
    And if you do mail us, you MUST use the ./bin/mysqlbug script!
    [root@192 mysql-3.23.32-pc-bsdi4.2-i386]# make
    make: *** No targets specified and no makefile found.  Stop.
    Che devo fare a questo punto?
    Apache si è installato alla grande, sono fermo a mysql...
    help

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.