Skip to content

PHP

PHP

  1. PHP is a server-side, cross platform, HTML embedded scripting language. Learn more of PHP from http://www.php.net

  2. You need php-mysql package to connect to a MySQL database. Download and install php-mysql-version.rpm. It is better to install a version of php-mysql that match with your native php and mysql that shipped together with your current Linux software.

  3. Update /etc/php.ini

    error_reporting = E_ALL & ~E_NOTICE
    display_errors = On
    register_globals = On
    memory_limit = 12M
    magic_quotes_gpc = Off

  4. To support GD, please install php-gd-version.rpm

  5. Install mbstring module, download php-mbstring-version.rpm and install. Restart Apache after installation.

  6. To support Zend Optimizer, please download from Zend Optimizer website and install. After successful installation, you will see the following line in the php.ini.

    This program makes use of the Zend Scripting Language Engine:
    Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies with Zend Extension Manager v1.0.8, Copyright (c) 2003-2005, by Zend Technologies with Zend Optimizer v2.5.10, Copyright (c) 1998-2005, by Zend Technologies

  7. Restart Apache
    /etc/rc.d/init.d/httpd restart

Categories: Lesson, Linux, Server, Solution, Web Hosting.

Comment Feed

No Responses (yet)



Some HTML is OK

or, reply to this post via trackback.