wapps Posted Sunday at 10:21 PM Posted Sunday at 10:21 PM My PHP Composr shows a dependency for phpmailer (which I need for sending emails). When I look at my directory, I do not find any folders installed relating to phpmailer. Am I missing something? Quote
wapps Posted 9 hours ago Author Posted 9 hours ago Let me try to clarify my issue....... My PHP Composer shows phpmailer is installed. Consequently, I was looking for signs of this being true by searching my Home Directory for installed files referencing phpMailer. Attached is a picture of my Home Directory. The Vendor folder shown is a folder that I upload to my Home Director (not one created by PHP Composer). I used this folder a home with my WAMP set up which enabled my to use phpMailer to send emails. Shown in this folder is a folder "phpmailer". I was expecting that this type of setup would have been generated by PHP Composer. I can not find any reference to a folder in the Home Directory for phpmailer (except, of course, in the folder I uploaded). Can someone explain this. Is phpmailer working even though I can not see it? Quote
wolstech Posted 5 hours ago Posted 5 hours ago I believe the vendor folder would be created in whatever folder you put the composer.json file. Because you manually uploaded a prebuilt vendor folder to the same location as composer.json, there's no way to tell whether it worked. (Normally you'd just upload a composer.json, select it in Plesk's composer page, then hit the install button on the composer page and it would build the vendor folder for you). By the way, it's kind of silly to put this stuff in your home folder since it can't be accessed from your domain. You should create a new folder inside httpdocs and put it in there so you can actually access the app your building (e.g. making a folder called mytestproject inside httpdocs would make your app appear at wapps.helioho.st/mytestproject/ ) Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.