I've installed PHP version 5.2.1 and I can't seem to get the modules to load properly. I have LoadModule php5_module modules/libphp5.so
AddType application/x-httpd-php .php .phtml
AddType application/x-httpd-php-source .phps
in my httpd.conf file.
I have copied the recommended php.ini file from the source to /etc/php.ini and have uncommented the include_path so that it looks like include_path = ".:/php/includes:/usr/local/php5/lib/php as I was instructed to do after I compiled and installed php.
If you want to see the error I'm encountering check snozle.com.
If you are running httpd as www:www than the owner of all files in htdocs should be www. If you copied you wordpress files as a regular user it is possible that the www user has no read rights. I've had this myself once therefore my question as the php_include looks correct.
well the permissions were correct, but your suggestion made me realize something that could be wrong, and it turned out to be the problem.
You mentioned that my "htdocs" folder should be www:www. I followed the instructions on richard5.net for my old server, this time I followed the instructions on DIYmacserver. The difference is that the web root is now /Library/WebServer/Documents, where it used to be /Library/Apache2/htdocs. This meant that some of my symlinks weren't working properly. I went in and changed them and now everything is up and running properly. Thanks for the help! Now, the next thing that I have to tackle is installing the mailserver components which seemed to elude me last time. Hopefully I can get it working properly this time.
16 Feb 2007
I've installed PHP version 5.2.1 and I can't seem to get the modules to load properly. I have
LoadModule php5_module modules/libphp5.soAddType application/x-httpd-php .php .phtml
AddType application/x-httpd-php-source .phps
in my httpd.conf file.
I have copied the recommended php.ini file from the source to /etc/php.ini and have uncommented the include_path so that it looks like
include_path = ".:/php/includes:/usr/local/php5/lib/phpas I was instructed to do after I compiled and installed php.If you want to see the error I'm encountering check snozle.com.
Thanks
16 Feb 2007
Just a quick question, are the rights on the file-system set correctly ? Is the web-server allowed to read the folder ?
16 Feb 2007
sorry, but what rights should I set on what file?
17 Feb 2007
If you are running httpd as www:www than the owner of all files in htdocs should be www. If you copied you wordpress files as a regular user it is possible that the www user has no read rights. I've had this myself once therefore my question as the php_include looks correct.
17 Feb 2007
well the permissions were correct, but your suggestion made me realize something that could be wrong, and it turned out to be the problem.
You mentioned that my "htdocs" folder should be www:www. I followed the instructions on richard5.net for my old server, this time I followed the instructions on DIYmacserver. The difference is that the web root is now
/Library/WebServer/Documents, where it used to be/Library/Apache2/htdocs. This meant that some of my symlinks weren't working properly. I went in and changed them and now everything is up and running properly. Thanks for the help! Now, the next thing that I have to tackle is installing the mailserver components which seemed to elude me last time. Hopefully I can get it working properly this time.