在 Linux 安装了 apache,mysql,php 之后,在 /var/www/html 创建了一个 info.php 文件,内容是
然后浏览器访问 www.guoxiaodan.com/info.php 显示一片空白。在 Linux 里面输入 php info.php ,出现两个警告。
PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/pdo_sqlite.so' - /usr/lib64/php/modules/pdo_sqlite.so: undefined symbol: sqlite3_column_table_name in Unknown on line 0
phpinfo(): It is not safe to rely on the system's timezone settings. You are required to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /var/www/html/info.php on line 2
这是哪里出了问题?查很久没有找到问题所在。