redhat下php开发环境搭建
2011-03-15 08:20
218 查看
Redhat中快速安装php/mysql | |
文章录入:7747.Net 责任编辑:7747.Net 13 | |
【字体:小 大】 | |
确保使用系统自带的apache(Unix平台最流行的WEB服务器平台),从安装光盘中找出所有以MySQL(和PHP搭配之最佳组合)及php(做为现在的主流开发语言)-MySQL(和PHP搭配之最佳组合)开头的rpm包,然后运行 #rpm -ivh MySQL(和PHP搭配之最佳组合)*.rpm php(做为现在的主流开发语言)-MySQL(和PHP搭配之最佳组合)*.rpm; MySQL(和PHP搭配之最佳组合)_install_db; service MySQL(和PHP搭配之最佳组合) start apache(Unix平台最流行的WEB服务器平台) + php(做为现在的主流开发语言): [1] Install the all the component of "Web Server" group. If you have not installed "httpd" or if the php(做为现在的主流开发语言) support is not installed, you can just execute "redhat-config-packages" to get a user-friendly GUI to Add/Remove any packages. [2] By default, the php(做为现在的主流开发语言)-MySQL(和PHP搭配之最佳组合) cooperation package will not be installed. Get the RH8 disc 3 and install the rpm package: "php(做为现在的主流开发语言)-MySQL(和PHP搭配之最佳组合)-4.2.2-8.0.5.i386.rpm" [3] Modify /etc/php(做为现在的主流开发语言).ini, change "register_globals = Off" to "register_globals = On" MySQL(和PHP搭配之最佳组合): [1] Install all the components of "Database Server" group. If you have not installed the MySQL(和PHP搭配之最佳组合) server, you can just use "redhat-config-packages" to add it. (RH8 disc2 and disc3 are needed) [2] Exceute the following commands: # MySQL(和PHP搭配之最佳组合)_install_db # service MySQL(和PHP搭配之最佳组合)d start # MySQL(和PHP搭配之最佳组合)admin -u root password 'password' Installation of php(做为现在的主流开发语言) app: [1] Extract any tools or applications written in php(做为现在的主流开发语言) to a directory. [2] Copy all the contents to apache(Unix平台最流行的WEB服务器平台)'s default document root, /var/www/html, and make sure the file "index.php(做为现在的主流开发语言)" is in the directory /var/www/html. 现在都是用单独的一个配置文件,在/etc/httpd/conf.d/php(做为现在的主流开发语言).conf |
相关文章推荐
- 在 Windows 平台搭建 PHP 集成开发环境
- MAC开发环境搭建(Java\PHP)
- 【docker】使用docker快速搭建nginx+php开发环境
- window下搭建PHP开发环境
- MAC OS 搭建PHP开发环境
- Windows下搭建PHP开发环境
- Windows平台下PHP+Apache开发环境搭建方法备忘录
- 在RedHat9.0上搭建uClinux编译开发环境并用skyeye进行仿真
- php7.0 + mysql5.7.10 + nginx7.0 web开发环境搭建(CentOS7)
- php开发第一步,PHP5.6 + MySQL5.5 + Apache2.4环境搭建
- Mint15(或Ubuntu)下搭建LAMP(Apache+PHP+MYSQL)开发环境
- Windows下简单搭建php开发环境
- PHP移动互联网开发笔记(1)——环境搭建及配置
- mac搭建nginx、mysql、php(LNMP)开发环境
- Linux下搭建PHP开发环境
- 在Linux上面搭建PHP开发环境
- 搭建LNAMP(Linux+Apache+Nginx+MySQL+PHP)前后端Web(PHP)开发环境
- apache+php+mysql开发环境搭建小记
- Linux的安装与Linux下PHP开发环境的搭建(LAMP)
- Mac下用brew搭建PHP(LNMP/LAMP)开发环境