Posts

Showing posts with the label wamp

Install APC for PHP 5.5x in WampServer

Download APCu for PHP 5.5x http://pecl.php.net/package/APCu/4.0.6/windows Extract and copy php_apcu.dll to PHP extension directory C:\wamp\bin\php\php5.5.12\ext Enable APC extension in php.ini extension=php_apcu.dll Restart Wampserver

Installing Propel in CodeIgniter

INSTALLING PROPEL IN CODEIGNITER Download CodeIgniter http://ellislab.com/codeigniter Download Propel ORM http://propelorm.org/download.html Inside CodeIgniter application directory, create the following directories: build build/data Note: Anywhere is fine, this is just for organization Unzip Propel ORM, copy the generator directory and rename to propel in application/build/data Copy build.properties-sample from build/data/propel to build/data without the ‘-sample’ Add the following data to build.properties with your own variables propel.project = ci propel.database = mysql propel.database.url = mysql:host=localhost;dbname=demo propel.database.user = root propel.database.password = password Then at the last part of the same file add: propel.project.dir = ${propel.home} propel.output.dir = ${propel.project.dir}/output propel.conf.dir = ${propel.project.dir} propel.sql.dir = ${propel.output.dir}/sql propel.graph.dir = ${propel.output.dir}/graphs propel.omtar.d...

Install Pear and Phing on Wamp Server

FOR WAMPSERVER Download http://pear.php.net/go-pear.phar Go to C:\wamp\bin\php\php5.x.x\ Save go-pear.phar to the php directory then run: php -d phar.require_hash=0 go-pear.phar On Pear installation, select local install, enter till the part about modifying php.ini (N) Run pear version to see if installation is successful Next, right-click wamp server tray icon, then click PHP → php.ini Uncomment include_path , set value to: include_path = ".;C:\wamp\php\php5.x.x\pear" Restart wamp server If it does not work, change directory to C:\wamp\bin\php\php5.x.x\ then change php.ini include_path = ".;C:\wamp\php\php5.x.x\pear" Restart wamp server Still inside php directory, run pear channel-discover pear.phing.info pear install phing/phing If installation requires root permission run: runas /user:Administrator cmd where Administrator is the account username of the administrator To run phing and pear from any directory, add the bat file to wind...