Estou tentando iniciar o servidor Apache. Isso me lança o erro abaixo.
Eu estava instalando a instância do Magento aqui, ele estava funcionando bem, mas uma vez depois que eu criei o arquivo magento.conf
eu recebo este erro.
Eu agora deletei o arquivo conf
, mas o Apache ainda não consegue iniciar.
Por favor me ajude com o log de erros
apache2.serviceJob for apache2.service failed because the control process exited with error code. See "systemctl status apache2.service" and "journalctl -xe" for details.
O log de erros diz:
[Tue Sep 27 07:35:01.408250 2016] [mpm_prefork:notice] [pid 2870] AH00163: Apache/2.4.18 (Ubuntu) configured -- resuming normal operations
[Tue Sep 27 07:35:01.408279 2016] [core:notice] [pid 2870] AH00094: Command line: '/usr/sbin/apache2'
[Tue Sep 27 17:29:07.403562 2016] [mpm_prefork:notice] [pid 2870] AH00169: caught SIGTERM, shutting down
[Tue Sep 27 17:29:08.495240 2016] [mpm_prefork:notice] [pid 17005] AH00163: Apache/2.4.18 (Ubuntu) configured -- resuming normal operations
[Tue Sep 27 17:29:08.495311 2016] [core:notice] [pid 17005] AH00094: Command line: '/usr/sbin/apache2'
[Tue Sep 27 17:45:45.255954 2016] [:error] [pid 17010] [client 10.20.22.147:38989] PHP Fatal error: Uncaught Error: Call to undefined function mysql_pconnect() in /var/www/html/mindprice/system/database/drivers/mysql/mysql_driver.php:91\nStack trace:\n#0 /var/www/html/mindprice/system/database/DB_driver.php(115): CI_DB_mysql_driver->db_pconnect()\n#1 /var/www/html/mindprice/system/database/DB.php(148): CI_DB_driver->initialize()\n#2 /var/www/html/mindprice/system/core/Loader.php(346): DB(Array, NULL)\n#3 /var/www/html/mindprice/system/core/Loader.php(1171): CI_Loader->database()\n#4 /var/www/html/mindprice/system/core/Loader.php(152): CI_Loader->_ci_autoloader()\n#5 /var/www/html/mindprice/system/core/Controller.php(51): CI_Loader->initialize()\n#6 /var/www/html/mindprice/system/core/CodeIgniter.php(308): CI_Controller->__construct()\n#7 /var/www/html/mindprice/index.php(199): require_once('/var/www/html/m...')\n#8 {main}\n thrown in /var/www/html/mindprice/system/database/drivers/mysql/mysql_driver.php on line 91
[Tue Sep 27 17:45:45.628330 2016] [:error] [pid 17009] [client 10.20.22.147:38990] PHP Fatal error: Uncaught Error: Call to undefined function mysql_pconnect() in /var/www/html/mindprice/system/database/drivers/mysql/mysql_driver.php:91\nStack trace:\n#0 /var/www/html/mindprice/system/database/DB_driver.php(115): CI_DB_mysql_driver->db_pconnect()\n#1 /var/www/html/mindprice/system/database/DB.php(148): CI_DB_driver->initialize()\n#2 /var/www/html/mindprice/system/core/Loader.php(346): DB(Array, NULL)\n#3 /var/www/html/mindprice/system/core/Loader.php(1171): CI_Loader->database()\n#4 /var/www/html/mindprice/system/core/Loader.php(152): CI_Loader->_ci_autoloader()\n#5 /var/www/html/mindprice/system/core/Controller.php(51): CI_Loader->initialize()\n#6 /var/www/html/mindprice/system/core/CodeIgniter.php(308): CI_Controller->__construct()\n#7 /var/www/html/mindprice/index.php(199): require_once('/var/www/html/m...')\n#8 {main}\n thrown in /var/www/html/mindprice/system/database/drivers/mysql/mysql_driver.php on line 91
[Tue Sep 27 17:45:45.750438 2016] [:error] [pid 17011] [client 10.20.22.147:38991] PHP Fatal error: Uncaught Error: Call to undefined function mysql_pconnect() in /var/www/html/mindprice/system/database/drivers/mysql/mysql_driver.php:91\nStack trace:\n#0 /var/www/html/mindprice/system/database/DB_driver.php(115): CI_DB_mysql_driver->db_pconnect()\n#1 /var/www/html/mindprice/system/database/DB.php(148): CI_DB_driver->initialize()\n#2 /var/www/html/mindprice/system/core/Loader.php(346): DB(Array, NULL)\n#3 /var/www/html/mindprice/system/core/Loader.php(1171): CI_Loader->database()\n#4 /var/www/html/mindprice/system/core/Loader.php(152): CI_Loader->_ci_autoloader()\n#5 /var/www/html/mindprice/system/core/Controller.php(51): CI_Loader->initialize()\n#6 /var/www/html/mindprice/system/core/CodeIgniter.php(308): CI_Controller->__construct()\n#7 /var/www/html/mindprice/index.php(199): require_once('/var/www/html/m...')\n#8 {main}\n thrown in /var/www/html/mindprice/system/database/drivers/mysql/mysql_driver.php on line 91
[Tue Sep 27 17:45:59.627748 2016] [:error] [pid 17012] [client 10.20.22.147:38992] PHP Fatal error: Uncaught Error: Call to undefined function mysql_pconnect() in /var/www/html/mindprice/system/database/drivers/mysql/mysql_driver.php:91\nStack trace:\n#0 /var/www/html/mindprice/system/database/DB_driver.php(115): CI_DB_mysql_driver->db_pconnect()\n#1 /var/www/html/mindprice/system/database/DB.php(148): CI_DB_driver->initialize()\n#2 /var/www/html/mindprice/system/core/Loader.php(346): DB(Array, NULL)\n#3 /var/www/html/mindprice/system/core/Loader.php(1171): CI_Loader->database()\n#4 /var/www/html/mindprice/system/core/Loader.php(152): CI_Loader->_ci_autoloader()\n#5 /var/www/html/mindprice/system/core/Controller.php(51): CI_Loader->initialize()\n#6 /var/www/html/mindprice/system/core/CodeIgniter.php(308): CI_Controller->__construct()\n#7 /var/www/html/mindprice/index.php(199): require_once('/var/www/html/m...')\n#8 {main}\n thrown in /var/www/html/mindprice/system/database/drivers/mysql/mysql_driver.php on line 91
Eu não entendo o que esse erro significa.