Exec() Problem | Wordpress Support | Forum Archive

The free forums are no longer in use. It remains available as read-only archive.

Avatar
Lost password?
Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters – maximum search word length is 84 characters
The forums are currently locked and only available for read only access
sp_Feed Topic RSS sp_TopicIcon
Exec() Problem
December 17, 2010
4:48 pm
Avatar
sjc999
New Member
Members
Forum Posts: 2
Member Since:
December 17, 2010
sp_UserOfflineSmall Offline

Using wordpress 3.0.3 on localhost on Wn 7 x64 with UAC disabled. Wampserver 2.0 including PHP 5.3.0. Safe mode is OFF

I wanted to use mysqldump but it says php exec is disabled. Can't find any way to enable it, and no luck with web search.

I created a web page with if(!exec('cd .')){ die('ERROR: Exec is not available!!!'); } (in php tags)  and it does echo back the error.

Any advice on getting this going would be great.

I also see this is optional – what does that mean – will the database get backed up some other way, or does optional mean you just can run it without backing up the database.

 

Thanks

Steve

December 17, 2010
5:12 pm
Avatar
Ovidiu Liuta
Admin
Forum Posts: 2484
Member Since:
September 26, 2010
sp_UserOfflineSmall Offline

Hi Steve, you will need to ask your hosting provider if they can enable that function for you, usually it depends on their hosting policy.

XCloner will be able to generate a mysql backup even if exec() is not supported.

Good luck. Ovidiu

December 17, 2010
5:55 pm
Avatar
sjc999
New Member
Members
Forum Posts: 2
Member Since:
December 17, 2010
sp_UserOfflineSmall Offline

I am the 'hosting provider' in this case – I'm trying to run this on my own PC.  I want to be able to setup a blog offline, then clone and move it to a hosting provider.

 

I'll give it a go then, without the mysqldump.

 

Thanks

Forum Timezone: America/Chicago
Most Users Ever Online: 867
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
mlguru: 30
Django29: 29
Andy: 21
D: 21
Marcus: 20
Jamie F: 19
Member Stats:
Guest Posters: 737
Members: 9668
Moderators: 2
Admins: 3
Forum Stats:
Groups: 3
Forums: 7
Topics: 2397
Posts: 8236
Newest Members:
jose marín
Moderators: TriP: 0, Steve Burge: 0
Administrators: Ovidiu Liuta: 2484, Victor Drover: 1, Valentin Barbu: 0