I am trying to get Mainwp up and running on a new install.
As i am using windows and mainwp requests location of openssl.conf but i cannot find this file within the sites but found a .conf file in app/roaming. This created an error within the mainwp dashboard. Where can i find this and allow mainwp access the operations of it?
An error also occurred with curl but i cannot see line stating - ;extension=php_curl.dll so i added it like so ‘extension=php_curl.dll’ to activate it. I also realised there is no php_curl.dll
How can i get this up and running please?
I am using Apache - > mysql 5.6 -> php 5.6.2
All of the config files are in either the
conf directory or inside the site container itself. You can “SSH” into the site by right-clicking on the site in the sidebar then going to “Open Site SSH”.
cURL is already enabled for all versions of PHP in Local. Also, DLLs won’t work since the Local site containers are running Linux
Thanks Clay. Got it up and running.
I’m also configuring MainWP and cannot find the location of openssl.cnf
Can you or anybody else point me to it?
Every site has its own
openssl.cnf file inside the site’s container. The specific path is
Here’s how you can edit it:
- Right-click on the site in Local’s sidebar
- Go to “Open Site SSH”
nano /etc/ssl/openssl.cnf to open a command-line editor.
If you wish to edit it using your main editor, you can substitute step #3 with the following:
cp /etc/ssl/openssl.cnf /app/openssl.cnf
- Navigate to the site’s
app folder on your Mac or PC
- Edit the file
- Go back to Terminal or Cmd and run
mv /app/openssl.cnf /etc/ssl/openssl.cnf
Thank you for responding, Clay.
In fact I need to specify a path to openssl.cnf in the settings of MainWP
So far, I used DesktopServer and the path was: C:\xampplite\apache\conf\openssl.cnf
Here is what MainWP wants me to do: https://mainwp.com/help/docs/how-to-find-the-openssl-cnf-file/
In that case
/usr/lib/ssl/openssl.cnf is what the PHP info screen in Local shows.
/usr/lib/ssl/openssl.cnf is symlinked directly to
/etc/ssl/openssl.cnf so either one should work.