How to Configure Php Script to Avoid 500 error

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    How to Configure Php Script to Avoid 500 error

    Dear mate....Post here the basic tips about how to configure my php script to avoid 500 Internal server error form any server!

    #2
    php has nothing todo wit 500 errors. Its d server e.g in apache its the http.conf or .htaccess that gives a 500 when its configured wrongly. So solution, delete or check ur .htaccess file, if dat dnt work tel ur host.

    Comment


      #3
      sanju, problem is on ur .htaccess file. check it

      Comment


        #4
        Originally posted by khan89 View Post
        sanju, problem is on ur .htaccess file. check it
        may be its a .htaccess file Porblem. but there Have any way to get access without change my .htaccess file??

        Comment


          #5
          if you run php in fast-cgi mode and need long execution time for your scripts eg. for converting videos or uploading large files, you need to configure your php.conf and increase timeouts.

          PHP Code:
          BusyTimeout 10800
          ProcessLifeTime 10800
          IPCConnectTimeout 20
          IPCCommTimeout 10800
          MaxRequestsPerProcess 
          -
          fcgi timeout because of Gallery2 intensive tasks | Gallery
          Advertise your mobile site for FREE with AdTwirl

          Comment


            #6
            thanks bro

            Comment

            Working...
            X