i am trying to get the cgi version of php 4.3.4 to work and all i am getting is "No input file specified. " i have tried changing every config thing in the php.ini file that relates to cgi and i have tried changing some of the stuff in the apache config file but absolutely works, so far after hours of work all i have gotten to work is /cgi-bin/php/path/to/file after i took --enable-force-cgi-redirect out of the configure command

the configure command i am using is:
./configure -with-mysql --with-bz2 --with-gd --enable-ftp --with-mysql-sock --with-ttf --with-freetype-dir --with-t1lib --enable-calendar --with-jpeg-dir=/usr/local/lib --with-png-dir=/usr/local/lib --with-zlib-dir=/usr/local/lib --with-regex=system --enable-dbase --enable-dbx --enable-versioning


the apache config stuff i have is:
AddHandler php-cgi .phtml
Action  php-cgi "/cgi-bin/php"

i have tried using AddType too and that doesn't work

i have also changed apache to use /cgi-bin/test-cgi (comes with apache) and it displays the path to the file correctly so i know php is getting the right path to the file

oh, i'm using Apache 2.0.48, PHP 4.3.4, Slackware 9

so dose anyone here have any clue as to how to get this to work? i am desperate and CGI is the only way to go because it is impossible to use php as a module with apache 2 and use the system regex witch i need

Thanks in advanced

Reply via email to