solaris php and apache Installation introduction
2007-04-06 10:43
465 查看
apache-2.0.59-sol10-sparc-local.gz Apache 2 - the popular web server - installs in /usr/local/apache2. This apache package was configured with openssl support. Dependencies: expat, libiconv, gdbm, zlib, db-4.2.52.NC, openssl-0.9.8e, and you may need /usr/local/lib/libgcc_s.so.1 either from the libgcc-3.3 or gcc-3.3.2 or higher packages. Documentation can be found in /usr/local/apache2/doc/apache2. The configuration files in /usr/local/apache2/conf must be edited to fit your site's needs, including ssl support. The httpd-std.conf there should be copied to httpd.conf and any edits you must make included. Suggested special edits for httpd.conf include changing the line
Group #-1 to Group nobody
If you have already been using apache2, MAKE SURE that you backup any files in the conf, htdocs, modules, or other subdirectories of /usr/local/apache2 where you might have changed or added files so that installing the updated apache2 will not cause your configuration or other files to be lost.
The configuration step for this package was
./configure --prefix=/usr/local/apache2 --enable-mods-shared=all --enable-ssl=shared --enable-ssl --with-ssl=/usr/local/ssl --enable-proxy --enable-proxy-connect --enable-proxy-ftp --enable-proxy-http
The modules that were compiled with this package can be found in /usr/local/apache2/modules. You may also need to set up startup scripts to begin the httpd processes at boot up. See the appropriate link for your level of Solaris in openssh.html where you can determine how to set up the randomness features required when using openssl.
php-4.4.5-sol10-sparc-local.gz The PHP scripting language - installs in /usr/local/php4 to avoid confusion with php5 which installs in /usr/local/php. Php requries that either libgcc-3.3 or gcc be installed. PHP is used with apache 2.0.59, not apache 2.2, and mysql which should also be installed along with any packages they may require. PHP needs configuration. php.ini related files are in /usr/local/php4/doc/php4 along with other documentation. php.ini needs to be installed in /usr/local/php4/lib. The libphp4.so file is installed in /usr/local/apache2/modules. The following two lines
need to be placed in your httpd.conf file in their appropriate places.
Group #-1 to Group nobody
If you have already been using apache2, MAKE SURE that you backup any files in the conf, htdocs, modules, or other subdirectories of /usr/local/apache2 where you might have changed or added files so that installing the updated apache2 will not cause your configuration or other files to be lost.
The configuration step for this package was
./configure --prefix=/usr/local/apache2 --enable-mods-shared=all --enable-ssl=shared --enable-ssl --with-ssl=/usr/local/ssl --enable-proxy --enable-proxy-connect --enable-proxy-ftp --enable-proxy-http
The modules that were compiled with this package can be found in /usr/local/apache2/modules. You may also need to set up startup scripts to begin the httpd processes at boot up. See the appropriate link for your level of Solaris in openssh.html where you can determine how to set up the randomness features required when using openssl.
php-4.4.5-sol10-sparc-local.gz The PHP scripting language - installs in /usr/local/php4 to avoid confusion with php5 which installs in /usr/local/php. Php requries that either libgcc-3.3 or gcc be installed. PHP is used with apache 2.0.59, not apache 2.2, and mysql which should also be installed along with any packages they may require. PHP needs configuration. php.ini related files are in /usr/local/php4/doc/php4 along with other documentation. php.ini needs to be installed in /usr/local/php4/lib. The libphp4.so file is installed in /usr/local/apache2/modules. The following two lines
· LoadModule php4_module modules/libphp4.so
· AddType application/x-httpd-php .php
need to be placed in your httpd.conf file in their appropriate places.
相关文章推荐
- Apache Jakarta and Beyond : A Java Programmer's Introduction
- Sams teach yourself PHP, MySQL and Apache in 24 hours
- How to install LAMP (Apache, PHP and MySQL in Linux) using Yum
- Install Apache and PHP
- Memcached and libmemcached Installation on Solaris 11
- Setup Apache, PHP, MySQL and WordPress on Mac OS X 10.8.3
- Install Apache, PHP And MySQL On CentOS 7 (LAMP)
- Get Apache, MySQL, PHP and phpMyAdmin working on OSX 10.10 Yosemite
- How to install and configure Apache, PHP, MySql and phpMyadmin on ubuntu
- SpagoBI 教程 Lesson 1:Introduction and Installation
- Extension Writing Part I: Introduction to PHP and Zend
- How to Install LAMP (Apache 2.4, MySQL 5.6, and PHP 5.4) on CentOS/RHEL 7
- Lunix 下安装 Linux, Apache, MySQL and PHP for wikimedia
- Mongoose源码剖析:Introduction and Installation
- dedecms /install/index.php.bak Installation File Not Deleted && Executed Via Apache Analytic Vul
- ProcessMaker Installation—MySQL-MariaDB—Apache—PHP
- PHP, LDAPS and Apache
- CentOS6.6 Install Apache httpd and PHP and MySQL
- Apache 2 and PHP 5 (mod_php) on Linux
- Step by Step Installation of the Subversion 1.x Server for Linux and Solaris 8/9/10 (English)