Pagina 2 di 2 primaprima 1 2
Visualizzazione dei risultati da 11 a 13 su 13

Hybrid View

  1. #1
    Utente di HTML.it
    Registrato dal
    Apr 2015
    Messaggi
    9
    Sisi è quello, mi sa che mi conviene rimuovere il php e installarlo di nuovo a sto punto, grazie.

  2. #2
    Utente di HTML.it
    Registrato dal
    Apr 2015
    Messaggi
    9
    Oggi ho provato a fare il remove della vecchia versione, seguendo questi step:
    2 down vote I'm assuming that the deployment/install script was put at /usr/local/packager/packager.py when it was installed. Apparently, you can use this script to list the packages that are installed:
    /usr/local/packager/packager.py list
    Unfortunately, the script that you used to install PHP doesn't appear to have an uninstall feature. However, you should be able to remove the installed content that was installed from /usr/local. It is probably a good idea to examine the contents of the /usr/local directory first to confirm the contents:
    ls -al /usr/local
    From what I can see, the script is installing the software with prefixes like "php5-*", and is linking to the 'current' version of that software using a symbolic link named "php5". The commands below will unlink the symlink, and remove the installed versions of PHP that were installed using the script mentioned above:
    sudo unlink /usr/local/php5
    sudo rm -rf /usr/local/php5-*
    To remove the supplemental configuration file that was installed with the updated PHP software, you may be able to remove the config file at /etc/apache2/other/+php-osx.conf:
    sudo rm -rf /etc/apache2/other/+php-osx.conf
    Then restart Apache:
    sudo apachectl restart
    Note: the /usr/local folder shouldn't have much inside of it unless you've installed 3rd party software there. You may find a few PHP installs there that have names like "php5-5.3.x...", "php5-5.4.x...", and "php5-5.5.x...". The rm command above should remove any variants of this naming scheme. Removing the additional Apache configuration file should allow Apache to start normally after the module has been removed.

    Magicamente il server continua a funzionare...
    Ho provato a rinominare anche il file http . conf, ma continua a funzionare, l'unico modo per fermarlo è rinominado la cartella di apache2, a questo punto il server non risponde più....
    ???

  3. #3
    Utente di HTML.it L'avatar di Fractals87
    Registrato dal
    Apr 2008
    Messaggi
    1,202
    Secondo me non dovevi procedere alla cancellazione manuale dei pacchetti ma tramite il comando che hai utilizzato per l'installazione.
    Quello va ad identificare tutte le dipendenze associate e rimuoverle di conseguenza.

    es :
    yum remove %nomepacchetto%
    apt-get purge %nomepacchetto%

    effettua anche un riavvio del server alla fine.
    Che versione di linux hai?
    Che mestiere difficile.....essere da soli ancora di più

Tag per questa discussione

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