I'm having a problem running a simple printer friendly script written in
PHP. I'm not sure whether the problem is with apache 1.3 or with the
scripts. I updated apache's config file httpd.conf to include the
directives for running PHP as a loaded module and as CGI as noted in the
documentation at php.net
# Add to the end of the LoadModule section
LoadModule php4_module "c:/php/sapi/php4apache.dll"
# Add to the end of the AddModule section
AddModule mod_php4.c
I did both and Apache doesn't like it. It can't compile it. It says that
the php4apache.dll cannot be loaded because it cannot be found.
I have adjusted the windows directory conventions to include forward
slashes and such but no luck.
I'm running XP with IIS off (naturally of course) and apache 1.3. Apache
works nicely on the XP. But I can't seem to get a simple php file to
work. Where do you think is the problem?
PHP. I'm not sure whether the problem is with apache 1.3 or with the
scripts. I updated apache's config file httpd.conf to include the
directives for running PHP as a loaded module and as CGI as noted in the
documentation at php.net
# Add to the end of the LoadModule section
LoadModule php4_module "c:/php/sapi/php4apache.dll"
# Add to the end of the AddModule section
AddModule mod_php4.c
I did both and Apache doesn't like it. It can't compile it. It says that
the php4apache.dll cannot be loaded because it cannot be found.
I have adjusted the windows directory conventions to include forward
slashes and such but no luck.
I'm running XP with IIS off (naturally of course) and apache 1.3. Apache
works nicely on the XP. But I can't seem to get a simple php file to
work. Where do you think is the problem?
Comment