mellis95 Posted June 24, 2010 Share Posted June 24, 2010 I have installed LAMP AT LEAST 10-12 times with no issues at all. So, today I wanted to test an installation/upgrade routine for an application that I have been developing and wanted to test on a clean installation. So, I went to my test box, which already have Ubuntu 10.04 Desktop Edition installed and I installed Apache2, PHP5, and mysql5 (along with dependencies, etc.) set the ServerName in Apache, and set the include_path in php.ini to: include_path = ".:/usr/share/php:/var/www/therapydoc/includes" I opened my application in FireFox and Apache worked and PHP was parsing files, but none of my includes or requires work. So I look at phpinfo() and verify that it is pointing to the correct configuration file (It was) and checked the include_path and phpinfo() shows the include path to be : .:/usr/share/php:/usr/share/pear So I restarted Apache2 and it still didn't work. I have been through php.ini over and over and cannot find why my include_path is not working. The first thing I would ask someone posting this question is "Did you uncomment the include_path in php.ini?" Well, yes, I have actually checked that multiple times. I have actually gone as far as rebooting the whole box to no avail. I also verfied that there are NO .htaccess files anywhere in my application OR the webserver. Where do I go from here? Thanks in advance. Matt Quote Link to comment https://forums.phpfreaks.com/topic/205768-include_path-not-working-on-new-installation/ Share on other sites More sharing options...
corbin Posted July 17, 2010 Share Posted July 17, 2010 Have you made sure the base_opendir directive isn't set? Also, have you checked the file permissions? Quote Link to comment https://forums.phpfreaks.com/topic/205768-include_path-not-working-on-new-installation/#findComment-1087541 Share on other sites More sharing options...
PFMaBiSmAd Posted July 17, 2010 Share Posted July 17, 2010 Does the phpinfo() show that you are changing the php.ini that php is using? Edit: Actually, I'm not sure why we are answering a slightly dated thread, it was probably already solved. Quote Link to comment https://forums.phpfreaks.com/topic/205768-include_path-not-working-on-new-installation/#findComment-1087557 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.