Hello bradgrafelman,
thank you for the clear explanation.
I thought dalecosp 's solution (adding the "AddType" in the httpd.conf file ) would be simple , but i was wrong.
since i'm using apache2, the file httpd.conf is almost empty.
Do i need to add the AddType in the apache2.conf instead?
when i installed the zend component, most of it was installed under /usr/local/zend.
So if i display a phpinfo() in the browser, most of it is reffering to that directory.(including the php.ini file). So i was wondering if adding the "AddType" to the configfile /etc/apache2/httpd.conf would have any effect?
i also found on the internet some sugestions to change something in /etc/apache2/mods-enabled/php5, but i do not know if this is correct , and what the relation is between all those files. I'm eager to learn though.
Btw, how do i find back which conf- files are used/loaded, and which are not ?
What did i start using php?:
I'm using ubuntu meerkat,
i started reading the O'reilly book (Learning php,mysql and javascript)
. It gave me small sample code.
I wanted to try it out, and installed PHP( via synaptic) and apache2(apt-get)
i tried those examples out , and put them under /var/www. That anoyed me after a while,
and i followed the instructions to be able to put my files where i want them (f.e. /home/Joeri/public_html/*
in the book they started talking about IDE's. I already had eclipse, so i installed eclipse PDT by downloading the plugin in eclipse.
when i started to experiment with the code, i found out that i made mistakes, and i had no possibility to check out what i was doing wrong. So i read a little on the internet, and found out you can use zenddebugger.
I tried to install the zenddebugger.so i found on the forum, but after installation, it told me the debugger was incompatible with the PHP5.3 i was using.
So i read a little more, and the solution was not available for free anymore it seems. The only compatible so-files seems to be in the full zend-package. So i followed the advice on the forum of zend, and installed the whole thing.
The scary thing about this installation was, that it mentioned there were some conflicts, and it needed to remove some files (like php-mod).I agreed to remove those files to be able to continue.( i noted down which files, in case i needed to reinstall them again :-) )
After the installation of the zendprogram, i noticed that the output of the phpinfo() function did not gave me the same information back. (before the installation, the php.ini and other files were taken from the php directory, and after installation everything in the output was pointing to /usr/local/zend). I don't know how that got changed. I was happy it still worked.
Although i'm not pleased to work like that, because i notice i lose control over my system , and once my system get's messed up too much ,the only thing i can do(with my limited knowledge), is reinstall Ubuntu and start over again.