Visualizzazione dei risultati da 1 a 3 su 3
  1. #1
    Utente di HTML.it
    Registrato dal
    Dec 2004
    Messaggi
    25

    Estensioni dinamiche (dove si settano?)

    In che parte del file php.ini si può inserire l'estensione dinamica extension=mysql.so ?

    Nel file ho trovato solo questa indicazione, ma non dove si deve attuare.

    codice:
    ;;;;;;;;;;;;;;;;;;;;;;
    ; Dynamic Extensions ;
    ;;;;;;;;;;;;;;;;;;;;;;
    ;
    ; If you wish to have an extension loaded automatically, use the following
    ; syntax:
    ;
    ;   extension=modulename.extension
    ;
    ; For example:
    ;
    ;   extension=msql.so
    ;
    ; Note that it should be the name of the module only; no directory information 
    ; needs to go here.  Specify the location of the extension with the
    ; extension_dir directive above.
    
    
    ;;;;
    ; Note: packaged extension modules are now loaded via the .ini files
    ; found in the directory /etc/php.d; these are loaded by default.
    ;;;;

  2. #2
    non ne sono sicuro ma penso basti metterla senza il punto e virgola davanti ...prova

    codice:
    ;;;;;;;;;;;;;;;;;;;;;;
    ; Dynamic Extensions ;
    ;;;;;;;;;;;;;;;;;;;;;;
    ;
    ; If you wish to have an extension loaded automatically, use the following
    ; syntax:
    ;
    ;   extension=modulename.extension
    ;
    ; For example:
    ;
    ;   extension=msql.so
    ;
    ; Note that it should be the name of the module only; no directory information 
    ; needs to go here.  Specify the location of the extension with the
    ; extension_dir directive above.
    extension=mysql.so 
    
    ;;;;
    ; Note: packaged extension modules are now loaded via the .ini files
    ; found in the directory /etc/php.d; these are loaded by default.
    ;;;;
    Planet Earth is blue and there's nothing I can do

  3. #3
    Utente di HTML.it
    Registrato dal
    Dec 2004
    Messaggi
    25

    php non interagisce con mysql

    Già provato... nei sistemi red-hat l'estensione dinamica è settata in msql.ini e lì è presente.

    Ho installato Mysql su Fedora nella versione 4.1.7.
    Start ed arresto funzionano, ma quando cerco di accedere a phpMyAdmin, mi dà questo segnale di errore:

    codice:
    Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (13)
    Non so esattamente cosa voglia dire, ma temo significhi che il php non interagisce con mysql.

    Eppure ho installato anche php-mysql.

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 © 2025 vBulletin Solutions, Inc. All rights reserved.