How Do U Define The Library Path In Zend ?

Zend Tutorial Zend Interview Questions in Zend Tutorial 3 years ago

  1.1K   0   0   0   0 tuteeHUB earn credit +10 pts

5 Star Rating 1 Rating

create DIRECTORY ‘library’, and put ‘Zend’ directory in it. Your directory structure will look like this:

wwwroot
APPLICATION
lib
Zend
public
index.php

now you should ADD library to your include path. Edit index.php FILE:

$includePath = array(); $includePath[] = ‘.’; $includePath[] = ‘./../application’; $includePath[] = ‘./../library’; $includePath[] = get_include_path(); $includePath = implode(PATH_SEPARATOR,$includePath); set_include_path($includePath);

create directory ‘library’, and put ‘Zend’ directory in it. Your directory structure will look like this:

wwwroot
application
lib
Zend
public
index.php

now you should add library to your include path. Edit index.php file:

Posted on 20 Feb 2022, this text provides information on Zend Tutorial related to Zend Interview Questions in Zend Tutorial. Please note that while accuracy is prioritized, the data presented might not be entirely correct or up-to-date. This information is offered for general knowledge and informational purposes only, and should not be considered as a substitute for professional advice.

Take Quiz To Earn Credits!

Turn Your Knowledge into Earnings.

tuteehub_quiz

Tuteehub forum answer Answers

Post Answer

No matter what stage you're at in your education or career, TuteeHub will help you reach the next level that you're aiming for. Simply,Choose a subject/topic and get started in self-paced practice sessions to improve your knowledge and scores.