i am experiencing a problem when trying to install the wordpress script through install-script from a php script.
i am using the following command:
$createSite = shell_exec("wget -O - --quiet --http-user=root --http-password=removed* --no-check-certificate 'https://*server:10000/virtual-server/remote.cgi?program=install-script&domain=testdomain&type=wordpress&version=3.3.2&path=/testdomain&db='mysql' ' ");
if i place the following code in a browser
'https://*server:10000/virtual-server/remote.cgi?program=install-script&domain=testdomain&type=wordpress&version=3.3.2&path=/testdomain&db='mysql' '
it works perfectly,,,,
how can i get this function to work from with my script?? i keep getting errors like:
'mysql is not a valid database type. Allowed types are : mysql ' which doesn't make sense,,,
assistence will be very much appreciated...
kind regards,
&db='mysql' ' ");
to
&db=mysql");
no single quotes.
Thanx,,, but i still get the same error,
mysql is not a valid database type. Allowed types are : mysql
this is my command
$createSite = shell_exec("wget -O - --quiet --http-user=root --http-password=removed --no-check-certificate 'https://removed/virtual-server/remote.cgi?program=install-script&domain=testdomain&type=wordpress&version=3.3.2&path=/testdomain&db=mysql ' ");