• Halloween is coming! To celebrate the occasion, we dusted off a couple of old skins, and even created a brand new one (Pixel).
    To get into the festive spirit, install the Skins extension.
  • The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

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