PHP: Call to undefined function: simplexml_load_string()

前端 未结 7 594
名媛妹妹
名媛妹妹 2020-12-13 23:02

I am implementing facebook count function using cron file. In which cron runs every 10 minutes and counts the total likes of a page.

for($i=0;$i<3;$i++){
         


        
7条回答
  •  佛祖请我去吃肉
    2020-12-13 23:34

    If the XML module is not installed, install it.

    Current version 5.6 on ubuntu 14.04:

    sudo apt-get install php5.6-xml
    

    And don't forget to run sudo service apache2 restart command after it

    Zulhilmi Zainudi

提交回复
热议问题