Atualização da versão do PHP que deu errado

1

Eu segui instruções sobre a atualização da versão do PHP no meu servidor de 5.3 para 5.5
Durante a instalação, ele gerou erros comuns de dependência do php5. Consegui consertar os erros de dependência, chicoteando completamente a versão atual do apache e o php, e os instalei do zero.

Agora estou recebendo este erro:

* Starting web server apache2
*
* The apache2 configtest failed.
Output of config test was:
AH00526: Syntax error on line 55 of /etc/apache2/apache2.conf:
Invalid command 'LockFile', perhaps misspelled or defined by a module not included in the server configuration
Action 'configtest' failed.
The Apache error log may have more information.

A linha em questão contém o seguinte:

#
# The accept serialization lock file MUST BE STORED ON A LOCAL DISK.
# 
LockFile ${APACHE_LOCK_DIR}/accept.lock

Comentando a linha segue-se com outro erro: (faltando arquivo httpd.conf)

* Starting web server apache2
*
* The apache2 configtest failed.
Output of config test was:
apache2: Syntax error on line 214 of /etc/apache2/apache2.conf: Could not open configuration file /etc/apache2/httpd.conf: No such file or directory
Action 'configtest' failed.
The Apache error log may have more information.

A criação de um arquivo httpd.conf vazio produz outro erro:

* Starting web server apache2
*
* The apache2 configtest failed.
Output of config test was:
AH00526: Syntax error on line 43 of /etc/apache2/mods-enabled/ssl.conf:
SSLSessionCache: 'shmcb' session cache not supported (known names: ). Maybe you need to load the appropriate socache module (mod_socache_shmcb?).
Action 'configtest' failed.
The Apache error log may have more information.

Por favor me ajude com isso. Meu chefe é um pouco ##-barato e economizou em um técnico de sistema.
Então tenha em mente que você está falando com um desenvolvedor PHP com conhecimento extremamente limitado de sistemas Linux \ Unix.

Obrigado antecipadamente.

    
por Aleksandar B. 23.03.2015 / 14:29

0 respostas