Forums
This topic is locked
php.exe
Posted 10 Feb 2002 14:30:24
1
has voted
10 Feb 2002 14:30:24 enquest enquest1 posted:
I was wondering why it is that in the url php.exe comes. I also notice when the webpages are very slow rendered with the php.exe in the url. How can I avoid this php.exe Because once its there it stays.
Just learning
Replies
Replied 10 Feb 2002 15:06:29
10 Feb 2002 15:06:29 Bruno Mairlot replied:
If you're talking about a php.exe, then you should probably be running under Win32...
If you see the php.exe in your URL, then, your server is probably misconfigured...
I assume you're running Apache and not IIS...
Check your httpd.conf file. To get PHP to run .php files, you should have the following on the main level :
<pre id=code><font face=courier size=2 id=code>
ScriptAlias /php/ "C:/Program Files/Apache Group/PHP/"
AddType application/x-httpd-php .php
Action application/x-httpd-php "/php/php.exe"
</font id=code></pre id=code>
Check, if you have these lines in your file, and make sure that they are correct, according to the directory where you installed PHP <img src=../images/dmxzone/forum/icon_smile_wink.gif border=0 align=middle>
Then, you shouldn't have to see php.exe in your url
Bruno
--- Better to die trying, than never try at all ---
If you see the php.exe in your URL, then, your server is probably misconfigured...
I assume you're running Apache and not IIS...
Check your httpd.conf file. To get PHP to run .php files, you should have the following on the main level :
<pre id=code><font face=courier size=2 id=code>
ScriptAlias /php/ "C:/Program Files/Apache Group/PHP/"
AddType application/x-httpd-php .php
Action application/x-httpd-php "/php/php.exe"
</font id=code></pre id=code>
Check, if you have these lines in your file, and make sure that they are correct, according to the directory where you installed PHP <img src=../images/dmxzone/forum/icon_smile_wink.gif border=0 align=middle>
Then, you shouldn't have to see php.exe in your url
Bruno
--- Better to die trying, than never try at all ---