Jump to content

malam

New Members
  • Posts

    4
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

malam's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Hi, There are two ways to know where is your php.ini 1. write the following code and put it in test.php and save it inside htdocs folder in xampp and hit the url of the http://localhost/test.php <?php phpinfo(); ?> try to find out "Loaded Configuration File" in the webpage u will get that is the path of your php.ini 2. go directly to the xampp/php folder you will get the configuration settings file name as php(.ini) that's it.
  2. Dear Gizmola Thank you for your reply, I have checked disable functions in php.ini and my php is not running in safe mode. The same code is working in xampp but not the LAMP. I am attaching the phpinfo() file please have a look. please remove the .doc extension as this forum only support .doc and other image files. Thank you once again for a quick reply. [attachment deleted by admin]
  3. I have a username alam for the server I have sudo access to execute linux commands. I could configure almost all files the root can do. I wrote this script on the server for test as I need to provide the server some functionality ----------------- <?php $cmd="ls -l"; echo exec($cmd,$ret_value) . "<br />DONE"; echo "<pre>".shell_exec($cmd)."</pre>DONE"; ?> ------------------ I get the OUTPUT as follows - ------------------ DONE DONE -------------------- :'( I am novice user of Linux however any kind of help will be appreciated ..........
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.