Click to See Complete Forum and Search --> : [RESOLVED] Import server settings??
llangres
02-25-2007, 02:58 PM
Hi
I have an script that works perfectly on my server(servage), however it doesnt work in my localhost, i'm running the same PHP version.
How can i import the server's settings to my local machine server so i can run the scrip on my computer??
:confused:
bradgrafelman
02-25-2007, 03:45 PM
Well, without copying their actual php.ini file (which you would then have to comb through and fix file paths anyway), this is rather difficult to do.
The only thing I can think of to do would be to run a phpinfo() on your server, and a phpinfo() on Servage's servers, and then compare the two to find the differences.
llangres
02-25-2007, 03:52 PM
Thats what i'm doing, but takes me too long!! :S
A faster way??
Weedpacket
02-26-2007, 04:51 AM
Well, between the time of your last post and the time of this reply, you would have had time to do it. Since that's what you're doing I guess you've finished ..... :)
scrupul0us
02-26-2007, 09:10 AM
compare the output of both servers phpinfo()
<?php
echo phpinfo();
?>
see what the differences are... without telling us what kind of script we cant help you any further than that
copying the php.ini is a *good* way, but if the other server isnt compiled with the same options you could be experiencing the issues for that exact reason
llangres
02-26-2007, 05:20 PM
Thank you very much for your replies, i just did that, a phpinfo() and copied the settings one by one :D Anyway i was getting a strange error, i will try to fix it later...
Now i have another trouble i will post in another board...
Thanks!!
scrupul0us
02-27-2007, 09:33 AM
Don't forget to mark the thread resolved using the thread tools menu
PHP Builder
Copyright WebMediaBrands Inc. All Rights Reserved.