The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

how can i set php.ini file?

Discussion in 'General Discussion' started by }{iJacK, Jan 19, 2004.

  1. }{iJacK

    }{iJacK Member

    Joined:
    Aug 21, 2003
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    1
    i have to change some settings in php.ini
    im getting trouble with uploading file with php script..

    does any body know?
     
  2. dave9000

    dave9000 Well-Known Member

    Joined:
    Apr 7, 2003
    Messages:
    891
    Likes Received:
    1
    Trophy Points:
    16
    Location:
    arkansas
    cPanel Access Level:
    Root Administrator
    This is a very simple issue to fix which you could find many examples of if you would take the time to do a search of this forum

    or if all else fails go to www.php.net and RTFM
     
  3. }{iJacK

    }{iJacK Member

    Joined:
    Aug 21, 2003
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    1
    i try but i cant find any thin

    whenever i search about sometin this forum can find anythin..

    i see 3 msg. in once some one says i find a similar topic and he wrote topic subject then i try searching again with same topic i cant again..
    could you help me?
     
  4. haze

    haze Well-Known Member

    Joined:
    Dec 21, 2001
    Messages:
    1,550
    Likes Received:
    3
    Trophy Points:
    38
    Put the following into a blank text file, save it as whatever.php upload it and open in your browser:

    <? phpinfo(); ?>

    This will tell you the locateion to your php.ini. Alternatively if you are running phpSuExec then you can also make changes to a php.ini file under the users directory. ie. create a blank file call it php.ini and save it to /home/username/public_html/. If you are running php as an apache module you can do the same within .htaccess. Read up on more @ php.net.
     
Loading...

Share This Page