【发布时间】:2010-07-09 11:11:44
【问题描述】:
http://localhost/joomla/administrator/我完成安装删除文件夹后浏览器返回页面不存在的错误。
我必须使用 apache2。我也在使用最新版本的apache,mysql。我正在使用 php 5.2.13 VC6 x86 线程安全。
我使用了两个教程的组合:
当我选择mysql 作为数据库时,它会立即给我错误,但如果我选择mysqli,那么我将能够完成安装,然后当我选择客户端或管理员时,我将获得浏览器错误。
两个教程的唯一区别是我使用PHPIniDir而不是复制粘贴到apache。
httpd.conf
LoadModule php5_module "c:/datafiles/php/php5apache2_2.dll"
AddType application/x-httpd-php .php .phtml .inc .php3
AddType application/x-httpd-php-source .phps
PHPIniDir "c:/datafiles/php"
由于日志中的错误,我还更改了ServerName localhost:80。
错误日志
[Fri Jul 09 07:05:21 2010] [notice] Parent: Received shutdown signal -- Shutting down the server.
[Fri Jul 09 07:05:21 2010] [notice] Child 4108: Exit event signaled. Child process is ending.
[Fri Jul 09 07:05:22 2010] [notice] Child 4108: Released the start mutex
[Fri Jul 09 07:05:23 2010] [notice] Child 4108: All worker threads have exited.
[Fri Jul 09 07:05:23 2010] [notice] Child 4108: Child process is exiting
[Fri Jul 09 07:05:23 2010] [notice] Parent: Child process exited successfully.
[Fri Jul 09 07:06:23 2010] [notice] Apache/2.2.15 (Win32) PHP/5.2.13 configured -- resuming normal operations
[Fri Jul 09 07:06:23 2010] [notice] Server built: Mar 4 2010 11:27:46
[Fri Jul 09 07:06:23 2010] [notice] Parent: Created child process 3520
[Fri Jul 09 07:06:23 2010] [notice] Child 3520: Child process is running
[Fri Jul 09 07:06:23 2010] [notice] Child 3520: Acquired the start mutex.
[Fri Jul 09 07:06:23 2010] [notice] Child 3520: Starting 64 worker threads.
[Fri Jul 09 07:06:23 2010] [notice] Child 3520: Starting thread to listen on port 80.
[Fri Jul 09 07:08:00 2010] [notice] Parent: child process exited with status 255 -- Restarting.
[Fri Jul 09 07:08:00 2010] [notice] Apache/2.2.15 (Win32) PHP/5.2.13 configured -- resuming normal operations
[Fri Jul 09 07:08:00 2010] [notice] Server built: Mar 4 2010 11:27:46
[Fri Jul 09 07:08:00 2010] [notice] Parent: Created child process 6584
[Fri Jul 09 07:08:00 2010] [notice] Child 6584: Child process is running
[Fri Jul 09 07:08:00 2010] [notice] Child 6584: Acquired the start mutex.
[Fri Jul 09 07:08:00 2010] [notice] Child 6584: Starting 64 worker threads.
[Fri Jul 09 07:08:00 2010] [notice] Child 6584: Starting thread to listen on port 80.
[Fri Jul 09 07:08:01 2010] [notice] Parent: child process exited with status 255 -- Restarting.
[Fri Jul 09 07:08:01 2010] [notice] Apache/2.2.15 (Win32) PHP/5.2.13 configured -- resuming normal operations
[Fri Jul 09 07:08:01 2010] [notice] Server built: Mar 4 2010 11:27:46
[Fri Jul 09 07:08:01 2010] [notice] Parent: Created child process 5780
[Fri Jul 09 07:08:01 2010] [notice] Child 5780: Child process is running
[Fri Jul 09 07:08:02 2010] [notice] Child 5780: Acquired the start mutex.
[Fri Jul 09 07:08:02 2010] [notice] Child 5780: Starting 64 worker threads.
[Fri Jul 09 07:08:02 2010] [notice] Child 5780: Starting thread to listen on port 80.
所有的安装前检查都是完美的。
我什至尝试了两个当前可用版本的 PHP 安装程序,但它们不允许我启动 apache。
编辑:它能够使用 mysqli 安装数据样本。
【问题讨论】: