For Programmers: Free Programming Magazines  


Home > Archive > PHP Installation > April 2004 > install help. (hosting server)









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author install help. (hosting server)
Nikolai Zujev

2004-04-14, 11:35 am

Hello.

I want to set hosting server at home.
but I have troubles with PHP setup.

I want to set it up in CGI mode, so script runs under user rights.

I've rearched over Inet this inforation but could not find clean answer.

today I'v compiled php 4.3.5 set as CGI mode but have error message

[clip]

Warning: Unexpected character in input: '' (ASCII=15) state=1 in
/var/www/cgi-bin/php.cgi on line 5725

Warning: Unexpected character in input: ' in /var/www/cgi-bin/php.cgi on
line 5725

Parse error: parse error, unexpected T_STRING in
/var/www/cgi-bin/php.cgi on line 5725

[/clip]

PHP was compiled with parameters:

[clip]
../configure --disable-debug --disable-rpath --enable-bcmath
--enable-bcmath --enable-calendar --enable-cgi --enable-dbx --enable-dio
--enable-exif --enable-force-cgi-redirect --enable-ftp
--enable-gd-native-ttf --enable-inline-optimization
--enable-magic-quotes --enable-mbregex --enable-mbstr-enc-trans
--enable-mbstring --enable-mcal --enable-memory-limit --enable-pic
--enable-sockets --enable-sysvsem --enable-sysvshm --enable-track-vars
--enable-trans-sid --enable-wddx --enable-yp --prefix=/usr --with-bz2
--with-config-file-path=/etc --with-config-file-scan-dir=/etc/php.d
--with-curl --with-db4=/usr --with-dom-exslt=/usr --with-dom-xslt=/usr
--with-dom=/usr --with-exec-dir=/usr/bin --with-expat-dir=/usr
--with-freetype-dir=/usr --with-gd --with-gdbm --with-gettext --with-gmp
--with-iconv --with-imap --with-imap-ssl --with-jpeg-dir=/usr
--with-kerberos --with-layout=GNU --with-ldap --with-mysql=/usr
--with-ncurses --with-openssl --with-pcre=/usr --with-png
--with-png-dir=/usr --with-pspell --with-regex=system --with-xml
--with-xmlrpc --with-zlib --with-zlib-dir=/usr --without-oci8 --without-pear
[/clip]

Need real help.

or working and stable method of PHP installation as CGI to hosting server.

Thank You.

--
Nikolai Zujev
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com