Cygwin - compilation of PHP extension

From: Date: Mon, 30 Mar 2009 10:09:19 +0000
Subject: Cygwin - compilation of PHP extension
Groups: php.general 
Request: Send a blank email to php-general+get-290809@lists.php.net to get a copy of this message
Hi, I am totally new in compiling under cygwin. I need to compile an PHP extension, and this is what I figured so far: gcc -c extension_name.c (that's the only *.c file in that extension directory) ERROR: php.h: No such file... So, I changed the env PATH: PATH=$PATH:/usr/local/src/php-5.2.9/main (downloaded directly from PHP.net, unchanged, no make or install commands) And checked: printenv PATH OK. Ran again, but it shows still the same error: php.h not found. I appreciate your help, Martin

« previous php.general (#290809) next »