1

I have PEAR setup and custom packages installed under the directory

/home/######/data/pear/php

I can ssh in and confirm the files are there, however I can not include them in my application as such

require_once "/home/######/data/pear/php/Mail/Queue.php";

I get an error

Failed to open stream: No such file or directory

I have also tried setting my php include_path to Local: /home/######/data/pear/php Master: .:/home/######/data/pear/php

and received the same error using:

require_once "/Mail/Queue.php";

Another odd thing is that the "/pear/php" directory does not appear in place over ftp, but instead in an "..mnt/######/users/.home/pear/php/" directory

Technical Support tells me that custom PEAR packages are not a supported issue. Any suggestions?

christian
  • 111
  • 3

1 Answers1

0

You can refer to Mediatemple Knowledgebase,

this link helped me. try

[took little time to figure out]

This problem happens because of the symbolic links in media temple, for example, the home directory path is /home/0000/user/.home/

so your pear path will be /home/0000/user/.home/pear/php

Maddy
  • 101
  • 3
  • Any useful information other than just posting a link? – Khaled Feb 14 '13 at 11:40
  • @Khaled Sorry about that, I was in a hurry, so thought that link will help, Just added little more description, Thnaks for your patience :-) – Maddy Feb 21 '13 at 17:40