Ticket #313 (closed defect: invalid)
i got error modifying php5.ini file.
| Reported by: | mjh2000 | Owned by: | somebody |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | eAccelerator | Version: | |
| Keywords: | Cc: | mjh55_98@… |
Description
i had to use this option...to run.
./configure --with-php-config=/etc/php5/apache2/
during the run, it did not ahve permission to php5.ini file on debian amd64 4.0 version.
then i goot this error...do not know what to do next ????
cking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc and cc understand -c and -o together... yes checking if compiler supports -R... no checking if compiler supports -Wl,-rpath,... yes checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking target system type... x86_64-unknown-linux-gnu /etc/php5/apache2/php.ini: line 2: [PHP]: command not found /etc/php5/apache2/php.ini: line 21: syntax error near unexpected token `;;' /etc/php5/apache2/php.ini: line 21: `;;;;;;;;;;;' /etc/php5/apache2/php.ini: line 2: [PHP]: command not found /etc/php5/apache2/php.ini: line 21: syntax error near unexpected token `;;' /etc/php5/apache2/php.ini: line 21: `;;;;;;;;;;;' configure: error: Cannot find php-config. Please use --with-php-config=PATH rider:~/eaccel/eaccelerator-0.9.5.3#
Change History
comment:2 Changed 6 months ago by sim
decoration Changed 1 year ago by admin
bathtub Changed 1 year ago by admin
solar system Changed 1 year ago by admin
stair parts Changed 1 year ago by admin
solar supply Changed 1 year ago by admin
--with-php-config is used to point your build to the *program* php-config, not the path to your php.ini. php-config is used by configure to check library/include paths etc of your php installation.