Hi,<br>I am new on everything about web development. I did many things to get the error at the end. <br>My system has Apache 1.3 by default. I could install Apache 2.2 with no problem. I had to change all binaries in /usr/bin and /usr/sbin to new apache binaries. All ok. System came with python 2.3.1. I removed everything related to 2.3.1 and installed python 2.5.1. <br>
Then compiled mod_python successfully with parameters: ./configure --apxs=/usr/sbin/apxs --python=/usr/bin/python<br>make<br>sudo make install<br>sudo make install_dso<br>$ python -V<br>Python 2.5.1<br>$ strings /usr/local/apache2/modules/mod_python.so =><br>
python_init<br>mod_python/3.3.1<br>2.5.1<br>$ env |grep PATH<br>PATH=/Library/Frameworks/Python.framework/Versions/Current/bin:/bin:/sbin:/usr/bin:/usr/sbin<br><br>$ sudo apachectl start<br>httpd: Syntax error on line 54 of /usr/local/apache2/conf/httpd.conf: Cannot load /usr/local/apache2/modules/mod_python.so into server: Library not loaded: /System/Library/Frameworks/Python.framework/Versions/2.3/Python\n  Referenced from: /usr/local/apache2/modules/mod_python.so\n  Reason: image not found<br>
/usr/sbin/apachectl start: httpd could not be started<br><br><br>How is it possible that LoadModule still seek at path Versions/2.3 ?<br><br>Regards,<br>Deniz<br><br>