I'm trying to use 5.2 to get an old copy of OSCommerce to work for a client, but I'm having an include_path problem.
I see this is currently included...
include_path='.:/opt/atomic/atomic-php52/root/usr/share/pear:/opt/atomic/atomic-php52/root/usr/share/php'
I've tried adding :/var/www/vhosts/shopdomain.com/httpdocs to the end of that, but that doesn't seem to work. Any ideas what I'm doing wrong?
include_path problem with PHP 5.2
Re: PHP Panda! Multi-PHP installer for Plesk (and others!)
What are the exact errors?
Lemonbit Internet Dedicated Server Management
-
- Atomicorp Staff - Site Admin
- Posts: 8355
- Joined: Wed Dec 31, 1969 8:00 pm
- Location: earth
- Contact:
Re: include_path problem with PHP 5.2
which php.ini are you editing?
Re: include_path problem with PHP 5.2
I was editing it in the PHP Settings area available in Plesk. It seems to be picking up the changes as I see it changed in the error logs, but it's still not working.
Here is a sample of the error log...
Here is a sample of the error log...
Code: Select all
[Fri Apr 25 14:42:00 2014] [warn] [client xxx.xxx.xxx.xxx] mod_fcgid: stderr: PHP Warning: include(includes/languages/english): failed to open stream: Success in /var/www/vhosts/shopdomain.net/httpdocs/shop/admin/includes/application_top.php on line 146
[Fri Apr 25 14:42:00 2014] [warn] [client xxx.xxx.xxx.xxx] mod_fcgid: stderr: PHP Warning: include(): Failed opening 'includes/languages/english' for inclusion (include_path='.:/opt/atomic/atomic-php52/root/usr/share/pear:/opt/atomic/atomic-php52/root/usr/share/php:/var/www/vhosts/shopdomain.net/httpdocs') in /var/www/vhosts/shopdomain.net/httpdocs/shop/admin/includes/application_top.php on line 146
-
- Atomicorp Staff - Site Admin
- Posts: 8355
- Joined: Wed Dec 31, 1969 8:00 pm
- Location: earth
- Contact:
Re: include_path problem with PHP 5.2
Yeah, thats the wrong one. You have to edit the php-panda php.inis, those live in /opt/atomic/