Zend Framework with xampp

The leading open-source PHP framework has a flexible architecture that lets you easily build modern web applications and web services.

This is the practical information about zend framework with xampp, I want to use zend library with xampp but

Error: ” Warning: require_once(Zend/Loader.php) [function.require-once]: failed to open stream: No such file or directory in D:\xampp\htdocs\zendframework\htdocs\index.php on line 2

Fatal error: require_once() [function.require]: Failed opening required ‘Zend/Loader.php’ (include_path=’.;\xampp\php\pear\’) in D:\xampp\htdocs\zendframework\htdocs\index.php on line 2 “

Solution: Zend Framework requires no special installation steps. Simply download the framework,
extract it to the folder you would like to keep it in, and add the /library directory to your PHP include_path.

Just set include path in main php file where you want to access zend framework classes like….


<?php

//set include path to /library
set_include_path("D:\xampp\php\ZendFramework-1.8.0\library");

/*  remaining php code here */

//..........
//..........
?>

Happy zend + xampp :)

1 comment so far

  1. Anuttka on

    Что ж… и такое мнение допустимо. Хотя, думаю, возможны и другие варианты, так что не огорчайтесь.


Leave a reply