[转]Ubuntu下Nginx/PHP/MYSQL开发环境的配置方法 .

Ubuntu环境下安装Nginx+PHP7+MySQL图文教程 上一篇文章介绍了PHP7+MySQL+Apache的配置,本文将介绍PHP7+MySQL+Nginx的配置方法1.安装PHP7同样是先下载php7,然后解压。安装libxml2 apt-get install libxml2 apt-get install libxml2-dev必须先安装libxml2,否则php编译不过,当然你也可以选择官网下载源码编译安装编译安装PHP配置PHP7时打开fpm 阅读详情

摘自:http://www.cnblogs.com/analyzer/archive/2010/05/05/1728110.html

 

 

最近将原来的程序都迁移到了Nginx下来了,用了Ubuntu也有一段时间大了,慢慢了习惯了下Linux的操作,在加上Linux下性能确实不错,就开始配置了。

配置了

Ubuntu 9.10  Nginx  0.7.62  PHP5.2.10  MYSQL 5.1.37

0.打开终端 切换到root

sudo -H -s


1.安装PHP5

apt-get install php-pear php5-cli php5-common php5-xcache php5-cgi php5-mysql php5-gd php5-dev php5-memcache

默认安装就行
2.安装mysql5

apt-get install mysql-server mysql-client libipc-sharedcache-perl mysql-doc-5.0 tinyca

安装过程中提示输入mysql密码并确认,设置完要记住密码
3.安装nginx 

apt-get install nginx

版本为0.7.62
4.安装php-fastcgi下载php-fastcgi,完成后执行解压并安装(这个在下载包中会提供)

tar -zxvf php-fastcgi.tar.gzcd /tmp/php-fastcgi/

cp init-fastcgi /etc/init.d/init-fastcgi

chmod 755 /etc/init.d/init-fastcgi

cp php-fastcgi /usr/bin/php-fastcgi

cp spawn-fcgi /usr/bin/spawn-fcgi

5.安装zend下载zend.tar.gz(下载包中提供)

 

tar zxvf zend.tar.gz

cp -R zend /usr/local/

nano /etc/php5/cgi/php.ini

复制以下到PHP.INI文件底部

[Zend]

zend_extension_manager.optimizer=/usr/local/zend/lib/Optimizer-3.3.3/php-5.2.x/ZendOptimizer.so

zend_extension_manager.optimizer_ts=/usr/local/zend/lib/Optimizer_TS-3.3.3/php-5.2.x/ZendOptimizer.so

zend_optimizer.version=3.3.3

zend_extension=/usr/local/zend/lib/ZendExtensionManager.so

zend_extension_ts=/usr/local/zend/lib/ZendExtensionManager_TS.so


6.测试PHP-CGI运行:

/etc/init.d/init-fastcgi start

ps -ef |grep php
结果如下:


7.修改nginx配置文件(复制以下代码在终端下执行)

nano /etc/nginx/sites-available/default
找到类似以下两端段改成之这段以index.php为最优先首页文件

location / {       

 root  /var/www/nginx-default;       

 index index.php index.html index.htm;

}
这段开始 fastcgilocation 

~ /.php$ 

{   

 fastcgi_pass  127.0.0.1:9000;   

 fastcgi_index index.php;   

 fastcgi_param SCRIPT_FILENAME /var/www/nginx-default$fastcgi_script_name;    include /etc/nginx/fastcgi_params;

}

重新启动nginx(复制以下代码在终端下执行)/etc/init.d/nginx restart

 

在/var/www/nginx-default/目录下建立个info.php内容为:

<?php

phpinfo();

?>

然后访问http://localhost/info.php 正常显示就成功了这里如果没有显示正确,可能是500内部错误,或者是400错误是应该FASTCGI没有设置对,注意上面的路径和配置文件

8.设置目录的访问权限


9.设置开机启动 :左上角的  系统-》首选项-》启动程序然后点添加:

名称:php-cgi

命令:/etc/init.d/init-fastcgi

10.配置完成。点击下载包

作者:杨鑫奇

参考资料:

http://www.7qy.com/article/linux/linux_nginx.html 

http://www.nginx.com.cn/

docker容器中php开发环境(php+nginx+mysql+composer+npm)的搭建实战 docker容器中php开发环境的搭建实战 本人在上篇文章中讲述了mac中php开发环境相应软件的安装与配置,在结尾也确定了常用开发环境“即插即用”的必要性。本人开发目前后端以laraval5.8为主,使用nginx服务器来转发配置分离后的前后端访问,所以我所需要的常用开发环境,必须要具备nginx,php(php-fpm),composer(安装laraval及其他php应用依赖包) 这三个软件... 阅读详情

相关推荐

Ubuntu20.04安装PHP开发环境

一、安装nginx设置开机自启动 sudo apt install nginx sudo systemctl enable nginx 二、安装mariabd设置开机自启动 sudo apt install mariadb-server mariadb-client sudo systemctl enable mariadb 初始化mariadb sudo mysql_secure_installation 顺序:Enter > Y > {your password} > {your

chauchunkai的博客 3172

[转]Ubuntu下Nginx/PHP/MYSQL开发环境的配置方法

摘自:http://www.cnblogs.com/analyzer/archive/2010/05/05/1728110.html最近将原来的程序都迁移到了Nginx下来了,用了Ubuntu也有一段时间大了,慢慢了习惯了下Linux的操作,在加上Linux下性能确实不错,就开始配置了。配置了Ubuntu 9.10  Nginx  0.7.62  PHP5.2.10  MYSQL 5.1.370.打开终端 切换到rootsudo -H -s1.安装PHP5apt-get install php-pear p

风过无声 957

解密HDMI热插拔检测电路:从HPD引脚到EDID读取的全流程避坑

本文深入解析HDMI热插拔检测与EDID读取的全流程,从HPD引脚信号特性、DDC通道I2C协议到EDID数据结构,系统剖析了硬件电路设计、信号完整性和软件协议中的常见陷阱与解决方案,为消费电子设备开发者提供了一套完整的实战避坑指南。

weixin_29291069的博客 646

ubuntu http错误_在Ubuntu上搭建LNMP(Linux Nginx MySQL PHP)网站运行环境

看到这里,我建议没有看过我前面文章的朋友看一下。VPS?云主机?自家服务器,启动 服务器系统哪家强 Ubuntu Server与CentOS 服务器虚拟化与ESXi安装LNMP,即Linux Nginx MySQL PHP,是搭建动态网站的一套常用环境。还有一种叫法是LEMP。The E in LEMP comes from the pronunciation of Nginx: Engine-...

weixin_39663593的博客 143

Zigbee开发环境搭建:从驱动安装到程序烧录全指南

本文提供了一份详尽的Zigbee开发环境搭建全指南,涵盖从驱动安装到程序烧录的完整流程。重点介绍了使用SmartRF Flash Programmer和仿真器进行程序下载的关键步骤,并详细说明了USB转串口驱动的配置方法,帮助开发者快速构建稳定的Zigbee开发基础。

weixin_29195217的博客 394

Open Interpreter利用Code Interpreter实现本地化

作为一个可以在本地环境中运行的工具,Open Interpreter可以访问互联网,没有文件大小和运行时间的限制,并且可以利用任何包或库。去年7月,OpenAI发布了一个强大的插件,名为Code Interpreter(代码解释器),它可以根据用户的自然语言需求生成并执行代码解决方案,帮助完成各种任务,如数据分析、图表创建和文件编辑等。Open Interpreter不仅是一个编码解释器,它还是一个强大的工具,专注于处理复杂任务,将GPT-4代码解释器的强大功能与本地开发环境的灵活性完美结合在一起。

DigitalChina_DCG的博客 1794

ubuntu配置nginx+php开发环境

1.安装nginx sudo apt install nginx 2.安装php7.0 sudo apt install php7.0 3.安装php7.0-fpm,这是php和nginx之间的连接器。 sudo apt install php7.0-fpm 4.安装php7.0-dev和php7.0-mysql sudo apt install php7.0-dev sudo a

heluan123132的博客 7684

工业模型导入Unity实战:从ProE/SolidWorks到实时渲染的完整流程

在工业仿真、数字孪生和VR/AR应用开发中,将高精度工程模型导入实时渲染引擎是一个常见的技术挑战。其核心原理在于参数化工程软件与实时渲染引擎的数据结构差异:前者基于精确的B-rep边界表示和特征树,后者依赖轻量化的三角网格与材质贴图。这一转换的技术价值在于实现工程数据的可视化与交互化,为产品展示、虚拟培训和工厂仿真等应用场景提供基础。通过数据翻译与优化流程,特别是利用3ds Max或Blender作为中转站进行网格优化与UV展开,能够有效解决模型破面、材质丢失和性能问题。本文聚焦于ProE(Creo)和So

weixin_33050117的博客 344

ubuntu mysql开发环境_Ubuntu + Nginx/PHP/MYSQL开发环境配置图文教程

作者:杨鑫奇最近将原来的程序都迁移到了Nginx下来了,用了Ubuntu也有一段时间大了,慢慢了习惯了下Linux的操作,在加上Linux下性能确实不错,就开始配置了。配置了Ubuntu 9.10 Nginx 0.7.62 PHP5.2.10 MYSQL 5.1.37参考了买醉大哥的文章,终于配置成功了文章地址:http://www.7qy.com/article/linux/linux_...

weixin_29821699的博客 159

Python爬虫实战:使用最新技术爬取新浪新闻首页数据

本文详细介绍了三种爬取新浪新闻首页的技术方案,从简单的requests-html到强大的Playwright,再到分布式Scrapy架构。小规模爬取:requests-html或aiohttp方案需要JavaScript渲染:Playwright方案大规模分布式爬取:Scrapy-Redis方案。

2201_76125261的博客 1243

基于Simulink的自适应反步法(Adaptive Backstepping)控制​

本文针对非线性系统控制中未知参数和强非线性耦合的挑战,提出基于Simulink的自适应反步法解决方案。通过融合参数在线估计与反步递归设计,该方法显著提升了永磁同步电机(PMSM)速度控制的鲁棒性,使跟踪误差从20%降至3%,参数估计收敛时间小于0.5秒。文章详细阐述了从算法推导到Simulink实现的完整流程,包括系统架构设计、核心算法推导(以PMSM为例)、模块化建模方法、参数优化策略以及工程部署建议。提供的自适应控制器MATLAB代码和关键参数表可直接应用于实际工程,为电机驱动、机械臂等非线性系统控制提

xiaoheshang_123的博客 101

Ubuntu 下Nginx PHP MySQL的安装配置

安装 Nginx 先更新源列表 apt-get update 自动安装Nginx apt-get install nginx 安装好之后,搜索nginx相关文件 dpkg -S nginx 根据相关的提示配置相关项 启动Nginx服务,使用下面两个命令任意一个即可: /etc/init.d/nginx start|stop|status service nginx start|stop|s...

wws 412

AD9361功能介绍和使用

AD9361使用分数分频锁相环(PLL)来产生发射机和接收机本地振荡器(LO)频率和BB PLL。BB PLL 可用于数据转换、数字滤波器和 |/O 端口。PLL的参考时钟可以由外部振荡器或外部晶体(XO)和数字可编程片内可变电容提供,电容微调产生参考时钟频率,XO和微调电容的组合统称为DCXO。有多个天线输入的分集系统。接收链数据首先经过低噪声放大器(LNA),然后是同相(1)和正交(Q)放大器,混频器和频带整形滤波器,可将接收到的信号下变频为基带以进行数字化。时分双工(TDD)和频分双工(FDD)。。。

wangjie36的博客 1万+

Ubuntu 安装nginx 以及配置+php+laravel

Ubuntu 安装nginx 以及配置+php+laravel

SUPER童 4837

pscad IEEE标准系统搭建说明

pscad IEEE标准系统搭建说明,包含典型的IEEE 9节点、14节点、30节点、39节点和118节点系统。内含标准测试系统的原始数据和潮流结果。

SIMATIC S7-1200, S7-1500 PID 控制[手册]

SIMATIC S7-1200, S7-1500 PID 控制[手册]

Ubuntu 14.04 配置php+nginx+mysql

参考:http://ubuntuhandbook.org/index.php/2013/10/install-nginx-php5-mysql-lemp-ubuntu-1310/

工作的记录 1192

深度学习工具包 DeepLearningToolbox

深度学习工具包Deprecation notice.-----This toolbox is outdated and no longer maintained.There are much better tools available for deep learning than this toolbox, e.g. [Theano](http://deeplearning.net/software/theano/), [torch](http://torch.ch/) or [tensorflow](http://www.tensorflow.org/)I would suggest you use one of the tools mentioned above rather than use this toolbox.Best, Rasmus.DeepLearnToolbox================A Matlab toolbox for Deep Learning.Deep Learning is a new subfield of machine learning that focuses on learning deep hierarchical models of data.It is inspired by the human brain's apparent deep (layered, hierarchical) architecture.A good overview of the theory of Deep Learning theory is[Learning Deep Architectures for AI](http://www.iro.umontreal.ca/~bengioy/papers/ftml_book.pdf)For a more informal introduction, see the following videos by Geoffrey Hinton and Andrew Ng.* [The Next Generation of Neural Networks](http://www.youtube.com/watch?v=AyzOUbkUf3M) (Hinton, 2007)* [Recent Developments in Deep Learning](http://www.youtube.com/watch?v=VdIURAu1-aU) (Hinton, 2010)* [Unsupervised Feature Learning and Deep Learning](http://www.youtube.com/watch?v=ZmNOAtZIgIk) (Ng, 2011)If you use this toolbox in your research please cite [Prediction as a candidate for learning deep hierarchical models of data](http://www2.imm.dtu.dk/pubdb/views/publication_details.php?id=6284)```@MASTERSTHESIS\{IMM2012-06284, author = "R. B. Palm", title = "Prediction as a candidate for learning deep hierarchical models of data", year = "2012",}```Contact: rasmusbergpalm at gmail dot comDirectories included in the toolbox-----------------------------------`NN/` - A library for Feedforward Backpropagation Neural Networks`CNN/` - A library for Convolutional Neural Networks`DBN/` - A library for Deep Belief Networks`SAE/` - A library for Stacked Auto-Encoders`CAE/` - A library for Convolutional Auto-Encoders`util/` - Utility functions used by the libraries`data/` - Data used by the examples`tests/` - unit tests to verify toolbox is workingFor references on each library check REFS.mdSetup-----1. Download.2. addpath(genpath('DeepLearnToolbox'));Example: Deep Belief Network---------------------```matlabfunction test_example_DBNload mnist_uint8;train_x = double(train_x) / 255;test_x = double(test_x) / 255;train_y = double(train_y);test_y = double(test_y);%% ex1 train a 100 hidden unit RBM and visualize its weightsrand('state',0)dbn.sizes = [100];opts.numepochs = 1;opts.batchsize = 100;opts.momentum = 0;opts.alpha = 1;dbn = dbnsetup(dbn, train_x, opts);dbn = dbntrain(dbn, train_x, opts);figure; visualize(dbn.rbm{1}.W'); % Visualize the RBM weights%% ex2 train a 100-100 hidden unit DBN and use its weights to initialize a NNrand('state',0)%train dbndbn.sizes = [100 100];opts.numepochs = 1;opts.batchsize = 100;opts.momentum = 0;opts.alpha = 1;dbn = dbnsetup(dbn, train_x, opts);dbn = dbntrain(dbn, train_x, opts);%unfold dbn to nnnn = dbnunfoldtonn(dbn, 10);nn.activation_function = 'sigm';%train nnopts.numepochs = 1;opts.batchsize = 100;nn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.10, 'Too big error');```Example: Stacked Auto-Encoders---------------------```matlabfunction test_example_SAEload mnist_uint8;train_x = double(train_x)/255;test_x = double(test_x)/255;train_y = double(train_y);test_y = double(test_y);%% ex1 train a 100 hidden unit SDAE and use it to initialize a FFNN% Setup and train a stacked denoising autoencoder (SDAE)rand('state',0)sae = saesetup([784 100]);sae.ae{1}.activation_function = 'sigm';sae.ae{1}.learningRate = 1;sae.ae{1}.inputZeroMaskedFraction = 0.5;opts.numepochs = 1;opts.batchsize = 100;sae = saetrain(sae, train_x, opts);visualize(sae.ae{1}.W{1}(:,2:end)')% Use the SDAE to initialize a FFNNnn = nnsetup([784 100 10]);nn.activation_function = 'sigm';nn.learningRate = 1;nn.W{1} = sae.ae{1}.W{1};% Train the FFNNopts.numepochs = 1;opts.batchsize = 100;nn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.16, 'Too big error');```Example: Convolutional Neural Nets---------------------```matlabfunction test_example_CNNload mnist_uint8;train_x = double(reshape(train_x',28,28,60000))/255;test_x = double(reshape(test_x',28,28,10000))/255;train_y = double(train_y');test_y = double(test_y');%% ex1 Train a 6c-2s-12c-2s Convolutional neural network %will run 1 epoch in about 200 second and get around 11% error. %With 100 epochs you'll get around 1.2% errorrand('state',0)cnn.layers = { struct('type', 'i') %input layer struct('type', 'c', 'outputmaps', 6, 'kernelsize', 5) %convolution layer struct('type', 's', 'scale', 2) %sub sampling layer struct('type', 'c', 'outputmaps', 12, 'kernelsize', 5) %convolution layer struct('type', 's', 'scale', 2) %subsampling layer};cnn = cnnsetup(cnn, train_x, train_y);opts.alpha = 1;opts.batchsize = 50;opts.numepochs = 1;cnn = cnntrain(cnn, train_x, train_y, opts);[er, bad] = cnntest(cnn, test_x, test_y);%plot mean squared errorfigure; plot(cnn.rL);assert(er<0.12, 'Too big error');```Example: Neural Networks---------------------```matlabfunction test_example_NNload mnist_uint8;train_x = double(train_x) / 255;test_x = double(test_x) / 255;train_y = double(train_y);test_y = double(test_y);% normalize[train_x, mu, sigma] = zscore(train_x);test_x = normalize(test_x, mu, sigma);%% ex1 vanilla neural netrand('state',0)nn = nnsetup([784 100 10]);opts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samples[nn, L] = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.08, 'Too big error');%% ex2 neural net with L2 weight decayrand('state',0)nn = nnsetup([784 100 10]);nn.weightPenaltyL2 = 1e-4; % L2 weight decayopts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex3 neural net with dropoutrand('state',0)nn = nnsetup([784 100 10]);nn.dropoutFraction = 0.5; % Dropout fraction opts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex4 neural net with sigmoid activation functionrand('state',0)nn = nnsetup([784 100 10]);nn.activation_function = 'sigm'; % Sigmoid activation functionnn.learningRate = 1; % Sigm require a lower learning rateopts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex5 plotting functionalityrand('state',0)nn = nnsetup([784 20 10]);opts.numepochs = 5; % Number of full sweeps through datann.output = 'softmax'; % use softmax outputopts.batchsize = 1000; % Take a mean gradient step over this many samplesopts.plot = 1; % enable plottingnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex6 neural net with sigmoid activation and plotting of validation and training error% split training data into training and validation datavx = train_x(1:10000,:);tx = train_x(10001:end,:);vy = train_y(1:10000,:);ty = train_y(10001:end,:);rand('state',0)nn = nnsetup([784 20 10]); nn.output = 'softmax'; % use softmax outputopts.numepochs = 5; % Number of full sweeps through dataopts.batchsize = 1000; % Take a mean gradient step over this many samplesopts.plot = 1; % enable plottingnn = nntrain(nn, tx, ty, opts, vx, vy); % nntrain takes validation set as last two arguments (optionally)[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');```[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/rasmusbergpalm/deeplearntoolbox/trend.png)](https://bitdeli.com/free "Bitdeli Badge")

Ubuntu18.4安装Nginx php mysql的方法

第一步:sudo apt-get update 更新源 1.安装nginx依赖库 1.1安装pcre依赖库 root@yatces-virtual-machine:~# apt-get install libpcre3 libpcre3-dev 1.2安装zlib依赖库 root@yatces-virtual-machine:~# apt-get install zlib1g-dev 1.3安装ssl依赖库 root@yatces-virtual-machine:~# apt-get install ope

weixin_43128184的博客 2281

老版QQ原生表情gif动态

这是老版的QQ表情,不过全是动态的的,Windows照片查看器是不会动的,可以右击用浏览器打开查看,再说一遍是老版的,只是分享给宁愿用老版也要动态的人。

ubuntu 安装nginx apache php mysql

转载来自:http://wiki.ubuntu.org.cn/Nginx 安装nginx sudo apt-get install nginx Ubuntu安装之后的文件结构大致为: 所有的配置文件都在/etc/nginx下,并且每个虚拟主机已经安排在了/etc/nginx/sites-available下程序文件在/usr/sbin/nginx日志放在了/var/log/ngin

hhy_huang的专栏 1618

如何在Ubuntu18.04上安装Linux、Nginx、MySQL和PHP(LEMP stack)

简介 LEMP是用来搭建动态网站的一组软件,首字母缩写分别表示Linux、Nginx(Engine-X)、MySQL和PHP。 本文将讲述如何在Ubuntu18.04上安装LEMP套件。当然,首先要安装Ubuntu18.04操作系统,接着按照以下方法完成其他组建的安装。 前言 以下演示将通过非管理员账号进行,即通过sudo命令完成安装,如果是普通账号(非管理员)可继续往下看。 步骤一:安装Ngin...

wudics的专栏 6029

Ubuntu 16.04 LTS 安装 Nginx/PHP 7/MySQL

因为接触linux是从ubuntu开始的,所以,自己建站的时候服务器系统选择了ubuntu。因为版本问题,很多网上的资料不太统一。终于找到了一篇不错的开始整理。 1.安装mysql sudo apt-get -y install mysql-server 安装过程需要设置数据库密码。数据库用户名root,密码自己设定 2.安装nginx 不用apache是因为

cse110的专栏 3294

Ubuntu18.04 安装配置Nginx、Https、PHP

朋友趁着618入手一台轻量应用服务器,系统是Ubuntu18.04,需要搭建一个个人网站,本来想帮他装一个我最喜欢的LAMP(Linux + Apache + MySQL +PHP),但是灵机一动,不如尝试一下装个LNMP(Linux + Nginx + MySQL + PHP)试试。...

SlowFeather's blog 2056

ubuntu nginx mysql php_如何在Ubuntu中安装nginx、mysql、php

最近工作中需要部署一些PHP的程序,通过这篇文章记录一下部署过程。######关于LempLEMP 是一组实现web server的开源软件。 lemp是Linux,Nginx,MySQL,PHP的缩写,因为我平时喜欢Ubuntu所以加下来的内容都是在Ubuntu这个发行版本上进行的。######安装软件 在进行接下来的步骤中需要用户有管理权限,避免不必要的问题发生。第一步 通过apt-get更新...

weixin_28769989的博客 287

建站教程(二):Ubuntu上如何配置Nginx+MySQL+PHP7(LNMP)

在Linux上搭建个人网站,最常用的就是Nginx+MySQL+PHP环境,即LNMP。搭建LNMP的一键脚本很多,不过本文介绍如何不用脚本一步一步自己搭建LNMP环境,这样以后自己的网站遇到什么问题也会清楚如何修改。   安装Nginx Ubutun(本教程是基于Ubuntu 16.04)安装nginx还是很简单的,就两句命令(全部root权限): apt-get update apt...

老王的IT博客 2248

Ubuntu Nginx php 安装与环境配置

安装 sudo apt-get install nginx 复制代码 添加php源 sudo add-apt-repository ppa:ondrej/php sudo apt-get update sudo apt-get upgrade 复制代码 安装php sudo apt-get install php7.0-fpm php7.0-mysql php7.0-common php7...

weixin_34037977的博客 1058

在ubuntu上配置PHP开发环境(转)

大概步骤: 1、安装NGINX sudo apt-get install nginx 2、安装php sudo apt-get install php5 php5-cgi php5-mysql php5-curl php5-gd php5-idn php-pear php5-imagick php5-imap php5-mcrypt php5-memcache php5-mhash php

hhy_huang的专栏 539

Ubuntu下安装Nginx, MySQL, PHP (LEMP)

关于LEMP LEMP是一组用于开发运行Web程序的开源软件简称,各首字母依次代表:Linux,Nginx(发音:Engine X),MySQL,PHP;与传统的LAMP相比,使用的Web服务器是Nginx替代Apache;Nginx是一款开源免费的高性能HTTP服务器,它稳定,功能强大,配置简单,消耗资源少;在国内有相当大的市场,很流行。 下面就来介绍在Ubuntu下如何安装。 首

飘痕 1528
上一篇: iptables命令
下一篇: objdump
zm_21
博客等级 码龄14年 147粉丝 73原创
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值