BuildSmart <buildsmart <at> daleenterprise.com> writes:
> > By your pseudo-name you give the impression that you know something about Mac OS X which also implies you know a little more than the basics but ask a question that is extremely basic and expected from someone who is wet behind the ears. > > You have two issues, the php apache module you're loading is from the older 5.1.6 branch and your php.ini is trying to load php modules from the 5.2.5 build. > > OLD PHP EXTENSION DIRECTORY: > /usr/lib/php/extensions/no-debug-non-zts-20050922 > > NEW PHP EXTENSION DIRECTORY > /usr/lib/php/extensions/no-debug-non-zts-20060613 > > This leave you with 2 options, load the newer apache php module or change your php.ini to point to the OLD PHP EXTENSION DIRECTORY. > Thanks for reply. My nick is just a nick. I chose it because almost all nicks are not available on big forums (some forums have already guys registered with my nick). :) Dale, I do not have old PHP directory. THis directory doesn't exist: /usr/lib/php/extensions/no-debug-non-zts-20050922 I didn't understand what you mean under "load new module". Did you mean I should remove Apache and install fresh version? > You should be able to locate the new module you built by looking in the php source directory that you built in, then look in your apache module directory for a file of the same name and date. I can see "modules" directory inside PHP source directory, but there is no any files there. > One issue that occurs a lot in linux is that the module defined in the httpd.conf file isn't stored in the apache module directory so look and see where it's loading this module from and either copy the new one or point the path to the new module. > -- Dale I've changed path to: LoadModule php5_module /usr/src/php-5.2.3/libs/libphp5.so But it doesn't work. :( HTML works fine, but PHP displayed as simple text (PHP source code). Did I everything right?