php is not working well on ubuntu 13.10 and mcrypt is missing in phpmyadmin
        Posted  
        
            by 
                mohamad
            
        on Ask Ubuntu
        
        See other posts from Ask Ubuntu
        
            or by mohamad
        
        
        
        Published on 2013-10-19T20:37:14Z
        Indexed on 
            2013/10/19
            22:15 UTC
        
        
        Read the original article
        Hit count: 436
        
I've upgraded from UBUNTU 13.04 to 13.10 but I can not work with php pages or phpmyadmin .
I've tried this way to install lamp on ubuntu sudo apt-get install lamp-server^ phpmyadmin
and I've done all of the configuration correctly after installation I've added this line  Include /etc/phpmyadmin/apache.conf to  /etc/apache2/apache2.conf then I restarted apache2 but in phpmyadmin on the bottom of the page is this error : The mcrypt extension is missing. Please check your PHP configuration 
I've check  and mcrypt was in it , but in phpmyadmin it gives me error of missing . 
the other problem is on PHP pages it seems like there is no PHP and it's all html because lots of PHP lines are printed in textbox's like : <? echo $row['details']; ?>
can anybody tell me what should I do ? 
© Ask Ubuntu or respective owner