PHP Environment Configuration _php Tutorial under Unix

Source: Internet
Author: User
PHP Environment Configuration under UNIX
Required Software Php-3.0.14-win32.zip
Php-3.0.14-win32.zip
Mysql-shareware-3.22.32-win.zip
All software is installed under/export/home/guoj/, and can be used in other directories.
Install MySQL
GZIP-DC mysql-3.22.30.tar.gz | Tar xvf-
CD mysql-3.22.30
./configure-prefix=/export/home/guoj/mysql
Make
Make install
scripts/mysql_install_db
Cd.. /mysql/bin
Bin/safe_mysqld &
Installing Php+apache
GZIP-DC apache_1.3.11.tar.gz | Tar xvf-
GZIP-DC php-3.0.11.tar.gz | Tar xvf-
CD apache_1.3.11
./configure-prefix=/export/home/guoj/www
Cd.. /php-3.0.11
./configure-with-apache=/export/home/guoj/apache_1.3.11
-with-mysql=/export/home/guoj/mysql-enable-track-vars
Make
Make install
Cd.. /apache_1.3.11
./configure--prefix=/export/home/guoj/www
--activate-module=src/modules/php3/libphp3.ap
Make
Make install
Cd.. /php-3.0.11
Cd.. /php3.ini-dist Php3.ini
VI Php3.ini
Modify Php3.ini
doc_root=/export/home/guoj/www/htdocs/
extension_dir=/export/home/guoj/php-3.0.11/
Extension=php3_mysql.dll
CP Php3.ini/usr/local/lib/php3.ini
VI.. /www/conf/httpd.conf
Add the following sentences:
AddType application/x-httpd-php3. php3

Options FollowSymLinks
AllowOverride None

.. /www/bin/apachectl start

http://www.bkjia.com/PHPjc/632879.html www.bkjia.com true http://www.bkjia.com/PHPjc/632879.html techarticle The required software for the PHP environment configuration under UNIX Php-3.0.14-win32.zip php-3.0.14-win32.zip mysql-shareware-3.22.32-win.zip all software is installed in the/export/ home/guoj/, can also be in other eyes ...

  • Contact Us

    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.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.