installing wordpress with install script

3 posts / 0 new
Last post
#1 Fri, 08/24/2012 - 06:38
markx

installing wordpress with install script

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,

Fri, 08/24/2012 - 06:52
pcfreak30

&db='mysql' ' ");

to

&db=mysql");

no single quotes.

Thu, 08/30/2012 - 04:34 (Reply to #2)
markx

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 ' ");

Topic locked