I have the same files on another server that I have uploaded them to and it works fine on that server. I have made no changes so why isn’t it working on my computer? I am looping it back by using 127.0.0.1 for an address. It is something that I must not have quite right but I haven’t figured it out yet. Any help will be greatly appreciated. TIA
Server running/PHP running/won't process
Moderator: General Moderators
Server running/PHP running/won't process
I have Apache 1.3.27 with PHP4 running as a module not cgi. In the server it says Apache/1.3.27 PHP/4.2.3 running. The problem is that the php isn’t working. It will display the html with no problem but it won’t process the php even though it says php is running. As far as I can tell I have it configured right but there might be something that I am over looking.
I have the same files on another server that I have uploaded them to and it works fine on that server. I have made no changes so why isn’t it working on my computer? I am looping it back by using 127.0.0.1 for an address. It is something that I must not have quite right but I haven’t figured it out yet. Any help will be greatly appreciated. TIA

I have the same files on another server that I have uploaded them to and it works fine on that server. I have made no changes so why isn’t it working on my computer? I am looping it back by using 127.0.0.1 for an address. It is something that I must not have quite right but I haven’t figured it out yet. Any help will be greatly appreciated. TIA
hmmm,
so the simple scriptdoesn't work either?
so the simple script
Code: Select all
<?php phpinfo(); ?>RE: Volka
if you have server-info (mod_info) enabled, do you have a section Quote:
Module Name: mod_php4.c
Content handlers: application/x-httpd-php , application/x-httpd-php-source , text/html
Are you talking about this section in the httpd config file? You can tell like I'm really, really new to this.
# AddType allows you to tweak mime.types without actually editing it, or to
# make certain files to be certain types.
#
AddType application/x-tar .tgz
AddType image/x-icon .ico
AddType application/x-httpd-php .php .phtml
If you are this is what mine looks like.
if <?php phpinfo() ?> works your php installation works and I'm even more convienced that your problem is related to the short tags. What does phpinfo() say about short_open_tag?
Other possibility is that the script causes an error (maybe a missing module). Is there an entry in the error.log of apache?
Other possibility is that the script causes an error (maybe a missing module). Is there an entry in the error.log of apache?
- twigletmac
- Her Royal Site Adminness
- Posts: 5371
- Joined: Tue Apr 23, 2002 2:21 am
- Location: Essex, UK