Click to See Complete Forum and Search --> : Need Help In Installing PHP as Module In Win98/ME


Anon
11-07-2000, 05:30 AM
Can anyone help me on how to install PHP as a module instead of a CGI executable in Win98/ME. This is because whenever I call a php script, it always add '/php/php.exe' in the browser and somehow it seems to mess with my JPG image files. It does this by parsing JPG files instead of displaying it. But when I remove the "php/php.exe' from the browser URL window, everything works fine.

Anyway, any help is appreciated, be it a script to remove 'php/php.exe' or whatever.

Another thing I notice is that when I call any file in the browser without the trailing slash, it always give me a 404 error message. Any way to work around this? Thanks again.

Anon
11-08-2000, 06:45 AM
I have PHP installed in my PC, running Windows 98, and everything work fine. I use it as a CGI, I use JPGs, and there is no problem.

How do you installed it ?

Anon
11-08-2000, 04:11 PM
Are you using $PHP_SELF, when you get the php/php.exe thing, use $PATH_INFO instead if this is the case.

Anon
11-08-2000, 08:06 PM
Do you have any experience using php4 on Win98 using a mysql database? I'm having problems using the mysql_connect function using 127.0.0.1 as my host. Any help would be appreciated.

Thanks

Anon
11-08-2000, 08:16 PM
You should probably use localhost do you have a record in the mysql.user table that allows the user to connect from 127.0.0.1? If not just connect to localhost

Anon
11-18-2000, 07:41 PM
Try setting your host to "localhost", that works fine for me =)