How to delete php on mac

藏色散人
Release: 2023-03-07 14:54:01
Original
1853 people have browsed it

How to delete php on mac: first stop the apache service through "sudo apachectl stop"; then delete the php directory "/usr/php /usr/bin/php /usr/bin/php-config /usr/bin /phpize." That's it.

How to delete php on mac

Recommended: "PHP Video Tutorial"

Mac OS X Lion deletes the built-in apache php

To stop the apache service: sudo apachectl stop

Delete the following apache directory:

/etc/apache2

/usr/include/apahce2

/usr/libexec/apache2

Delete the php directory, (a bit too much):

/usr/php

/usr/bin/php

/usr/bin/php-config

/usr/bin/phpize

/usr/include/php

/usr/lib/php

/usr/share/man/man*/php*

/usr/share/man

Under this directory, there are man1-man8 and so on on my computer. Directory, mine only has three files starting with php under man1. I suggest you check the others if you are worried.

At this point, apache and php have been deleted. However, I still feel that some unclean files should be deleted, such as some dependent packages of php and other files.

The above is the detailed content of How to delete php on mac. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
mac
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template