LAMP on Ubuntu 8.10 Desktop Edition
LAMP on Ubuntu 8.10 Desktop Edition
# LAMP on Ubuntu 8.10 desktop edition sudo apt-get install mysql-server # Set root password (MySQL) sudo apt-get install apache2 # Install PHP as module sudo apt-get install libapache2-mod-php5 # Support MySQL on PHP sudo apt-get install php5-mysql # Restart Apache server sudo /etc/init.d/apache2 restart # Test php5 on Apache2 sudo echo "<? phpinfo ?>" > ._info.php sudo mv ._info.php /var/www/info.php firefox http://localhost/info.php
GEOIP
Something I found interesting is that there is already a php5-geoip module that uses a database of MaxMInd, see GeoIP Database on MySQL.
Thank you for your guide, it’s very easy to understand and works correctly. But
sudo echo “” > ._info.php
should be changed to
sudo echo “” > ._info.php
Apart from that your guide is really good.
Greatings ComShadow
P.S. I hope my english is correct…
I think ComShadow’s comment got munched. I believe he meant to say that the “echo” line should look like this:
Regardless, thanks for this post! Quick and to the point.
I think ComShadow’s comment got munched. I believe he meant to say that the “echo” line should look like this:
“”
Regardless, thanks for this post! Quick and to the point.
Sorry I don’t know why WordPress erase the text
for the last time hopefully, in between the php tags, it should read ‘phpinfo();’ without the quotes. WordPress runs strip_tags() to get rid of potential execution of php code (or javascript or html)