Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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?

share|improve this question
add comment

1 Answer

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

share|improve this answer
    
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
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.