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.

php really slow

Discussion in 'General Discussion' started by Mc NaN, Aug 15, 2007.

  1. Mc NaN

    Mc NaN Member

    Joined:
    Dec 15, 2003
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Php takes a lot of time when I run this script: (when I run the login script I get the same problem, after that the site works very good)

    Code:
    <?php
    	session_start();
    	$_SESSION = array();
    	session_unset();
    	session_destroy();
    	header("location: index.php");
    	exit();
    ?>
    The same script works good in other servers. I have checked my php.ini file and my my.cnf file; all seems good.
    I don't know what the problem can be, can someone give me a hand ?

    Thanks for your time.
     
    #1 Mc NaN, Aug 15, 2007
    Last edited: Aug 15, 2007
Loading...

Share This Page