successful compiled, but errors at use

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux