Hi, im trying to get php-4.3.6 running as cgi on apache-2.0.49. This is on a solaris 9 box.
I configured php as follows
in my virtual host section i have
When I try to go to a php page in the url
the server trys to fetch the file:
/u01/inet/users/cgi-bin/php/php/test.php
so the error_log_school says the file does not exist.
I know its to do with the Action directive but how else do I tell apache to use php to action .php requests?
Anyone else have a similiar problem.
------------------------------------------
Somethings come from nothing, nothing seems to come from somethings - SFA - Guerilla
roycrom
I configured php as follows
Code:
./configure --prefix=/usr/local/packages/php2
--with-pgsql=/usr/local/packages/postgresql
--with-gd=/usr/local/packages/gd
--with-png-dir=/usr/local/packages/libpng
--with-freetype-dir=/usr/local/packages/freetype
--with-zlib-dir=/usr/local/packages/zlib
--with-jpeg-dir=/usr/local/packages/jpeg
--with-imagick=/usr/local/packages/imagemagick
--with-ldap=/usr/local/packages/openldap
--with-pspell=/usr/local/packages/aspell
--enable-gd-native-ttf
--enable-sysvsem --enable-ftp
--enable-force-cgi-redirect
--enable-cgi
--disable-cli
--disable-pear
in my virtual host section i have
Code:
<VirtualHost xxx.xxx.xxx.xxx>
ServerAdmin webmaster@domain.com
DocumentRoot /u01/inet/users/school/docs
ServerName [URL unfurl="true"]www.school.domain.com[/URL]
AddType application/x-httpd-php .php
Action application/x-httpd-php /u01/inet/users/cgi-bin/php
<Directory "/u01/inet/users/school/docs">
Options +ExecCGI
</Directory>
ErrorLog /export/home/apache2/logs_2.0.49/error_log_school
</VirtualHost>
When I try to go to a php page in the url
the server trys to fetch the file:
/u01/inet/users/cgi-bin/php/php/test.php
so the error_log_school says the file does not exist.
I know its to do with the Action directive but how else do I tell apache to use php to action .php requests?
Anyone else have a similiar problem.
------------------------------------------
Somethings come from nothing, nothing seems to come from somethings - SFA - Guerilla
roycrom