xeoncross / lowendscript

Bash scripts to set up/bootstrap low end virtual servers
326 stars 100 forks source link

On Ubuntu newer release there's no package named `php5-apc` or `php5-suhosin` #36

Open legendtang opened 9 years ago

legendtang commented 9 years ago

Refer to this issue, PHP 5.5 has Zend OpCache built-in and APC Opcode Cache is not required. This lead to an configure error, which make PHP not work in the further installation.

E: Package 'php5-apc' has no installation candidate
E: Package 'php5-suhosin' has no installation candidate

mv: cannot stat '/etc/php5/conf.d/apc.ini': No such file or directory
./setup-debian.sh: line 292: /etc/php5/conf.d/apc.ini: No such file or directory
mv: cannot stat '/etc/php5/conf.d/suhosin.ini': No such file or directory
./setup-debian.sh: line 311: /etc/php5/conf.d/suhosin.ini: No such file or direc
tory

Please help update the bash script. In addition, I'm running a Ubuntu 14.04 server.

drmike commented 9 years ago

Just to mention, Debian 7 now has php5-suhosin built in.

https://lists.debian.org/debian-user/2013/08/msg00062.html