Apache php安装配置好后,目前mysql还没有安装,开启Apache时,弹出两次warning PHP Startup警告后Apache开启。
本机是通过路由器和光纤猫连接网线上网,Windows XP操作系统。
Apache httpd.conf文件配置是:
#Listen 12.34.56.78:80
Listen 80
LoadModule php5_module D:/wamp/php/php5apache2_4.dll
PHPIniDir D:/wamp/php
#ServerName localhost:80
AddType application/x-httpd-php .php
php.ini文件配置:
extension_dir = "D:/wamp/php/ext"
extension=php_curl.dll
extension=php_gd2.dll
extension=php_mbstring.dll
extension=php_mysql.dll
extension=php_mysqli.dll
extension=php_pdo_mysql.dll
extension=php_pdo_odbc.dll
extension=php_soap.dll
extension=php_sockets.dll
date.timezone =Asia/Shanghai
Apache错误日志:
AH00558: httpd.exe: Could not reliably determine the server's fully qualified domain name, using 192.168.x.x. Set the 'ServerName' directive globally to suppress this message
PHP Warning: PHP Startup: in Unknown on line 0
[Thu Oct 15 10:48:13.312500 2015] [mpm_winnt:notice] [pid 4044:tid 1668] AH00354: Child: Starting 64 worker threads.
将所有dll都注册了一遍,还是那样。
请各位老师指教到底哪里有错误?谢谢!