Differences
This shows you the differences between two versions of the page.
|
doc:howto:lamp [2013/01/06 22:51] midiway situation to not set 'doc_root' in php.ini |
doc:howto:lamp [2013/05/11 14:10] (current) tmomas added missing 'php' |
||
|---|---|---|---|
| Line 113: | Line 113: | ||
| (End of changes to ''/etc/lighttpd/lighttpd.conf'') | (End of changes to ''/etc/lighttpd/lighttpd.conf'') | ||
| + | |||
| + | Edit ''/etc/php.ini'' and change: | ||
| + | |||
| + | OLD: | ||
| + | | ''doc_root = "/www"'' | | ||
| + | NEW: | ||
| + | | ''doc_root = "/srv/www"'' | | ||
| + | |||
| + | (End of changes to /etc/php.ini) | ||
| Create a directory for our web server content | Create a directory for our web server content | ||
| Line 209: | Line 218: | ||
| We are using the phpinfo() function for a first test. | We are using the phpinfo() function for a first test. | ||
| <code> | <code> | ||
| - | echo "<? phpinfo(); ?>" > /srv/www/index.php | + | echo "<?php phpinfo(); ?>" > /srv/www/index.php |
| </code> | </code> | ||
doc/howto/lamp.1357509098.txt.bz2 · Last modified: 2013/01/06 22:51 by midiway
