Forum Moderators: phranque
I've got the following lines added to my httpd.conf file (apache 2,0,52):
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
I've installed php 5,0,4 on my osx
If I set the first line to: AddType application/x-httpd-php .php
- the browser thinks the php page is a program and tries to download it.
If I set the first line to: AddType application/x-httpd-php .php5
- the browser thinks the code in the page is just text .. for example if I put the following php code in my page; <?php phpinfo();?>.
What am I doing wrong?
I'm struggling for two days now ...
Because it didn't solve my problem ...
And now I'm back again. Apache 1,3/ php 5,1,2 and I don't see any blob uploads put of my mysql database and when i try a different script, to upload files to a directory, it doesn't upload.
I don't know what to do anymore. I had the same scripts running on a windows machine and it all worked fine. But something, some configuration isn't set right.
At a loss. Can you give me a tip?