Re: successful compiled, but errors at use
| From: | Andre Hübner | Date: | Thu, 24 Jan 2008 10:42:47 +0000 |
| Subject: | Re: successful compiled, but errors at use | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-18503@lists.php.net to get a copy of this message | ||
if someone is interessted. error was caused by php.ini for my php-cgi
i used an other php.ini and all was fine. size of the both inis is slighly differnet but i cant find any difference...
no idea, but now its working...
----- Original Message ----- From: "Andre Hübner" <Andre.Huebner@gmx.de>
To: <php-install@lists.php.net>
Sent: Tuesday, January 22, 2008 1:24 PM
Subject: [PHP-INSTALL] successful compiled, but errors at use
Hi List, my Situation is as follows. I use on suse 10.1 apache2 and php5 as modul and php5 as cgi using mod_fcgid For some tests i also want to have a php4 as second cgi I compiled with this configure-line: ./configure --prefix=/usr/ --datadir=/usr/share/php/ --bindir=/usr/bin/ --libdir=/usr/share/ --with-exec-dir=/usr/lib/php/bin/ \ --with-config-file-path=/etc/php4Cgi --with-config-file-scan-dir=/etc/php4-config --enable-force-cgi-redirect --enable-memory-limit \ --enable-sigchild --enable-track-vars --enable-trans-sid --with-mysql=no --enable-bcmath --enable-calendar --enable-ctype \ --enable-dbase --enable-exif --enable-filepro --enable-ftp --enable-magic-quotes --enable-mbstr-enc-trans --enable-mbstring \ --enable-shmop --enable-sysvsem --enable-sysvshm --enable-wddx --with-gettext --with-gmp --with-mcrypt --with-mcal=/usr/ \ --with-iconv --with-mcrypt --with-zlib --with-bz2 --with-openssl=/usr --with-pear --with-pcre-regex --enable-suhosin \ --with-config-file-path=/etc/php4Cgi --enable-discard-path --enable-fastcgi Compiling etc. was successful. After make i renamed sapi/cgi/php to php-4.4.8 and moved it to my location. In apacheconf i activated this php-4.4.8 to some file-extensions with AddHandler/Action The call itself seems to work, but i get an error from php itself if i want to parse a phpinfo(); Warning: Unexpected character in input: '' (ASCII=27) state=1 in /folders/php-4.4.8 on line 3600 Warning: Unexpected character in input: '' (ASCII=8) state=1 in /folders/php-4.4.8 on line 3600 Warning: Unexpected character in input: '' (ASCII=3) state=1 in /folders/php-4.4.8 on line 3600 Warning: Unexpected character in input: ' in /folders/php-4.4.8 on line 3600 Warning: Unexpected character in input: ' in /folders/php-4.4.8 on line 3600 Warning: Unexpected character in input: ' in /folders/php-4.4.8 on line 3600 Parse error: syntax error, unexpected T_STRING in /folders/php-4.4.8 on line 3600 But if i call this php-4.4.8 on console i can parse successful my files. What goes wrong? I have no idea what i id not correctly. Can anybody help please? Thanks Andre