Jump to content
The Uniform Server Community



Recommended Posts

Hi, Thanks for Uniserver.


My experience of Apache, PHP etc is zero so I want to check if if this is correct:

I have this error:


Error: the template directory (C:\Coral_8_5_6\UniServer\home\us_pear\PEAR\data\PEAR_Frontend_Web\data\templates) is not a directory, or not readable. Make sure the 'data_dir' of your config file (C:\Coral_8_5_6\UniServer\home\us_pear\PEAR\data) points to the correct location !


when I try to open the PEAR control panel from Server Configuration>PHP. So I replaced every occurrence of C:\Coral_8_5_6... with C:\Coral_8_7_2... in C:\Coral_8_7_2\Uniserver\home\us_pear\pear.conf and this appears to let the control panel function as intended. Was this is the right thing to do, and do I need to change any other files?

Apologies if the answer seems obvious but I am completely new at setting up a server.



Link to comment
Share on other sites

No need to apologise. What you have done looks correct assuming you have updated the file (pear.conf) serialization correctly!


You have found a bug, paths in the configuration file should update transparently.

I have attached two files (pear.conf.txt and index.php) copy these to folder C:\Coral_8_7_2\UniServer\home\us_pear allow overwriting of original files.

Rename pear.conf.txt to pear.conf


The modified script index.php will automatically update paths.

Note: Your original file pear.conf may be corrupted hence the new replacement.


All the best

Ric :)



Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...