kostakondras Posted January 27, 2011 Share Posted January 27, 2011 I am having difficulties with my include_path directives in the php.ini file. Please click the link below to see a screencast of the problem: http://screenr.com/vhY I am very confused as sometimes the include_path does work and sometimes it doesn't work. Also am I allowed to have multiple include_path directives or do I need to include every path in a single include_path directive. Quote Link to comment https://forums.phpfreaks.com/topic/225893-include_path-directive-troubleshooting/ Share on other sites More sharing options...
requinix Posted January 27, 2011 Share Posted January 27, 2011 Did you know that phpinfo() will tell you the location of the loaded php.ini file? Quote Link to comment https://forums.phpfreaks.com/topic/225893-include_path-directive-troubleshooting/#findComment-1166248 Share on other sites More sharing options...
kostakondras Posted January 27, 2011 Author Share Posted January 27, 2011 Hi Requinix, Thanks for the info. I did not know that. However I have been able to solve this problem, it seems that the include_path does not work if there are multiple include_paths in the php.ini file (WAMP was using the right .ini file). So what I did was put all my include paths into one include_path directive seperated by a semicolon (. I can see the blue screen that says "Welcome to the Zend Framework" so I've taken the next step . So for now I have the problem fixed until I get stuck again. Regards Quote Link to comment https://forums.phpfreaks.com/topic/225893-include_path-directive-troubleshooting/#findComment-1166278 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.