• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

php.ini and include path changed in plesk 8.0

I

interversal

Guest
Hi, this is just to let people know of a problem I had when installing plesk 8.0 from 7.54.
I had mysql 4.18 and Zend optimizer.

After the upgrade many of my php sites displayed an error like this:

Warning: main(): Failed opening 'include/utils/security_utils.php' for inclusion (include_path='\')

After resetting permissions, trying to do a restore but discovering that 8.0 can't read 7.5 backups. I thought I was stumpted.
Then I came across a fix on a forum that said:


i figured it out... in the php.ini file include_path must be exactly this:
----
.:/usr/local/lib/php
----
or in my case it needed to be
include_path=".:var/lib/php"

And that's in /etc/php.ini in my case
You can find out what your include_path is by running a php file with exaclty this in it

<? echo phpinfo(); ?>

no spaces before or after.

I hope this helps some people and saved you the 10 hours it took me to figure out.
It affected my mambo templates and zen cart installs.

Cheers
Glenn
 
ah yes. that's done it

Now I've got zend back my php pages are working like a treat again,

woopee!

Thanks
glennn
 
Code:
include_path=".:var/lib/php"

Thanks SOOOOOO much for the path!! It just solved a week old mystery! For some lame reason Plesk was defaulting to ".:" for me.
 
Back
Top