[RESOLVED] Import server settings??

admin

Administrator
Staff member
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: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.Thats what i'm doing, but takes me too long!! :S

A faster way??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 ..... :)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 reasonThank 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!!Don't forget to mark the thread resolved using the thread tools menu
 
Back
Top