|
一 如何让lampp开机自动运行:
To start xampp as a service just do the following:
sudo ln -s /opt/lampp/lampp /etc/init.d/lampp
sudo update-rc.d -f lampp defaults
二 启动lampp后,在浏览器中输入:http://localhost/xampp
出现以下错误:
Warning: file_get_contents(lang.tmp) [function.file-get-contents]:
failed to open stream: Permission denied in
/opt/lampp/htdocs/xampp/index.php on line 2
Warning: Cannot modify header information - headers already sent by
(output started at /opt/lampp/htdocs/xampp/index.php:2) in
/opt/lampp/htdocs/xampp/index.php on line 4
解决办法:
1.cd /opt/lampp/htdocs/xampp
2.sudo chmod a+r index.php lang.tmp |
|