-imagick php5-imap php5-mcrypt php5-memcache php5- Ming Php5-ps php5-pspell php5-recode php5-snmp php5-sqlite php5-tidy php5-xmlrpc php5-xslAfter the visit, we open http://localhost/phpinfo.php again, we can see some other phpinfo information7, Installation phpMyAdminsudo apt-get install phpMyAdminSince the default phpmyadmin is in/usr/share/phpmyadmin/, we will move to/var/www belowMv/usr/share/phpmyadmin/var/wwwIf you are lucky, you can see the phpMyAdmin page, if there is a lack of mysqli ext
First, the goalCreate a server environment that mainly includes:Apache2.4.7 ServerPHP 5.5.9Mysql 5.5.49Extended:MemcacheMcryptIi. preparatory work1. Server System version Ubuntu server 14.04 AMD642. Update Source:Apt-get Update3. SSH Related Tools Installation:sudo Install openssh-server openssh-clientTo modify the SSH configuration:vim/etc/ssh/ssh_configPasswordauthentication No #把前面的注释 # Cancel, yes change to No, so disable all accounts login via pa
1, first open the command line, switch to root identity, to obtain the latest packageSu Rootsudo apt-get install update2. Install MySQL Databasesudo apt-get install mysql-server mysql-clientIn order to prompt for the database password, and then enter, then there are prompts, and then repeat the input once, and then enter the final installation of the last database test if the installation is successful, see welcome information OKMysql-uroot-p3. Install Apache Serversudo apt-get install apache2 a
1. First use Apt-get update to get the list of software sources 2. Installing Apache input APACHE2-V Displays the following information indicating that the installation is complete3. Install PHPInput PHP5-V Displays the following information indicating that the installation is completeCheck to see if libphp5.so 4 is loaded. Install MySQL to see if the mysql.so above information shows that mysql.so installation is not installed mysql.so check againis mysql.so installed?5. RestartApache and MySQL
Mod_rewrite modulesudo a2enmod rewriteRestart Apache server: sudo/etc/init.d/apache2 restart or sudo service apache2 Restart the second step of setting Apache support. htm. html. phpsudo gedit/etc/apache2/apache2.confAdd the following sentence: AddType application/x-httpd-php. php. htm. html third Step Test PHP Web pageEdit the mysql_test.php code as follows:if (! $link) die (' Could not connect: '. Mysql_error ()); Elseecho "MySQL configuration is correct!"; Mysql_close ($link);? >Access http:
First, build Lamp--apache, MySQL, PHP.Using System and Software versions: Ubuntu 14.04; Apache 2.4.20;mysql 5.6.30;Mysql:To install using Apt-get:#apt-get Install mysql-server-5.6 mysql-client-5.6 mysql-common-5.6The MySQL password is prompted during installationWhen the installation is complete, start MySQL:#service start MySQLApache:1. Install C + + compilation related components:#apt-get Install Build-es
: Http://ubuntu address/phpinfo.php, PHP version page appears5. Modify Permissionssudo chmod 777/var/www6. Installing phpMyAdminsudo apt-get install phpMyAdminInstall: Select Apache2, click OK. The next option is to configure the database and enter the password.Create phpMyAdmin shortcut: sudo ln-s/usr/share/phpmyadmin/var/www/htmlEnable Apache Mod_rewrite module: sudo a2enmod rewriteRestart Service:Service PHP7.0-FPM RestartService Apache2 RestartTes
executionCHMOD-R 777 StorageIf not, try this again.Because Ubuntu Apache uses www-data users, it does not work properly to avoid permissions problems. We will public,storage,vendor three directory settings www-data belong to:
1
$sudochown-R www-data /var/www/html/laravel/my_laravel/public/
2
$sudochown-R www-data /var/www/html/laravel/my_laravel/storage/
3
$sudocho
there is any database management software appearing.
Configuration process
Enable the Mod_rewrite modulesudo a2enmod rewriteRestart Apache server: sudo/etc/init.d/apache2 restart or sudo service apache2 restart
Set Apache support. htm. html. phpsudo gedit/etc/apache2/apache2.confAdd the following sentence: AddType application/x-httpd-php. php. htm. html
Test the PHP page Edit the mysql_test.php code as follows:
$link = Mysql_ Connect ( "localhost" , "root" , "1
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.