Error installing Apache with xampp

天涯浪子 提交于 2019-12-11 17:44:26

问题


I recently manually installed and configured PHP, Apache, MySql, and phpmyadmin following a youtube tutitorial. It seemed like everything was working fine, but today when I finished a script for a registration form, I was getting an error statement that said "Fatal Error: Call to undefined function mysql_connect(). So I decided to uninstall PHP, Apache, Mysql, and phpmyadmin, and try xampp. Now on xampp's control panel I am getting this error and I am completely lost on what to do. Any insight/helpp would be much appreciated...

    9:31:53 PM  [Apache]    Apache Service detected with wrong path
    9:31:53 PM  [Apache]    Change XAMPP Apache and Control Panel settings or
    9:31:53 PM  [Apache]    Uninstall/disable the other service manually first
    9:31:53 PM  [Apache]    Found Path: "c:\Apache24\bin\httpd.exe" -k runservice
    9:31:53 PM  [Apache]    Expected Path: "c:\xampp\apache\bin\httpd.exe" -k runservice

回答1:


Try to execute netstat -nlpt command.And figure out mysql process .Kill it and start your wampp.



来源:https://stackoverflow.com/questions/22137819/error-installing-apache-with-xampp

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!