Problem installing php5
simon at ruderich.com
Tue Jun 19 09:33:41 PDT 2007
-----BEGIN PGP SIGNED MESSAGE-----
I'm trying to install php5. First I installed "apache" and then "php5
+apache +pear". But this doesn't work. After doing all the given steps
If this is your first install, you might want
* enable php in apache :
/opt/local/apache/bin/apxs -a -e -n "php5" libphp5.so
* copy /opt/local/etc/php.ini-dist to /opt/local/etc/php.ini
I get a warning from apache when I try to use "sudo apachectl start"
Syntax error on line 237 of /opt/local/etc/apache/httpd.conf:
API module structure `php5_module' in file
/opt/local/libexec/apache/libphp5.so is garbled - perhaps this is not an
Apache module DSO?
/opt/local/sbin/apachectl start: httpd could not be started
What am I doing wrong?
But I noticed something which could be a problem. In the install
instructions (I posted them at the top) it says I should use this path
for apxs: /opt/local/apache/bin/apxs, but apxs is in /opt/local/sbin/apxs.
Thanks for your help,
+ privacy is necessary
+ using http://gnupg.org
+ public key id: 0x6115F804EFB33229
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)
-----END PGP SIGNATURE-----
More information about the macports-users