XAMPP INSTALL ACP INSTALL
Sudo apt-get install php5-dev apache2-prefork-dev sudo apt-get remove php-apc sudo pecl config-set preferred_state beta sudo pecl install APC sudo pecl config-set preferred_state stable Set the configuration options for APC: sudo gedit /etc/php5/conf.d/apc.ini Contents extension=apc.so apc.shm_size=100 apc.write_lock=1 apc.slam_defense=0 These add extra functionality to php sudo apt-get install php-pear php-mdb php-mdb2-driver-mysql libmagic-dev php5-dev sudo pear install text_password console_getopt sudo pecl install Fileinfo If the last command doesn't work try sudo pear install pecl/Fileinfo echo extension=fileinfo.so | sudo tee /etc/php5/apache2/conf.d/fileinfo.iniħ Ubuntu and APC Want to install APC a module that allows caching of data between http requests sudo apt-get install php-apc sudo gedit /etc/php5/conf.d/apc.ini Add the following lines: apc.shm_size=100 apc.slam_defense = OffĨ Ubuntu Lucid and APC Work aournd APC bug in Ubuntu Lucid: From a terminal: sudo gedit /etc/php5/apache2/php.ini and change the line memory_limit = 32M to the line memory_limit = 128M
htaccess file sudo gedit /etc/apache2/sites-available/default Change None to All in: Options Indexes FollowSymLinks MultiViews AllowOverride None Order allow,deny allow from all Restart Apache sudo /etc/init.d/apache restartĥ PHP Configuration We need to increase the default memory limit for PHP for site inititialization and reporting. Sudo a2enmod rewrite Make sure we can use the. From a termnial: sudo gedit /etc/mysql/my.cnf and make sure you have: query_cache_limit = 4M query_cache_size = 64MĤ Configuring Apache Enable the rewrite module for nice URLs Install the LAMP Server Configuring MySQL Configuring PHP PEAR and PECL Configuring Apache Downloading iHRIS MySQL Database Creation IHRIS Site Configuration IHRIS Site InitializationĢ LAMP Server Install the LAMP (Linux Apache Mysql PHP) server:ģ MySQL Configuration Want to increase the cache size for the results of a mysql query to increase server speed.
1 Installing iHRIS Install iHRIS Manage on an Ubuntu System