delickate Posted September 28, 2011 Share Posted September 28, 2011 Hi, I just connect to my server through ftp. i want to edit php.ini file. which is placed in /etc/php.ini "etc" folder. but i'm unable to see etc folder. there are only two folders one is cgi-bin and other is www. can anyone help me to find out etc folder. i've check to show hidden files in filezilla. Thanks Quote Link to comment https://forums.phpfreaks.com/topic/248003-folder-not-showing/ Share on other sites More sharing options...
maddie2120 Posted September 28, 2011 Share Posted September 28, 2011 It sounds as though you may not have permission to access php at this level, you might have to contact your server administrator and ask them to do it for you. Hope this helps Quote Link to comment https://forums.phpfreaks.com/topic/248003-folder-not-showing/#findComment-1273420 Share on other sites More sharing options...
delickate Posted September 28, 2011 Author Share Posted September 28, 2011 Thanks for the reply, I'm running my php project there. but now i need to edit php.ini file. anyways thanks Quote Link to comment https://forums.phpfreaks.com/topic/248003-folder-not-showing/#findComment-1273442 Share on other sites More sharing options...
Buddski Posted September 28, 2011 Share Posted September 28, 2011 Have you tried editing the configuration values inside your script? ini_set() Quote Link to comment https://forums.phpfreaks.com/topic/248003-folder-not-showing/#findComment-1273460 Share on other sites More sharing options...
delickate Posted September 28, 2011 Author Share Posted September 28, 2011 Thanks for reply, Yeah i tried ini_set("allow_url_fopen", "1"); to allow accessing other site url on my site. but no luck. it gives following error: Warning: simplexml_load_file(): http:// wrapper is disabled in the server configuration by allow_url_fopen=0 in /vhost/vhost10/d/x/b/dxbconnect.com/www/demo/weather.php on line 10 Warning: simplexml_load_file(http://www.google.com/ig/api?weather=dubai): failed to open stream: no suitable wrapper could be found in /vhost/vhost10/d/x/b/dxbconnect.com/www/demo/weather.php on line 10 Warning: simplexml_load_file(): I/O warning : failed to load external entity "http://www.google.com/ig/api?weather=dubai" in /vhost/vhost10/d/x/b/dxbconnect.com/www/demo/weather.php on line 10 Fatal error: Call to a member function xpath() on a non-object in /vhost/vhost10/d/x/b/dxbconnect.com/www/demo/weather.php on line 11 that is why i'm trying to edit php.ini file or .htaccess file. i copied my own these file in root directory but no luck. any clue? Thanks Quote Link to comment https://forums.phpfreaks.com/topic/248003-folder-not-showing/#findComment-1273467 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.