[操作疑難] 重複裝package會有咩後果?

例如睇到個教學, 叫我裝晒prerequisite
sudo yum install php-devel pcre-devel gcc make

但我唔肯定邊D裝左, 邊D無裝
因為我用yum list install睇, 有D有出現, 有D無出現, 有D名好似, 但差少少, 所以都唔知裝左定未裝

如果我唔理3721, 乜都裝晒, 會有咩影響?
例如炒粉, 又或者無晒之前D setting之類?

yum should remind you that the package has been installed already, unless you didn't use yum to do the installation.

TOP

淨係remind一下架咋? 唔會真係幫我再裝多次係咪?

TOP

回覆 3# 3ldk

唔會裝多次

TOP

我的linux是centos 6.4

話說我前日, 用上面command裝好晒所有package, 記得好似係全部都有裝
同埋跟據以下指示compile和安裝extension
http://docs.phalconphp.com/en/latest/reference/install.html

一開始安裝, 我個php好似無乜問題 (話好似, 係因為我只試過phalcon project, server上本身的普通php site係完全沒有試過)

然後第二日, 我再開返其他php website, 好多php website都空白/行唔到, 我又另外起左個簡單的php page, 行左幾句簡單的php, 發現係正常無問題的
又例如: 行phpmyadmin, 可以見到login page, 但無論點login, 都只會彈返去login page

於是, 我就將/etc/php.d/phalcon.ini依個file, 成個delete左
再service httpd restart

當時再試php website, 全部回復正常.

到左今日, 我再上php website, 又變返最初問題出現果陣一樣
但我今次無論service httpd restart左幾多次
甚至reboot
都無辦法回復正常, 而家咁既情況, 我可以點check個問題係邊?

TOP

Check the hard drive ,
this kind of problem mostly related to file problem ,
such as HD full ( 100% used )
SELinux limitation
PHP session temp folder permission.

TOP

check /var/log/audit/audit.log for selinux
set /etc/sysconfig/selinux to disabled and reboot (quick test only, not recommended in production unless you understand the risk)
also check php safe mode settings
do you have the old php.ini ?

TOP

已check, 係harddisk沒有位

TOP