voltan@ubuntu:~$ sudo apt-get install apache2 php5 php5-mysql libapache2-mod-php5 mysql-server
Password:
Reading package lists... Done
Building dependency tree
Reading state information... Done
apache2 is already the newest version.
php5-mysql is already the newest version.
libapache2-mod-php5 is already the newest version.
mysql-server is already the newest version.
The following NEW packages will be installed:
php5
0 upgraded, 1 newly installed, 0 to remove and 4 not upgraded.
Need to get 0B/1078B of archives.
After unpacking 20.5kB of additional disk space will be used.
Selecting previously deselected package php5.
(Reading database ... 115497 files and directories currently installed.)
Unpacking php5 (from .../php5_5.2.1-0ubuntu1.2_all.deb) ...
Setting up php5 (5.2.1-0ubuntu1.2) ...
voltan@ubuntu:~$
از توی synaptic پی اچ پی و آپاچی رو پاک کردم و دوباره از ترمیال دستور نصب رو زدم
اگه میشه دستوری رو که برای پاک کردن کامل اینها و نصب مجددش لازمه بهم بگید چون الان هم که نصب کردمشون دوباره صفحه ی دانلود باز میشه تو لوکال