Forrest logo
back to the phpize tool

phpize:tldr:abf23

phpize: Delete files previously created by phpize.
$ phpize --clean
try on your machine

The phpize --clean command is used in PHP development environments to clean up the files and directories that were created during a previous phpize command.

When you run phpize on a PHP extension source code directory, it generates various files and directories required for compiling and installing the extension. These files include a configure script, Makefile, and temporary object files.

The phpize --clean command removes all these generated files and directories, effectively cleaning up the environment. It is particularly useful when you need to restart the extension development process from scratch or when you want to switch between different extension versions.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the phpize tool